Rivian Interview Question

Leetcode Hard (more medium if you ask me) hashmap based question