Latest Articles

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

LeetCode 39: Combination Sum – Java Backtracking Solution with Dry Run & Complexity

LeetCode 39: Combination Sum – Java Backtracking Solution with Dry Run & Complexity

Master LeetCode 39 Combination Sum using Backtracking in Java with easy explanation, recursion tree, intuition, dry run, complexity analysis, and optimized coding approach.

Krishna Shrivastava
Apr 24, 2026
LeetcodeMediumRecursionBacktrackingJava
Read More
LeetCode 2078: Two Furthest Houses With Different Colors | Java Solution Explained (Step-by-Step Guide)

LeetCode 2078: Two Furthest Houses With Different Colors | Java Solution Explained (Step-by-Step Guide)

Understand the problem deeply with examples, then master an optimal O(n) solution using a simple observation.

Krishna Shrivastava
Apr 20, 2026
LeetCodeJavaArraysTwoPointersEasy
Read More
LeetCode 1855 Maximum Distance Between Pair of Values | Two Pointer Java Solution

LeetCode 1855 Maximum Distance Between Pair of Values | Two Pointer Java Solution

Learn how to solve LeetCode 1855 using the two-pointer technique. Includes intuition, dry run, optimized Java code, and alternative approaches.

Krishna Shrivastava
Apr 19, 2026
MediumLeetCodeJavaArrayBinary SearchTwo Pointer
Read More
LeetCode 3783 Mirror Distance of an Integer | Java Solution Explained

LeetCode 3783 Mirror Distance of an Integer | Java Solution Explained

Learn how to solve LeetCode 3783 using digit reversal and math. Includes Java code, examples, and step-by-step explanation.

Krishna Shrivastava
Apr 18, 2026
EasyArrayReverse NumberLeetCodeJava
Read More
Quick Sort Algorithm Explained | Java Implementation, Partition Logic & Complexity

Quick Sort Algorithm Explained | Java Implementation, Partition Logic & Complexity

Learn Quick Sort with detailed intuition, partition logic, Java code, dry run, and complexity analysis. Perfect for coding interviews and DSA.

Krishna Shrivastava
Apr 18, 2026
MediumJavaSortingQuick SortGeeksofGeeks
Read More
Merge Sort Algorithm Explained | Java Implementation, Intuition & Complexity

Merge Sort Algorithm Explained | Java Implementation, Intuition & Complexity

Learn Merge Sort with step-by-step explanation, recursion, iterative approach, Java code, and complexity analysis. Perfect for coding interviews.

Krishna Shrivastava
Apr 18, 2026
GeekfOfGeeksMediumSortingMerge SortJava
Read More
LeetCode 22 Generate Parentheses | Backtracking Java Solution Explained

LeetCode 22 Generate Parentheses | Backtracking Java Solution Explained

Learn how to solve LeetCode 22 using backtracking. Includes intuition, decision tree, constraints, and Java code with explanation.

Krishna Shrivastava
Apr 17, 2026
MediumLeetCodeJavaRecursion
Read More
LeetCode 784 Letter Case Permutation | Recursion & Backtracking Java Solution

LeetCode 784 Letter Case Permutation | Recursion & Backtracking Java Solution

Learn how to solve LeetCode 784 using recursion and backtracking. Includes decision tree, Java code, and step-by-step explanation.

Krishna Shrivastava
Apr 17, 2026
LeetCodeMediumJavaRecursion
Read More
LeetCode 3761 Minimum Absolute Distance Between Mirror Pairs | Java HashMap Solution

LeetCode 3761 Minimum Absolute Distance Between Mirror Pairs | Java HashMap Solution

Solve LeetCode 3761 using an optimized HashMap approach. Learn intuition, naive vs optimized solution, and Java code with detailed explanation.

Krishna Shrivastava
Apr 17, 2026
LeetCodeArrayJavaMediumHashMap
Read More
Page 9 of 20 • 179 articles total
Ai Assistant Kas