Posts
All the articles I've posted.
Bit Manipulation
Posted on:May 23, 2024 at 03:22 PMBit manipulation in javascript
How to list recently switched branches in git
Posted on:May 20, 2024 at 05:22 AMlist recently switched brances in git
Copy file from another branch using git checkout
Posted on:May 10, 2024 at 03:22 PMcopy file contents using git
Printing Page on Chrome Desktop and Android
Posted on:March 20, 2023 at 12:58 PMUse window.print API to print a document on Chrome Desktop and Android, and the differences in the sequence of printing events.
Custom hook for data fetching
Posted on:November 1, 2022 at 02:25 PMUsing custom hook for data fetching
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