IBM Interview Question

related to operating systems and data structures algorithms, little bit if c/c++