3 conditions for a while loop c 2b 2b

Solutions on MaxInterview for 3 conditions for a while loop c 2b 2b by the best coders in the world