Several-Coding-Patterns-for-Solving-Data-Structures-and-Algorithms-Problems-during-Interviews
Several-Coding-Patterns-for-Solving-Data-Structures-and-Algorithms-Problems-during-Interviews copied to clipboard
[Incorrect solution] SliddingWindows -> Subarrays with Product Less than a Target (medium)
The output of the JS implementation gives duplicated solutions.
Input: findSubarrays([2, 5, 3, 10], 30) Output: [ [ 2 ], [ 2, 5 ], [ 2, 5 ], [ 5, 3 ], [ 5, 3 ], [ 10 ] ]
Amazing repo, btw! Thank you very much for sharing this content.