Barclays Java July 2017 Test My quick solutions to copy and paste If you in preparatory phase, try to optimize Please check the comments inside the code