Mastering Priority System Design
In the recent few days the daily leetcode questions were from the topic of Priority Queue where we were needed to arrange elements in a particular order it may time, rating or let's day price why not
With decent practice of Priority Queue, I tried to solve these question on the first of this pattern the question challenged me
2353. Design a Food Rating System
This question made me open to the world of System Design which is mainly asked in the Big Tech Giants Interviews so its important to master it if someone like me is thriving for these big tech giants. By this question i came across the concept of Lazy Deletion where we dont dont deleted exact element but delete the top element if it is one of the element that has to be deleted by keeping a memory using Hashset.
3408. Design Task Manager
This was the question where i applied concept of Lazy Deletion and that too in more advance form by keeping track of 3 different cases when a element shall be deleted which made me more confident in this pattern of question.
After practicing these question I have gain immense confidence in this Pattern of questions and will suggest anyone who want to gain command over the Priority System Design to solve these two questions and deeply read them to become better then what they were.


