Hand of Straights
Difficulty: Medium
Given an array of integers and a group size, determine if the array can be rearranged into groups where each group consists of consecutive integers of the given size.
Difficulty: Medium
Given an array of integers and a group size, determine if the array can be rearranged into groups where each group consists of consecutive integers of the given size.