Latest Articles

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

Reverse a Stack — GFG Problem Solved (3 Approaches Explained)

Reverse a Stack — GFG Problem Solved (3 Approaches Explained)

Learn how to reverse a stack in Java with 3 different approaches — extra stack, ArrayList, and recursion. Full solution to the GFG "Reverse a Stack" problem explained step by step in easy language with code.

Krishna Shrivastava
Mar 31, 2026
StackProblemsJavaMediumGeeksForGeeksReverseStack
Read More
Stack Data Structure in Java: The Complete In-Depth Guide

Stack Data Structure in Java: The Complete In-Depth Guide

Everything You Need to Know — What It Is, How It Works, Multiple Implementations, Operations, Advantages, Disadvantages, and Practice Problems

Krishna Shrivastava
Mar 31, 2026
DataStructuresJavaStackDataStructureLIFO
Read More
Master LeetCode 92: Reverse Linked List II | Detailed Java Solution & Explanation

Master LeetCode 92: Reverse Linked List II | Detailed Java Solution & Explanation

Learn how to reverse a specific portion of a linked list with easy-to-understand approaches, step-by-step dry runs, and time complexity analysis.

Krishna Shrivastava
Mar 30, 2026
LeetCodeLinkedListJavaReverse LinkedList II
Read More
Find Length of Loop in Linked List — Complete Guide with Intuition, Dry Run & Floyd’s Cycle Algorithm

Find Length of Loop in Linked List — Complete Guide with Intuition, Dry Run & Floyd’s Cycle Algorithm

Detect Loop and Calculate Its Length Efficiently Using Fast & Slow Pointer Technique

Krishna Shrivastava
Mar 25, 2026
GeeksforGeeksLinkedListMediumFast and Slow Pointer
Read More
Maximum Twin Sum of a Linked List (LeetCode 2130) — Intuition, Dry Run & Optimal Approach

Maximum Twin Sum of a Linked List (LeetCode 2130) — Intuition, Dry Run & Optimal Approach

Learn How to Pair Nodes Efficiently Using Fast & Slow Pointer and Reverse Technique

Krishna Shrivastava
Mar 25, 2026
LeetcodeMediumLinkedListFast and Slow Pointer
Read More
LeetCode 234: Palindrome Linked List (Java) | Intuition, Dry Run & O(1) Space Solution

LeetCode 234: Palindrome Linked List (Java) | Intuition, Dry Run & O(1) Space Solution

Learn how to solve LeetCode 234 Palindrome Linked List using an optimal O(n) time and O(1) space approach. Includes intuition, dry run video, and clean Java solution.

Krishna Shrivastava
Mar 24, 2026
LinkedListFast and Slow PointerPalindromeEasy
Read More
LeetCode 2095. Delete the Middle Node of a Linked List – Fast and Slow Pointer Approach

LeetCode 2095. Delete the Middle Node of a Linked List – Fast and Slow Pointer Approach

A Complete Guide with Intuition, Detailed Dry Run, and Optimal Solution in O(n) Time

Krishna Shrivastava
Mar 22, 2026
LeetCodeMediumLinked ListFast and Slow Pointer
Read More
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
Page 11 of 19164 articles total
Ai Assistant Kas
Blog Page 11 | Kode$word | Kode$word