Loading...
Is this your company?
Why I used a certain algorithm to answer the question and what edge cases it would fail in?
Anonymous
I gave a time and space complexity analysis and described edge cases where it would fail
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.