# 19 left to right to left get best

L412 Candy (135) - Greedy

[L363 Trapping Rain Water](two-pointers-other/42-trapping-rain-water) (42)

[L151 Best Time to Buy and Sell Stock III](stocks/l151-best-time-to-buy-and-sell-stock-iii)

[L50 Product of Array Exclude itself](19-left-to-right-to-left-get-best/l50-product-of-array-exclude-itself) (238)

[L45 Maximum Subarray Difference](max-subarrays/l45-maximum-subarray-difference)

[L42 Maximum Subarray II](max-subarrays/l42-maximum-subarray-ii)

[821 Shortest Distance to a Character](string/821-shortest-distance-to-a-character)

[542 01 Matrix](graph/542-01-matrix)

[1477 Find Two Non-overlapping Sub-arrays Each With Target Sum](max-subarrays/1477-find-two-non-overlapping-sub-arrays-each-with-target-sum)
