Lief interview question

about the programming fundamentals and sorting