▲
Hacker News
new
|
best
|
ask
|
show
|
jobs
points by
genter
6 hours ago | 0 comments
Are you allowed to brute force it?
[–]
dooglius
1 hour ago
Figuring that out is presumably part of the interview (and would depend on N)
[–]
argee
5 hours ago
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.
[–] dooglius 1 hour ago