Re:The Problems with Live Coding Interviews
by Freire_Herval on Tuesday April 25, 2023 @02:55PM
(#35705009)
I forgot to mention, BFS requires a queue. So if the graph is size N and with one root node and all the rest of the nodes as children that queue will go up to size N. So your solution doesn't actually get away from the memory issue at all.
[ Parent
| on HN ]
There are no comments on this comment yet.