give array integer num positive integer k check possible divide array set k consecutive numbersreturn true possible Otherwise return false Example 1input num 12334456 k 4Output trueExplanation Array divide 1234 3456example 2input num 32123434591011 k 3output trueExplanation Array divide 123 234 345 91011example 3input num 1234 k 3output falseexplanation each array divide subarray size 3 Constraints1 k numslength 1051 numsi 109 note this question 846 httpsleetcodecomproblemshandofstraight