Pregunta de entrevista de Sacumen

3 coding question and question on oops concept