GoBOLT interview question

Case study related to RCA