Macquarie Group Interview Question

Technical and Behavioral. Coding challenge in round one