Pregunta de entrevista de Confianz Global

Oops concepts and also a pseudocode based qn