Capgemini Interview Question

DSA Algorithm linear and stacks and vector