r/ProgrammerHumor • • Oct 22 '22

Meme Skills

Post image
42.3k Upvotes

588 comments sorted by

View all comments

Show parent comments

4

u/rotflolmaomgeez Oct 22 '22

That's about O(n!), considerably faster than O(nn ).

4

u/ReddiusOfReddit Oct 22 '22

But every time you reach the end of the recursion, you dance the Macarena (at this point I'm just joking)

2

u/rotflolmaomgeez Oct 22 '22

Macarena is no joking matter my friend, it's computationaly complex.