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…4 min read·May 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…2 min read·May 9, 2023----
yash dhingraObserver Design PatternThe Observer design pattern is a way to keep objects informed of changes to a particular state or data.3 min read·May 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 …3 min read·Apr 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…3 min read·Mar 11, 2023----
yash dhingraLRU CACHE ALGORITHMAlgorithm to find the least recently used item in the cache.2 min read·Apr 24, 2021--1--1
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…2 min read·Aug 20, 2020----