Low Level Design, Object Oriented, Graph Data Structure, Hashmap, Interview Questions.
creating additional data structures to do some precomputations. For e.g. instead of returning the products in a category in O(N) time by keeping them in sorted sets, we can also keep them in unordered lists and at the time of query we sort the list based on product price with a time complexity of