Infosys Interview Question

basic, comp science questions such as DSA