Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 842 Bytes

9. You are given an array of non-negative integers representing height of walls at index i as Ai and the width of each block is 1. Compute how much air can be encapsulated between the walls of chamber.

File metadata and controls

39 lines (25 loc) · 842 Bytes