Pregunta de entrevista de Global Software Resources

switch with inner switch with flag =-1