Roanuz interview question

In coding round 1. 3Sum problem 2.largest rectangle in histogram