Largest Rectangle in Histogram, max binary tree depth, min binary tree depth, valid bst.