
Given an array of integers nums and a positive integer k , check whether it is possible to divide this array into sets of k consecutive numbers.
Return true if it is possible . Otherwise, return false .
1 <= k <= nums.length <= 10 ^51 <= nums[i] <= 10 ^9Note: This question is the same as 846: https://leetcode.com/problems/hand-of-straights/