Observer Pattern – a Glittering Gold
Observer pattern is a design pattern that allows a subject, to maintain list of observers & notify them automatically when the object's state changes.
Observer pattern is a design pattern that allows a subject, to maintain list of observers & notify them automatically when the object's state changes.
Adapter Pattern allows two incompatible interfaces to work together by creating a wrapper around one to make it compatible with the other interface.
OOP is creating objects that are instances of classes, that encapsulate data & behavior and interact with each other through well-defined interfaces.
A Doubly Linked List is a type of linked list where each node has two pointers, one pointing to the previous node and the other pointing to the next node.
A singly linked list is a type of linked list data structure which is used to store a collection of elements or items.
A linked list is a data structure used to store a collection of elements/node, where each element is connected to the next element through a link.
Mutex is a synchronization object that is used to protect shared resources, such as variables or data structures, from concurrent access by multiple threads or processes.
Introduction As all threads share the same address space and they have access to the same data and variables. When two or more threads tries to update a global variable…
Object Pool Pattern is a type of Creational Design Pattern that helps to improve the performance by reusing objects which have already been created instead of creating new objects each…