Fidia interview question

Small logic problem.

Interview Answer

Anonymous

7 Jun 2017

I've written a solution with some cycles in c language on a piece of paper.