Pregunta de entrevista de HyperVerge

Questions from online coding round which was easy-medium