Mphasis interview question

Writing Pseudo Code for a tech algorithm