Skip to content

priyanshu7725/striver-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Striver DSA Sheet

Solving the Striver DSA Sheet in Java, tracked manually using Codolio.

📂 Arrays

Easy

  1. Largest Element in an Array – Problem | Solution
  2. Second Largest Element (No Sorting) – Problem | Solution
  3. Check if Array is Sorted – Problem | Solution
  4. Remove Duplicates from Sorted Array – Problem | Solution
  5. Rotate Array by one place – Problem | Solution
  6. Left Array by D places – Problem | Solution
  7. Move Zeroes to End - Problem | Solution
  8. Linear Search - Problem | Solution
  9. Find the Union - Problem | Solution
  10. Find missing number in an array - Problem | Solution
  11. Maximum Consecutive Ones - Problem | Solution
  12. Number that appears once - Problem | Solution
  13. Longest Subarray with Sum K (Positives) - Problem | Solution
  14. Longest Subarray with Sum K (Positive and Negative) - Problem | Solution

Medium

  1. 2 Sum Problem - Problem | Solution
  2. Sort Colors - Problem | Solution
  3. Majority Element - Problem | Solution
  4. Kadane's Algorithm for Negatives - Problem | Solution
  5. Kadane's Algorithm - Problem | Solution
  6. Buy and Sell Stocks - Problem | Solution
  7. Rearrange Elements by Sign - Problem | Solution
  8. Next Permutation - Problem | Solution
  9. Leaders in Array - Problem | Solution
  10. Longest Consecutive Sequence in Array - Problem | Solution
  11. Set Matrix Zeroes - Problem | Solution
  12. Rotate Matrix - Problem | Solution
  13. Spiral Matrix - Problem | Solution
  14. Count Subarrays with Given Sum - Problem | Solution

Hard

  1. Pascal's Triangle - Problem | Solution
  2. Majority Element (n/3 times) - Problem | Solution
  3. Three Sum - Problem | Solution

📂 Binary Search

Binary Search on 1D Arrays

  1. Binary Search to find X in sorted array - Problem | Solution
  2. Implement Lower Bound - Problem | Solution
  3. Implement Upper Bound - Problem | Solution
  4. Search Insert Position - Problem | Solution
  5. Floor/Ceil in Sorted Array - Problem1 | Problem2 | Solution
  6. First and Last Occurrence - Problem | Solution

🛠️ Tech Stack

  • Language: Java
  • IDE: VS Code / IntelliJ IDEA
  • Tracker: Codolio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages