Alice has a hand of cards and wants to rearrange them into groups of exactly k consecutive cards. Return true if she can.
Input
kOutput: true or false.
1 2 3 6 2 3 4 7 8 3
true
[1,2,3] [2,3,4] [6,7,8].
1 2 3 4 5 4
false
5 cards can't split into groups of 4.
Run your code against the sample tests, or Submit to run the full suite.