Aha! Interview Question

How to solve this technical problem?

Interview Answer

Anonymous

Apr 16, 2020

1 brute force method, one with more repetition but also elegant