Flexible Finance interview question

System design, Live coding, Troubleshoot