With some helpful nudges you should be able to do a simple BFS. Still, not a very fruitful interview question, IMO.<p>What&#x27;s bugging me about the author is that he dismisses everything that doesn&#x27;t have direct relevance to the position.<p>Projects get finished and you still want to work there. Projects get reshuffled and you&#x27;re placed elsewhere. Your role in the organization changes.<p>If an interviewee showed such a myopic view of his future work I wouldn&#x27;t be thrilled. He basically says &quot;let me show you that I&#x27;m a one-trick pony&quot;, while the interviewer tries to ascertain his capabilities across several potential jobs.