I had an interview recently with a well known auto-related company(that's all
I'm gonna say !). I thought I would share the problem that I faced, how I solved
it during the interview, and another simpler solution I found while up solving
afterwards.
The Problem
Given