3 ms·
What do you do when Google doesn’t have a good answer? The point is I can easily fill an hour applying different debugging and learning techniques that have a
by erikpukinskis 7y ago
What do you do when Google doesn’t have a good answer?
The point is I can easily fill an hour applying different debugging and learning techniques that have a chance at getting me unstuck. That’s one of the things that makes me a good programmer.
- usaar333 7y agoRealistically, you'd walk the list with a visited set and validate you didn't visit a node twice. This would solve your problem in any realistic use case and you'd never even recognize a constant space solution was possible.