Hacker News new | past | comments | ask | show | jobs | submit login

If the nodes have parent pointers, everything is paying extra O(n) space.



Space is already O(n)




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

Search: