interview question - code-sudal