You are viewing a single comment's thread. Return to all comments →
Test cases are wrong. e.g. For input array [4 6 5 3 3 1] it is saying expected subarray length is 3.
Can owner specify which 3 elements have difference less than or equal to 1.
Seems like cookies are disabled on this browser, please enable them to open this website
Picking Numbers
You are viewing a single comment's thread. Return to all comments →
Test cases are wrong. e.g. For input array [4 6 5 3 3 1] it is saying expected subarray length is 3.
Can owner specify which 3 elements have difference less than or equal to 1.