Notes

If sorted array is there -> 2 pointer

To find Subarray sum -> Prefix Sum

To find Subarray multiply -> Prefix Multiply

Whenever subarray comes -> 2 pointer OR sliding window should come to mind.

Keywords: Subarray, Product<k -> Sliding Window

Last updated