Pregunta de entrevista de Walmart

some iOS domain questions and a coding problem about whether a singer can sing in a range.