GX Bank interview question

Live coding and system design