Member-only story
#OneYearCodingPlan: HashSet, Hashmap, and Graphs
#OneYearCodingPlan : Month 5 & 6
In this article, we’ll discuss Hashmaps, HashSets, and Graphs for coding interviews.
HashSet and HashMap
If you ask me about my favorite data structure, it’d be a HashMap. It also has to be the most used data structure for me in coding interviews, especially because it’s very easy to implement. I also solve dynamic programming problems with hashmaps instead when I cannot figure out the DP solution, and end up with reasonable solutions several times.

Timeline:
Format, syntax, and design— 1 week
Easy, Medium, and Hard questions — 1 week each
Understanding the data structure and its usage
Understanding how it works beneath the hood
Solve these two, they make great easy level design questions as well: Designing a HashSet and a HashMap
Problem Solving
These questions can be a part of technical trivia type questions.
For coding round prep, start with easy questions, and slowly upgrade to…