NITIN23329 / LeetCode

This repo contains several problems solved at leetcode
MIT License
1 stars 0 forks source link

solve problem #12

Closed NITIN23329 closed 3 years ago

NITIN23329 commented 3 years ago

Topic : stack https://leetcode.com/problems/largest-rectangle-in-histogram/

NITIN23329 commented 3 years ago

Similar problem : https://leetcode.com/problems/maximal-rectangle/

NITIN23329 commented 3 years ago

Topic : stack https://leetcode.com/problems/largest-rectangle-in-histogram/

Solved : https://github.com/NITIN23329/LeetCode/blob/3e83c93ee33713963f31996ade93728add9a88ea/Stack/LargestRectangleInHistogram.java#L1

NITIN23329 commented 3 years ago

Similar problem : https://leetcode.com/problems/maximal-rectangle/

Solved: https://github.com/NITIN23329/LeetCode/blob/fd6f74f47bb1930aea1e840fe65ea5bfe4a02077/Stack/MaximalRectangle.java#L1