Surya Software 16th July Coding Challenge

Anyone who could solve all three questions in 16th July Surya Software online coding round? If you solved all three then in how much time?