Ezvor

3450. Maximum Students on a Single Bench

EasyArray Preparing judge… LeetCode
ArrayHash Table

Hints

Hint 1
Use a hash table (or dictionary) to group students by their bench ID.