Mitsogo interview question

techinical round based on data structures