Pregunta de entrevista de think-cell

Solving a few DSA/C++ knowledge problems