selecting from many options with switch statements

Solutions on MaxInterview for selecting from many options with switch statements by the best coders in the world