BookWater interview question

basic coding, problem solving and communication