alice number card want rearrange card group group size groupsize consist groupsize consecutive cardsGiven integer array hand handi value write ith card integer groupsize return true rearrange card false example 1input hand 123623478 groupsize 3output trueexplanation alice hand rearrange 123234678example 2input hand 12345 groupsize 4output falseexplanation alice hand rearrange group 4 Constraints1 handlength 1040 handi 1091 groupsize handlength note this question 1296 httpsleetcodecomproblemsdividearrayinsetsofkconsecutivenumber