Tech Mahindra Interview Question

Questions were asked on data structures and from my branch (Electronics).