Latest Articles

Discover our latest posts and insights from the Kode$word journey

Fast and Slow Pointer Technique in Linked List: Cycle Detection, Proof, and Complete Explanation

Fast and Slow Pointer Technique in Linked List: Cycle Detection, Proof, and Complete Explanation

Why Fast Moves 2 Steps? Why They Meet? How Cycle Start Is Found? — Everything Explained Simply + Deeply

Krishna Shrivastava
Mar 21, 2026
Linked ListFast & Slow PointerTwo Pointer TechniqueFloyd AlgorithmDSA PatternsDeep Intuition
Read More
Intersection of Two Linked Lists – The Smart Trick Most People Miss (LeetCode 160)

Intersection of Two Linked Lists – The Smart Trick Most People Miss (LeetCode 160)

Understand Why Two Pointers Meet Exactly at the Intersection Without Extra Space (Simple + Powerful Intuition)

Krishna Shrivastava
Mar 21, 2026
Linked ListTwo PointersIntersectionPointer SwitchingDSALeetCodeEasy
Read More
Remove Nth Node From End – The Smart Way to Solve in One Pass (LeetCode 19)

Remove Nth Node From End – The Smart Way to Solve in One Pass (LeetCode 19)

Stop Counting Twice! Learn the Two-Pointer Trick to Remove Nodes Efficiently from the End of a Linked List

Krishna Shrivastava
Mar 21, 2026
Linked ListTwo PointersFast & Slow PointerOne Pass AlgorithmLeetCodeMedium
Read More
Reverse LinkedList (LeetCode 206) – The One Trick That Changes Everything

Reverse LinkedList (LeetCode 206) – The One Trick That Changes Everything

From Confusion to Clarity: Master Linked List Reversal with Intuition, Visualization, and Clean Logic

Krishna Shrivastava
Mar 21, 2026
Linked ListPointer ManipulationIterative ApproachRecursionLeetCodeEasy
Read More
LeetCode 328: Odd Even Linked List – Clean and Easy Explanation with Multiple Approaches

LeetCode 328: Odd Even Linked List – Clean and Easy Explanation with Multiple Approaches

Learn How to Rearrange a Linked List by Odd and Even Positions Using Optimal O(1) Space Approach

Krishna Shrivastava
Mar 20, 2026
Linked ListPointer ManipulationIn-Place AlgorithmTwo PointersLeetCode Medium
Read More
LeetCode 2: Add Two Numbers – Step-by-Step Linked List Addition Explained Clearly

LeetCode 2: Add Two Numbers – Step-by-Step Linked List Addition Explained Clearly

Learn How to Add Numbers Represented as Linked Lists Using Carry Logic, Dummy Nodes, and Iterative Traversal (Beginner Friendly Guide)

Krishna Shrivastava
Mar 17, 2026
Linked ListMathSimulationCarry HandlingDummy NodeLeetCode Medium
Read More
LeetCode 203: Remove Linked List Elements – Step-by-Step Guide for Beginners

LeetCode 203: Remove Linked List Elements – Step-by-Step Guide for Beginners

Learn How to Remove Nodes from a Linked List Using Iteration, Edge Case Handling, and Dummy Node Technique (With Clear Intuition)

Krishna Shrivastava
Mar 17, 2026
Linked ListIterationDummy NodePointer ManipulationLeetCodeEasy
Read More
LeetCode 290: Word Pattern – Multiple Ways to Verify Bijection Between Pattern Characters and Words

LeetCode 290: Word Pattern – Multiple Ways to Verify Bijection Between Pattern Characters and Words

Learn How to Solve the Word Pattern Problem Using HashMaps, Bidirectional Mapping, and Index Mapping Techniques

Krishna Shrivastava
Mar 15, 2026
HashMapString ManipulationBijection MappingTwo HashMapsIndex MappingLeetCode Easy
Read More
LeetCode 123 — Best Time to Buy and Sell Stock III | At Most Two Transactions Explained

LeetCode 123 — Best Time to Buy and Sell Stock III | At Most Two Transactions Explained

From left-right prefix DP to the elegant four-variable state machine — a complete guide to the hardest constraint in the stock series.

Krishna Shrivastava
Mar 10, 2026
LeetCodeDynamic ProgrammingHardJavaDSAPrefix DPArraysStock Series
Read More
Page 6 of 13112 articles total
Ai Assistant Kas