Qualcomm interview question

Write a C problem to solve a problem statement given

Interview Answer

Anonymous

Dec 16, 2017

First devised an algorithm and later converted that to a code