Comment by jedberg
5 years ago
If you're really cool, you make it throw an error if n > 50 along with a comment explaining why, or at the very least leave a comment saying "this is not the optimal algorithm and will break if N gets much bigger than 50".
No comments yet
Contribute on Hacker News ↗