HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by genter | Hacker News Reader
Parent
Full thread
genter
·
Are you allowed to brute force it?
View on HN
argee
·
That's how you do it right? It's a BFS with 4 being the max depth, and you print whatever numbers in the problem set which you didn't find.
twoodfin
·
Given the problems ITA solved, thinking about the question that way makes perfect sense.
dooglius
·
Figuring that out is presumably part of the interview (and would depend on N)
Reply on news.ycombinator.com