Pregunta de entrevista de OneDirect (India)

Simple implementation questions in coding round