Freshers.com Interview Question

about data structures and pseudo alogithms