News for hackers. Stuff that matters.
Re:Data Structures Reference by mianos on Friday June 29, 2018 @09:32PM (#17429027)
Same, in an interview a few months I got a graph one which I did OK in. Then I got asked to write an algorithm to determine if it is acyclic on not. I could remember the visitation flag but I could not remember, of the top of my head, which side of the recursive call it was on. I picked the later side and obviously failed as I didn't get any offer, although that was more likely due to my age. I dodged a bullet in the end.
Re:Data Structures Reference by ummonk on Saturday June 30, 2018 @11:28AM (#17431162)
Why would you have to remember that to solve it? This is the kind of thing I definitely wouldn't already know, but should be able to reason through.