Pregunta de entrevista de MountBlue Technologies

2 coding question for technical aspect