PRDXN interview question

My self