Latest Articles

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

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
LeetCode 3488 — Closest Equal Element Queries: A Complete Walkthrough from Brute Force to Optimal

LeetCode 3488 — Closest Equal Element Queries: A Complete Walkthrough from Brute Force to Optimal

Solve LeetCode 3488 Closest Equal Element Queries using HashMap and Binary Search. Learn intuition, naive vs optimized approach, circular distance logic, and Java solution with detailed explanation.

Krishna Shrivastava
Apr 16, 2026
ArraysHashMapBinary SearchCircular ArraysMediumLeetCodeJava
Read More
All Subsequences of a String (Power Set) | Recursion & Backtracking Java Solution

All Subsequences of a String (Power Set) | Recursion & Backtracking Java Solution

Learn how to generate all subsequences of a string using recursion, backtracking, and bit manipulation. Includes Java code and lexicographical sorting.

Krishna Shrivastava
Apr 15, 2026
GeeksforGeeksRecursionJavaBacktrackingMedium
Read More
Subsets Problem (LeetCode 78) Explained | Recursion, Iterative & Bit Manipulation

Subsets Problem (LeetCode 78) Explained | Recursion, Iterative & Bit Manipulation

Learn how to solve the Subsets problem using recursion, backtracking, loops, and bit manipulation. Includes Java code, intuition, and complexity analysis.

Krishna Shrivastava
Apr 15, 2026
LeetCodeMediumJavaRecursionBacktracking
Read More
Permutation with Spaces Explained Using Recursion & Decision Tree | Java Solution GFG

Permutation with Spaces Explained Using Recursion & Decision Tree | Java Solution GFG

Master the Permutation with Spaces problem using recursion and decision trees. Includes Java code with comments and step-by-step explanation.

Krishna Shrivastava
Apr 15, 2026
MediumGeeksforGeeksRecursionJava
Read More
Reverse a Stack Without Extra Space | Java Recursive Solution

Reverse a Stack Without Extra Space | Java Recursive Solution

Learn how to reverse a stack using recursion without extra space. Step-by-step explanation, Java code, dry run, and interview tips included.

Krishna Shrivastava
Apr 14, 2026
JavaGeeksofGeeksStackRecursionReverse
Read More
Delete Middle Element of Stack Without Extra Space | Java Recursive Solution

Delete Middle Element of Stack Without Extra Space | Java Recursive Solution

Learn how to delete the middle element of a stack without using extra space. Step-by-step explanation with Java code, recursion approach, and examples.

Krishna Shrivastava
Apr 14, 2026
GeeksofGeeksEasyStackRecursionJava
Read More
Page 8 of 19164 articles total
Ai Assistant Kas
Blog Page 8 | Kode$word | Kode$word