News for hackers. Stuff that matters.
Re:Making any integer with four 2s (2025) by genter on Saturday November 07, 2026 @06:59PM (#50409216)
Are you allowed to brute force it?
Re:Making any integer with four 2s (2025) by argee on Saturday November 07, 2026 @08:16PM (#50409649)
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.
Re:Making any integer with four 2s (2025) by twoodfin on Sunday November 08, 2026 @08:23AM (#50413092)
Given the problems ITA solved, thinking about the question that way makes perfect sense.
Re:Making any integer with four 2s (2025) by dooglius on Saturday November 07, 2026 @11:59PM (#50410524)
Figuring that out is presumably part of the interview (and would depend on N)