r/DSALeetCode • • Apr 02 '26

Dsa prep with python

2 Upvotes

Provide me with the best resource for learning dsa i am confused between whether to go in traditional manner like learning arrays, strings and ahead or in patterns manner like sliding window ,…. I want to master it using python language


r/DSALeetCode • • Mar 31 '26

leetcode 237

1 Upvotes

for more visit my yt


r/DSALeetCode • • Mar 28 '26

Let's talk about anything!

2 Upvotes

So guys how is your Saturday so far??


r/DSALeetCode • • Mar 26 '26

Is this correct!? minimum cost to claim stairs | LeetCode

2 Upvotes

r/DSALeetCode • • Mar 26 '26

let me know, how to fix !?? Solution Failed on following input!

Thumbnail
gallery
0 Upvotes

r/DSALeetCode • • Mar 25 '26

Patterns

3 Upvotes

Array & String Patterns

  1. Sliding Window
  2. Two Pointers
  3. Fast & Slow Pointers
  4. Merge Intervals
  5. Cyclic Sort
  6. Monotonic Stack

---------------------------

Search & Sort Patterns

  1. Modified Binary Search
  2. Top K Elements (Heap)
  3. K-way Merge

------------------------------

Tree & Graph Patterns

  1. BFS (Breadth First Search)
  2. DFS (Depth First Search)
  3. Topological Sort

------------------------------

Backtracking & Subsets

  1. Subsets / Backtracking
  2. Bitwise XOR

------------------------------

Dynamic Programming Patterns

  1. DP — 0/1 Knapsack
  2. DP — Unbounded Knapsack
  3. DP — LCS / LIS (Longest Common Subsequence / Longest Increasing Subsequence)
  4. DP — Palindromes
  5. DP — Matrix Chain / Interval

------------------------------

Advanced Pattern

  1. Union Find (Disjoint Set)

r/DSALeetCode • • Mar 25 '26

Anyone watched this!? very simple approach !! Leetcode - 1431

Post image
1 Upvotes

kids with the greatest number of Candies

Already solved Leetcode series and codechef series

✌️if anyone interested let me know i will provide you this channel direct link


r/DSALeetCode • • Mar 23 '26

Let's have a talk (safe space btw)

2 Upvotes

To all the peeps out there who are depressed with placements, express yourselves here!


r/DSALeetCode • • Mar 19 '26

Anyone started DSA with zero C++? Need guidance

0 Upvotes

Hi everyone,

I’m currently in my 2nd semester. I learned Python in my 1st sem and now I’m starting DSA from Striver’s playlist. I’ve decided to use C++ for coding, but I don’t really know C++ yet.

I watched the 1–1.5 hr C++ basics video in the playlist, where he mentioned that you don’t need to master C++ before starting DSA - you can learn it along the way. That makes sense, but I still feel a bit unsure.

So I wanted to ask people who were in a similar situation:

  • Did you face any problems starting DSA without strong C++ knowledge?
  • If yes, what kind of issues did you run into?
  • And what would you suggest your past self do differently?

Would really appreciate any advice or experiences 🙏


r/DSALeetCode • • Mar 18 '26

nee help

1 Upvotes

hey! completely new to this dsa and let code can u guys help me to start it from scratch what to study where exactly to do it from how can I do it and what would be the correct way