MMayank MahajanOct 9 · 5 min readMaximum Width of a Binary Tree: Counting the Nodes That Aren't ThereImagine a street with seven plots in a row. Three houses were demolished years ago. Four are still standing, but one is at the far left and one is at the far right. If I ask you, "How wide is this str4mayankdev.hashnode.dev
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 MahajanOct 6 · 10 min readBinary Tree Right Side View: One Node Per LevelPicture yourself standing to the right of a binary tree, looking at it edge-on. Some nodes stand in plain sight. Others are hiding behind their neighbours. Binary Tree Right Side View (LeetCode 199) a4mayankdev.hashnode.dev
AAbirami SriSep 24 · 13 min readDay 13 of My DSA Journey — Linked List Operations & Pointer ManipulationAfter practicing basic Linked List problems like reversing a list, finding the middle, detecting cycles, and finding intersections, today I went deeper into Linked List operations and pointer manipulaabi-blog.hashnode.dev
AAbirami SriSep 23 · 7 min readDay 12 0f My DSA Journey with JavaScript — Linked List PatternsToday I practiced one of the most important data structures in DSA: Linked List. Unlike arrays, linked lists don't store elements using indexes. Each node contains a value and a reference to the next abi-blog.hashnode.dev
AAbirami SriSep 17 · 6 min readDay 11 of My 30-Day DSA Journey - Stack PatternToday I practiced the Stack data structure by solving five LeetCode problems using JavaScript. The problems covered different real-world uses of stacks such as matching brackets, tracking minimum valuabi-blog.hashnode.dev
AAbirami SriSep 16 · 12 min readDay 10 of My 30-Day DSA Journey - Sliding Window PatternDay 10 of my DSA journey with JavaScript focuses on Variable-Size Sliding Window. In Day 7, I learned the fixed-size Sliding Window pattern, where the window size was always k. Today, I worked with a abi-blog.hashnode.dev
AAnnetSep 13 · 7 min readSliding Window Pattern in DSA: A Beginner-Friendly GuideWhen I first started solving array and string problems, Sliding Window was one of the patterns that felt confusing. The code itself is usually short, but understanding when to move the window, what tohtml-portfolio.hashnode.dev
AAbirami SriSep 11 · 12 min readDay 9 of My 30-Day DSA Journey - Binary Search PatternsDay 9 of my DSA journey with JavaScript focuses on Binary Search. Binary Search is one of the most important searching techniques for sorted data. Instead of checking every element one by one, it repeabi-blog.hashnode.dev
AAbirami SriSep 10 · 14 min readDay 8 of My 30-Day DSA Journey - Sliding Window PatternToday, I continued learning one of the most important DSA patterns for string and array problems: Sliding Window. Sliding Window is useful when a problem asks us to find something inside a continuous abi-blog.hashnode.dev