Accenture interview question

Few coding puzzles.

Interview Answer

Anonymous

24 Feb 2020

Explained the logic