Latest Articles

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

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
Climbing Stairs Problem (LeetCode 70) – Complete Guide with Optimized Solutions

Climbing Stairs Problem (LeetCode 70) – Complete Guide with Optimized Solutions

Learn how to solve the Climbing Stairs problem using recursion, dynamic programming, and space optimization. Includes Java code, examples, and interview tips.

Krishna Shrivastava
Apr 13, 2026
EasyJavaLeetCodeRecursionMemoization
Read More
Sort a Stack Using Recursion - Java Solution Explained

Sort a Stack Using Recursion - Java Solution Explained

Learn how to sort a stack using recursion in Java. Includes intuition behind recursive sorting, insert in sorted position explained, step-by-step dry run, time & space complexity analysis.

Krishna Shrivastava
Apr 11, 2026
StackRecursionJavaGeeksForGeeksMedium
Read More
OOPs in Java - Complete Guide With Simple Examples

OOPs in Java - Complete Guide With Simple Examples

Learn Object Oriented Programming in Java from scratch. Classes, Objects, Inheritance, Polymorphism, Encapsulation, Abstraction explained simply with real life examples and code.

Krishna Shrivastava
Apr 11, 2026
OOPsJavaClassesObjectsInheritancePolymorphismEncapsulationAbstraction
Read More
Recursion in Java - Complete Guide With Examples and Practice Problems

Recursion in Java - Complete Guide With Examples and Practice Problems

Learn recursion in Java from scratch. Includes how recursion works, base case, recursive case, types of recursion, dry runs, time & space complexity, and top LeetCode problems with solutions.

Krishna Shrivastava
Apr 8, 2026
RecursionJavaBase CaseCall StackBacktrackingDynamic Programming
Read More
LeetCode 682 Baseball Game - Java Solution Explained

LeetCode 682 Baseball Game - Java Solution Explained

Learn how to solve LeetCode 682 Baseball Game using Stack, ArrayList, and Deque in Java. Includes all operations explained, step-by-step dry run, time & space complexity analysis.

Krishna Shrivastava
Apr 6, 2026
LeetCodeJavaStackArrayListDequeEasy
Read More
Page 7 of 17150 articles total
Ai Assistant Kas