JPMorganChase interview question

Code for Good Hackathon instead of regular interview