yash dhingraUnderstand Bit Manipulation in one shot!Bit manipulation is the act of algorithmically manipulating bits or other pieces of data shorter than a word. Computer programming tasks…May 10, 2023May 10, 2023
yash dhingraDecorator Design patternThe Decorator design pattern is a structural pattern that allows you to dynamically add functionality to an object at runtime by wrapping…May 9, 2023May 9, 2023
yash dhingraObserver Design PatternThe Observer design pattern is a way to keep objects informed of changes to a particular state or data.May 7, 2023May 7, 2023
yash dhingraThreads and mutex used case.Given 2 threads even prints even nos till 10, and odd print odd nos till 10, how you run them so that they will print below sequence …Apr 16, 2023Apr 16, 2023
yash dhingraStrategy Design PatternThe Strategy design pattern is a behavioral design pattern that allows you to define a family of algorithms, encapsulate each one as an…Mar 11, 2023Mar 11, 2023
yash dhingraLRU CACHE ALGORITHMAlgorithm to find the least recently used item in the cache.Apr 24, 20211Apr 24, 20211
yash dhingraGiven a list and index(k), remove the element at that index(k) when in min heapIn this article I will show you how to remove an element at index k from a Min Heap also known as a Minimum Heap. You will learn what a…Aug 20, 2020Aug 20, 2020