Hand of Straights (#846)
Alice has some number of cards and she wants to rearrange the cards into groups of groupSize consecutive cards.
Given an integer array hand where hand[i] is the value written on the i-th card and an integer groupSize, return true if she can rearrange the cards, or false otherwise.
Company Tags: Amazon
Core Concept: Greedy Algorithm, HashMap, Sorting/Heap