Latest Articles

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

Reverse Only Letters – Two Pointer Strategy Explained (LeetCode 917)

Reverse Only Letters – Two Pointer Strategy Explained (LeetCode 917)

Reversing Letters While Preserving Special Characters in Place

Krishna Shrivastava
Feb 25, 2026
Two PointersString ManipulationLeetCodeEasy
Read More
Ransom Note – Frequency Counting Made Simple (LeetCode 383)

Ransom Note – Frequency Counting Made Simple (LeetCode 383)

Using HashMap to Validate Character Availability Efficiently

Krishna Shrivastava
Feb 25, 2026
HashMapStringFrequency CountGreedyLeetCodeEasy
Read More
Find the Difference – Smart ASCII Sum Trick (LeetCode 389)

Find the Difference – Smart ASCII Sum Trick (LeetCode 389)

Solving the Problem Using Character Arithmetic Instead of Extra Space

Krishna Shrivastava
Feb 25, 2026
StringMath TrickASCIIBit ManipulationLeetCodeEasy
Read More
Longest Palindrome – Building the Maximum Length from Given Letters (LeetCode 409)

Longest Palindrome – Building the Maximum Length from Given Letters (LeetCode 409)

Using Frequency Counting to Construct the Largest Possible Palindrome

Krishna Shrivastava
Feb 25, 2026
HashMapStringGreedyFrequency CountLeetCodeEasy
Read More
Check if All Characters Have Equal Number of Occurrences – Frequency Map Approach (LeetCode 1941)

Check if All Characters Have Equal Number of Occurrences – Frequency Map Approach (LeetCode 1941)

Simple HashMap Technique to Validate Equal Character Frequencies

Krishna Shrivastava
Feb 25, 2026
HashMapStringFrequency CountLeetCodeEasy
Read More
Longest Repeating Character Replacement – Sliding Window Explained (LeetCode 424)

Longest Repeating Character Replacement – Sliding Window Explained (LeetCode 424)

Mastering the Sliding Window Pattern with Frequency Optimization

Krishna Shrivastava
Feb 25, 2026
Sliding WindowLeetCodeTwo PointersHashMapMedium
Read More
Find First and Last Position in Sorted Array – From Brute Force to Binary Search (LeetCode 34)

Find First and Last Position in Sorted Array – From Brute Force to Binary Search (LeetCode 34)

Optimizing from O(n) Linear Scan to O(log n) Binary Search

Krishna Shrivastava
Feb 25, 2026
Binary SearchLeetCodeMedium
Read More
Mastering Binary Search – LeetCode 704 Explained

Mastering Binary Search – LeetCode 704 Explained

A Complete Guide with Code Walkthrough, Algorithm Explanation, and Practice Recommendations

Krishna Shrivastava
Feb 25, 2026
Binary SearchLeetCodeEasy
Read More
LeetCode 187 – Repeated DNA Sequences (Java Solution with Sliding Window and HashSet)

LeetCode 187 – Repeated DNA Sequences (Java Solution with Sliding Window and HashSet)

Step-by-Step Explanation with Optimized Approach and Time Complexity Analysis

Krishna Shrivastava
Feb 22, 2026
JavaSliding WindowMedium
Read More
Page 15 of 19164 articles total
Ai Assistant Kas