QualityPPL interview question

Solve this hackerrank problem

Interview Answer

Anonymous

6 May 2019

I didn't get to because they ended the interview