Published inDev GeniusWhat’s and why’s of state in React.State, often termed as a component’s memory in React is a plain JavaScript object used by React to represent some information about the…Jan 6, 2022Jan 6, 2022
Published inThe Startup“HEAPS ,the cutest little data structure ever invented”Heaps are a great example of many core computer science concepts working together in order to form one very large abstraction, which is…Nov 1, 2020Nov 1, 2020
“Perfectly balanced as all things should be” — AVL treesIn computer science , an AVL tree (named after inventors Adelson-Velsky and Landis) is a self-balancing binary search tree . It was the…Aug 8, 2020Aug 8, 2020
Published inThe StartupAn Introduction to Dynamic ProgrammingAlthough people make a big deal about how scary dynamic programming problems are, there’s really no need to be afraid of them. In fact…Jul 6, 20201Jul 6, 20201
Published inThe StartupLinked lists and the Runner TechniqueA couple of days ago, I was going through a mock interview, and I was tasked with a question on linked list, which involved finding and…Jun 30, 20202Jun 30, 20202