April 19, 2016
I came across an interesting interview question recently. I’ll tell you the question shortly. What made it interesting was that the same question was given to all candidates, and they were timed in getting a solution; candidates with shorter times were given higher scores than candidates with longer times.
Your task is to write the requested program, which you can access HERE after you are set up for timing.