Skip to content

hemantjava/Prep2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read2024

Data Structure, Algorithms and Problem-solving Techniques

img.png img_1.png img_2.png img_3.png

Never skip to solve these DSA QUESTIONS

𝗔𝗿𝗿𝗮𝘆𝘀

  1. Two Sum
  1. Best Time to Buy and Sell Stock
  1. Maximum Subarray
  1. Container with Most Water
  1. Rotate Array

𝗦𝘁𝗿𝗶𝗻𝗴𝘀

  1. Reverse String
  1. Valid Palindrome
  1. Longest Substring Without Repeating Characters
  1. Group Anagrams
  1. Longest Palindromic Substring

𝗟𝗶𝗻𝗸𝗲𝗱 𝗟𝗶𝘀𝘁

  1. Reverse Linked List
  1. Merge Two Sorted Lists
  1. Remove Nth Node From End of List
  1. Linked List Cycle
  1. Intersection of Two Linked Lists

𝗧𝗿𝗲𝗲𝘀

  1. Maximum Depth of Binary Tree
  1. Validate Binary Search Tree
  1. Symmetric Tree
  1. Binary Tree Level Order Traversal
  1. Lowest Common Ancestor of a Binary Tree

𝗚𝗿𝗮𝗽𝗵𝘀

  1. Number of Islands
  1. Course Schedule
  1. Word Ladder
  1. Clone Graph
  1. Network Delay Time

𝗦𝗲𝗮𝗿𝗰𝗵𝗶𝗻𝗴 & 𝗦𝗼𝗿𝘁𝗶𝗻𝗴

  1. Merge Sort
  1. Quick Sort
  1. Binary Search
  1. Search in Rotated Sorted Array
  1. First Bad Version

𝗗𝘆𝗻𝗮𝗺𝗶𝗰 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴

  1. Fibonacci Number
  1. Climbing Stairs
  1. Longest Increasing Subsequence
  1. Maximum Subarray Sum
  1. Coin Change

Learning these 15 patterns made it easier for us:

  1. Prefix Sum
  2. Two Pointers
  3. Sliding Window
  4. Fast & Slow Pointers
  5. LinkedList In-place Reversal
  6. Monotonic Stack
  7. Top ‘K’ Elements
  8. Overlapping Intervals
  9. Binary Search Variants
  10. Binary Tree Traversal
  11. Depth-First Search (DFS)
  12. Breadth-First Search (BFS)
  13. Matrix Traversal
  14. Backtracking
  15. Dynamic Programming Patterns

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages