Leetcode Hashmap Based Problems With Bowel Elimination Definition