10

When you figured out the algorithm, but it's O(n^n)

Comments
  • 0
    @alwaysmpe i was parsing dot notation for multiple entries, `n` entries for `n` nested dots...

    but yeah, I tried to do that asap since that's not part of the scope, but an enhancement for some class that I wanted to do for my mental sanity and readability; but that complexity is shit LOL
  • -1
    @alwaysmpe N~2 algorithms are quite easy to write. It's just one for loop within another.
  • 0
    @alwaysmpe Oh yes, you're right. My bad, it's n^2 as you say.
  • 0
    I stand corrected, yes, didn't read that correctly.
Add Comment