/DSA-Series

This repository has a good set of DSA questions which can be used for interview preparation. Video solutions available on my website.

Primary LanguageC++

DSA-Series

Arrays & Vectors

  1. Contains Duplicate

  2. 2 Sum

  3. Find Subarrays With Equal Sum

  4. Best Time to Buy and Sell Stock.cpp

  5. Maximum Subarray.cpp

  6. Subarray Sum Equals K

  7. Minimum Size Subarray Sum

  8. Ways to Make a Fair Array

  9. Merge Intervals

Two Pointers

  1. Valid Palindrome

  2. Is Subsequence

  3. Two Sum II

  4. Container with most water

  5. 3 Sum

Sliding Window

  1. Minimum Size Subarray Sum

  2. Longest Substring Without Repeating Characters

  3. Longest K unique characters substring

  4. Maximum Sum Subarray of size K

  5. First negative integer in every window of size k

Matrix

  1. Valid Sudoku

  2. Set Matrix Zeros

  3. Rotate Image

  4. Spiral Matrix

  5. Game of Life

Array & Strings

  1. Merge Sorted Array

  2. Remove Element

  3. Remove Duplicates from Sorted Array

  4. Remove Duplicates from Sorted Array II

  5. Majority Element

  6. Rotate Array

  7. Best Time to Buy and Sell Stock

  8. Best Time to Buy and Sell Stock II

  9. Jump Game

  10. Jump Game II

DP

  1. Climbing Stairs

  2. House Robber

  3. Coin Change

  4. Word Break

  5. Longest Increasing Subsequence

  6. Triangle

  7. Minimum Path Sum