AlgoMaster Logo

Continuous Subarrays

nums=[5, 4, 2, 4]
0 / 23
algomaster.io
Step:Start: try every start index and stretch it while max - min stays within 2