python-ds
python-ds copied to clipboard
corrected an critical bug
Description
changes prods[i] to arr[i] in the left subarray . so that the temp variables value are correctly found out
Fixes # (issue)
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
Checklist:
- [x] My code follows the style guidelines of this project i.e. Pep8
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream modules
- [x] I have squashed unnecessary commits