any bar can store water upto minimum of its adjacent bar heights.is it correct?
Need a little help
@Shadow_Flash bars will store minimum of leftmost highest bar and rightmost highest bars for each bar.
any bar can store water upto minimum of its adjacent bar heights.is it correct?
@Shadow_Flash bars will store minimum of leftmost highest bar and rightmost highest bars for each bar.