logoalt Hacker News

genter • yesterday at 11:59 PM • 2 replies • view on HN

Are you allowed to brute force it?


Replies

dooglius • today at 4:59 AM

Figuring that out is presumably part of the interview (and would depend on N)

argee • today at 1:16 AM

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.