MMayank MahajanOct 9 · 10 min readLowest Common Ancestor of a Binary Tree (LeetCode 236) Explained Simply in C++Think about your last family gathering. You and your sister are sitting at the same table, and if you trace both of your family lines upward, they meet at one person: your grandfather. He is the close4mayankdev.hashnode.dev
MMayank MahajanSep 27 · 6 min readBinary Tree Traversals: Preorder, Inorder & Postorder ExplainedWhen working with a binary tree, the real question isn't just how to move through its nodes — it's in what order you choose to visit them. There are three fundamental depth-first search (DFS) traversa4mayankdev.hashnode.dev
MMihai MarinescuSep 8 · 6 min readA new perspective on recursion and the call stackEvery explanation of recursion I read told me the same thing: a function that calls itself, with a base case so it stops. Which is accurate, and which taught me nothing, because it never answered the featuringcode.com
AArshadSep 2 · 5 min readA Recursion Bug That Could Compromise an Android PhoneAs developers, we have all seen bugs caused by recursion. When recursion goes out of control, we usually expect something simple: Stack overflow → application crashes → fix the bug. But what if that s1blog.arshadakl.in
AAniket RawateJul 14 · 6 min readRick’s Car Battery Made Me Finally Understand RecursionI was rewatching Rick and Morty Season 2, Episode 6 (“The Ricks Must Be Crazy”), and halfway through the episode I had one of those moments where your brain suddenly connects two completely unrelated 1aniketrawate.hashnode.dev
BBikash MainaliJul 6 · 6 min readHow the Call Stack Works (and How Recursion Uses It)Let's build this up from the very beginning, one idea at a time. Part 1: What is a "stack" (the data structure)? Before touching code, picture a stack of plates: You can only add a plate to the top 1dsa-3956.hashnode.dev
MMihai MarinescuJun 28 · 16 min readReact recursive componentsHow a recursive JSON editor keeps track of itself Find the app deployed here and the code here. The app is two panes. On the left, you edit a tree of key: value rows. On the right, the JSON updates asfeaturingcode.com
RRSJun 12 · 8 min readCompetitive Programming Series — Session 2: Recursion and BacktrackingAfter covering the foundational building blocks in Session 1, the next step is one of the most important problem-solving techniques in all of programming: recursion. And once recursion feels comfortabrsdev.hashnode.dev
NNavdeep RohillaMay 10 · 9 min readArray Flatten in JSIntroduction In JavaScript, Array Flattening is the process of taking a nested array (an array that contains other arrays) and "unwrapping" those inner arrays into a single, flat list of elements. Thijavascript-journey-by-navdeep.hashnode.dev
SSanghita SealMay 9 · 8 min readArray Flatten in JavaScript: Understanding Nested Arrays ProperlyThere’s a very specific kind of confusion developers experience the first time they work with deeply nested arrays in JavaScript. At first, everything looks normal. You fetch some API data, log it to sanghitadev.hashnode.dev