Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I still draw a blank when asked what the magnitude of complexity is for the guests function I just wrote (damnit, of course calculating the permutations of a list is n-squared, but this is an interrogation of the random trivia I can manage to recall and I feel like a deer in the headlights).

Is this not n-factorial ?






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: