Posts
All the articles I've posted.
Copy file from another branch using git checkout
Posted on:May 10, 2024 at 03:22 PMcopy file contents using git
Chrome DevTools Network Tab Filter Cheat Sheet
Posted on:April 22, 2024 at 02:01 AMChrome network tab cheat sheet for quick reference
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
Strategy Design Pattern
Posted on:October 8, 2021 at 10:36 AMStrategy Design pattern with example