Pregunta de entrevista de LTM Limited

basic coding problems about any language