I first encountered the problem here. Dividing into halves doesn't work here because the minimum problem size is > 2 (4 in this case).
Questions:
- Can it be made to work by doing halfsies?
- If not, how to divide the problem then?
https://leetcode.com/submissions/detail/740514206/
I first encountered the problem here. Dividing into halves doesn't work here because the minimum problem size is > 2 (4 in this case).
Questions:
https://leetcode.com/submissions/detail/740514206/