Hacker News new | ask | show | jobs
by anameaname 3125 days ago
Some of these answers are not great, and wouldn't stand up to interview scrutiny. For example, the "Check if linked list is palindrome or not" problem says copying the list would be too expensive. The proposed answer (recursion) some how avoids this.

The solution is technically right, but it's making a copy of the list too. The intuition is wrong.