#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…