codemistic / Data-Structures-and-Algorithms

A repository to help the open-source community with DSA related contributions
MIT License
381 stars 351 forks source link

added code for subarray-product (sliding window) #740

Closed hecker1002 closed 10 months ago

hecker1002 commented 1 year ago

Hi Panel !

I have added a New Algorithm File to find No. of Valid Subarrays for a given Array whose product is less than a given number K (under Sliding Window Algo) and all inputs are being taken from the user itself . and I have also made the code self-explanatory as much as possible .

Reference Quesn on Leetcode - https://leetcode.com/problems/subarray-product-less-than-k/

hecker1002 commented 1 year ago

Please respond !