Phenom interview question

sorting hash maps arrays heaps ml basics