Goldman Sachs Interview Question

Time Complexity of a solution that I provided.

Interview Answer

Anonymous

Jun 9, 2014

I don't remember exact problem. But it can be solved in recursive manner.