Blog

Read my latest blog posts

Data Structures and Algorithms Blogs

Data structures, algorithms, coding patterns, and interview preparation

String Algorithms Tutorial: KMP, Anagrams & Pattern Matching for Interviews

String Algorithms Tutorial: KMP, Anagrams & Pattern Matching for Interviews

Complete guide to string algorithms with KMP pattern matching, palindrome detection, and anagram problems in Python. Master substring search, sliding window for strings, and edit distance for coding interviews

stringskmp-algorithmanagrams
October 20, 2025 Read more →
Heap Data Structure Explained: Master Priority Queue & Kth Element Problems

Heap Data Structure Explained: Master Priority Queue & Kth Element Problems

Complete guide to heaps and priority queues with Python heapq. Learn min-heap vs max-heap, solve Kth largest element, top K problems, and running median for coding interviews with efficient implementations

heapspriority-queuekth-element
September 12, 2025 Read more →
Bit Manipulation Tutorial: Master XOR Tricks & Bitwise Operations for Interviews

Bit Manipulation Tutorial: Master XOR Tricks & Bitwise Operations for Interviews

Complete guide to bit manipulation with essential tricks for coding interviews. Learn XOR patterns, power of 2 checks, bit masks, and bitwise operators in Python. Solve single number and subset problems in O(1) space

bitsxor-tricksbitwise
August 18, 2025 Read more →
Recursion Tutorial: Master Recursive Thinking & Divide-Conquer for Interviews

Recursion Tutorial: Master Recursive Thinking & Divide-Conquer for Interviews

Complete recursion guide with base cases, divide-and-conquer patterns, and backtracking in Python. Learn recursive problem-solving, tail recursion, and when to use iteration for coding interviews

recursiondivide-conquertail-recursion
August 25, 2025 Read more →
Backtracking Algorithm Explained: Master Recursion for Coding Interviews

Backtracking Algorithm Explained: Master Recursion for Coding Interviews

Complete guide to backtracking with choose-explore-unchoose pattern. Solve N-Queens, Sudoku, permutations, and combinations. Learn constraint pruning techniques with Python examples for technical interviews

backtrackingrecursionpermutations
July 8, 2025 Read more →
Dynamic Programming Tutorial: Master 5 Essential DP Patterns Coding Interviews

Dynamic Programming Tutorial: Master 5 Essential DP Patterns Coding Interviews

Complete dynamic programming guide with 5 proven patterns covering 95% of interview questions. Learn 0/1 Knapsack, LCS, LIS, and MCM with memoization in Python. From recursion to optimization with real LeetCode examples

dynamic-programmingdp-patternsmemoization
June 25, 2025 Read more →
Binary Tree Traversal: Master DFS, BFS & Recursion for Coding Interviews

Binary Tree Traversal: Master DFS, BFS & Recursion for Coding Interviews

Complete guide to binary tree problems with 6 proven patterns. Learn inorder, preorder, postorder, level-order traversals, LCA, and BST validation. Master tree recursion with Python examples for technical interviews

binary-treestreesdfs-bfs
June 20, 2025 Read more →
Master Stack Data Structure: 7 Proven Patterns for Coding Interview Success

Master Stack Data Structure: 7 Proven Patterns for Coding Interview Success

Complete guide to mastering stack problems for FAANG interviews. Learn monotonic stack patterns, solve LeetCode hard problems, and ace 90% of coding interview questions with Python implementation examples and pattern recognition techniques

stacksmonotonicinterview
June 28, 2025 Read more →
Sorting Problems Tutorial: Merge Intervals & Greedy Algorithms for Interviews

Sorting Problems Tutorial: Merge Intervals & Greedy Algorithms for Interviews

Master sorting-based problem solving with interval problems, meeting rooms, and greedy algorithms. Learn when sorting simplifies complex problems with Python. Includes merge intervals and QuickSelect

sortingmerge-intervalsmeeting-rooms
June 15, 2025 Read more →
Sliding Window Algorithm Explained: Master Array Problems for Coding Interviews

Sliding Window Algorithm Explained: Master Array Problems for Coding Interviews

Complete guide to sliding window technique in Python. Learn how to solve LeetCode substring and subarray problems in O(n) time with 2 proven patterns. Master fixed and variable window approaches with real interview examples

sliding-windowtwo-pointersarrays
May 30, 2025 Read more →
Binary Search Algorithm Tutorial: Master Answer Space Search for Interviews

Binary Search Algorithm Tutorial: Master Answer Space Search for Interviews

Complete binary search guide with advanced patterns. Learn to search on answer space, rotated sorted arrays, and 2D matrices. Master log(n) search techniques with Python for coding interviews

binary-searchanswer-spacerotated-array
April 28, 2025 Read more →
Master Data Structures and Algorithms - A Practical Pattern-Based Approach

Master Data Structures and Algorithms - A Practical Pattern-Based Approach

A comprehensive guide to mastering DSA through pattern recognition and systematic practice, featuring proven techniques for acing coding interviews without expensive courses

dsapythoncompetitive
April 20, 2025 Read more →
Linked List Data Structure: Master Fast-Slow Pointer Technique for Interviews

Linked List Data Structure: Master Fast-Slow Pointer Technique for Interviews

Complete guide to linked list problems with two-pointer patterns. Learn Floyd's cycle detection, reverse operations, and pointer manipulation. Ace linked list coding interviews with proven Python techniques

linked-liststwo-pointerscycle-detection
April 25, 2025 Read more →
Graph Algorithms Tutorial: Master BFS, DFS & Topological Sort for Interviews

Graph Algorithms Tutorial: Master BFS, DFS & Topological Sort for Interviews

Complete graph algorithms guide with 4 essential patterns. Learn BFS, DFS, cycle detection, topological sort, and Union-Find with Python. Solve shortest path and connected component problems for coding interviews

graphsbfs-dfstopological
April 10, 2025 Read more →
Array Problems Solved: Two Pointer & Prefix Sum Techniques for Interviews

Array Problems Solved: Two Pointer & Prefix Sum Techniques for Interviews

Complete array manipulation guide with two-pointer technique and prefix sums in Python. Master subarray problems, Kadane's algorithm, Dutch National Flag, and sliding window for coding interviews

arraystwo-pointersprefix-sum
March 25, 2025 Read more →
Page 1 of 2

Ojaswi Athghara

SDE, 4+ Years

© ojaswiat.com 2025-2027