Posts
All the articles I've posted.
Adapter Design Pattern
Posted on:September 23, 2022 at 03:22 PMThe adapter pattern is a design pattern used to bridge two incompatible interfaces, allowing an existing class interface to be used as another. This article provides an example of using the adapter pattern.
Identifying cycle in directed graph
Posted on:June 21, 2022 at 04:06 AMIdentifying cycle in directed graph with BFS and DFS
Find neighbours in 2D grid
Posted on:June 6, 2022 at 04:06 AMFinding all the four neighbours and extending it to eight neighbours
Representing 2D array as 1D array
Posted on:January 6, 2022 at 04:06 AMRepresenting 2D array as 1D array
Observer Pattern
Posted on:December 6, 2021 at 05:02 PMObserver Pattern with example
Strategy Design Pattern
Posted on:October 8, 2021 at 10:36 AMStrategy Design pattern with example
State Management In Pure React
Posted on:September 7, 2021 at 01:32 PMState management in react without using any external library
React custom hook for form state
Posted on:August 31, 2021 at 06:25 PMUsing custom react hook to maintain form's state
Middleware with Async Thunk
Posted on:August 28, 2021 at 02:25 PMHandling async operation inside react's useReducer
Conditional checking of props
Posted on:August 8, 2021 at 10:36 AMEliminating invalid props combination by using typescript