You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a hashmap with key as group size and value as vector indexes with that group size. Then loop through the hashmap and keep adding them 'n' number at a time in the output vector, n being the key of the hashmap