Optiver interview question

It was an OA from HackerRank

Interview Answer

Anonymous

9 Oct 2024

I was not able to solve it