Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 4 months agoBrace Stylesh.itjust.worksimagemessage-square157fedilinkarrow-up11.32Karrow-down114
arrow-up11.3Karrow-down1imageBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 4 months agomessage-square157fedilink
minus-squaremagic_lobster_party@kbin.runlinkfedilinkarrow-up15arrow-down1·edit-24 months agoI’m more concerned about that poor stack with all those recursions. It’s also O(n^2) O(n!). I’m not sure what they’re trying to do, but I’m sure it can be done in O(n) (or at least polynomial). Reject.
I’m more concerned about that poor stack with all those recursions.
It’s also
O(n^2)O(n!). I’m not sure what they’re trying to do, but I’m sure it can be done in O(n) (or at least polynomial).Reject.