Infosys interview question

basic, comp science questions such as DSA