Low Level Design, Object Oriented, Graph Data Structure, Hashmap, Interview Questions.
a product we must also remember to update the two new hash maps. Now think of adding 10 more entities to the problem. Similarly, when we update the price or other attributes of a product, we must also take care of the hash maps that uses product as a key. How would you update your code to handle