Data Structures and Algorithms (DSA)

Data Structures and Algorithms (DSA)

Learn and master the foundation of problem-solving. Explore arrays, linked lists, stacks, queues, trees, heaps, and graphs with practical examples. Understand algorithm design, complexity analysis, recursion, dynamic programming, and real-world coding patterns to write efficient, scalable, and maintainable applications.

Post
Article Video EBook
Data Structures and Algorithms (DSA)
Maximum Index Difference Using Alphabet Jumps
Data Structures and Algorithms (DSA)
Shortest Unique Prefix for Every Word (Trie)
Data Structures and Algorithms (DSA)
Max Absolute Difference of Two Subarrays (Kadane's Algorithm)
Data Structures and Algorithms (DSA)
Count N-Digit Numbers with Given Digit Sum Using Dynamic Programming
Data Structures and Algorithms (DSA)
Longest Bitonic Subarray (Java)
Data Structures and Algorithms (DSA)
Largest Unblocked Submatrix (Greedy + Sorting)
Data Structures and Algorithms (DSA)
Maximum Sum Path in Two Sorted Arrays (Java)
Data Structures and Algorithms (DSA)
Ways to Increase LCS by One (Dynamic Programming)
Data Structures and Algorithms (DSA)
Maximum Subarray Sum by Removing At Most One Element (DP)
Data Structures and Algorithms (DSA)
Maximum Number of People Defeated
Data Structures and Algorithms (DSA)
Equalize All Prefix Sums
Data Structures and Algorithms (DSA)
Lexicographically Smallest String after Removing k Characters
Data Structures and Algorithms (DSA)
Remove Nodes That Have a Greater Value on Their Right in a Linked List
Data Structures and Algorithms (DSA)
Count Valid Parentheses Expressions Using Catalan Numbers
Data Structures and Algorithms (DSA)
Josephus Problem – Understanding the Famous Recurrence
Data Structures and Algorithms (DSA)
Seating Arrangement Problem
Data Structures and Algorithms (DSA)
Maximum Visible People in a Line Using Monotonic Stack
Data Structures and Algorithms (DSA)
Find the Kth Smallest Element in a Sorted Matrix Using Binary Search on Answer
Data Structures and Algorithms (DSA)
Count Elements Within a Range Using Sorting and Binary Search
Data Structures and Algorithms (DSA)
Count Elements in a Given Range Using Sorting and Binary Search
Data Structures and Algorithms (DSA)
Position of the Set Bit
Data Structures and Algorithms (DSA)
Buildings with Sunlight
Data Structures and Algorithms (DSA)
Police and Thieves Problem
Data Structures and Algorithms (DSA)
Minimum Window Subsequence
Data Structures and Algorithms (DSA)
Substrings With Exactly K Distinct Characters