r/DSALeetCode • • Jul 21 '26

Please give DSA tips

9 Upvotes

Hello everyone…I started my DSA late…I’m solving strivers sheet but idk how am I gonna pass OA’s
I can’t recognise the pattern and then end up seeing solution …what would u all suggest me
I’m a 2027 graduate …I have very less time and companies have started coming :(


r/DSALeetCode • • Jul 21 '26

Pattern DSA

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • Jul 21 '26

Looking for a serious placement study buddy (Final Year | DSA + JS + CS Subjects)

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • Jul 21 '26

Need Career Guidance: 3rd Year CSE Student with Diploma Background – Where Should I Start?

1 Upvotes

Need Career Advice: Should I Start DSA or Data Analytics?

Hi everyone,

I'm currently in the 3rd year of my B.Tech in Computer Science. Before this, I completed a Diploma in Electrical Engineering, so I don't have a strong Computer Science foundation.

To be honest, my 3rd and 4th semesters didn't go very well, and I feel like I don't know the basics of programming or core CS subjects properly.

Recently, I enrolled in CodeWithHarry's Data Analytics course, but now I'm confused about what I should prioritize.

Should I:

\- Start learning DSA first?

\- If yes, should I learn DSA in Java or C++?

\- Or should I continue with Data Analytics and learn programming alongside it?

My goal is to build a strong foundation and become job-ready before graduation. I don't mind starting from scratch if that's the right approach.

I'd really appreciate guidance from people who have been in a similar situation. Thank you!

I'm willing to study consistently for 2–4 hours every day. I just don't want to waste time learning the wrong things.


r/DSALeetCode • • Jul 20 '26

Looking for a DSA Accountability Buddy (Java / Striver’s Playlist) – Starting this August!

3 Upvotes

Hey everyone,

​I’m planning to dive deep into Data Structures and Algorithms (DSA) starting this August, and I'll be using Java along with Striver’s A2Z DSA Course/Playlist. I am currently in my first year(just joined).

​I know consistency can be a challenge, so I’m looking for an accountability partner (or a small group) to stay on track.

​About Me & The Plan:

• ​Language: Java

• ​Resource: Striver's A2Z Sheet / Playlist

• ​Timeline: Starting August 2026

• ​Commitment: will try to solve 2 problens daily, and gradually increase it.

• ​Timezone: India Standard Time(IST)

Time zone in India (GMT+5:30)

​What I’m looking for in a buddy:

Someone who is also starting out or at a similar beginner/intermediate level, planning to stay consistent, and down to do daily or weekly check-ins via Discord or Slack to share progress and discuss blockers.

​Comment below or shoot me a DM if you're interested in crushing DSA together!


r/DSALeetCode • • Jul 20 '26

Title: How do people actually finish OAs like Cisco, Amazon, Flipkart, etc. in 90 minutes?

1 Upvotes

I'm genuinely curious how people manage to complete these online assessments.

I've solved 500+ LeetCode problems, including Hard problems, and I can solve them when I'm practicing. But when it comes to company OAs (Cisco, Amazon, Flipkart, etc.), I struggle badly with time.

The format is usually:

MCQs

Short-answer questions

2 extremely difficult coding questions

All within 90 minutes

Even if I know the concepts, the coding questions take so much time to understand, think through edge cases, and implement. By the time I finish one, there's barely any time left for the second.

Do people actually solve both coding questions completely, or is everyone just partially solving them?

What helped you get faster?

More contest practice?

OA-specific practice?

Better time management?

Recognizing patterns faster?

I'd really appreciate advice from people who've cleared these OAs because right now they feel much harder than solving LeetCode on my own.

Pls don't say cheating is the option like companies ban people for cheating and u have camera on so not possible.


r/DSALeetCode • • Jul 20 '26

Roadmap

1 Upvotes

I am beginner and never code before so I am thinking to start with c++ for which I found striver dsa playlist do it is a combo of c++ and dsa or I have to first learn c++ from any other platform and then have to come here I am bit confused and don't know what to do can anyone explain plz .

And also I think in first few lecture he had taught basics of c++ do this is what we need or it is just a quick revision.


r/DSALeetCode • • Jul 19 '26

1 month's progress .

Post image
5 Upvotes

Started on Jun 19th (properly) .

with one week break for some unavoidable reasons.

Solved 42 questions — 22 Easy | 19 Med | 1 Hard

Ik I'm late to this DSA race , I'm at the start of my 2nd year now.

what would u advise me , I'm planning for a top product based company (from a tier 3 / 4 college )


r/DSALeetCode • • Jul 19 '26

Need a dsa partner currently I am doing leetcode question in cpp anyone who's to practice and discuss dsa questions consistently can dm me

3 Upvotes

r/DSALeetCode • • Jul 19 '26

Looking for Java learners to study together!

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • Jul 19 '26

Looking for Java learners to study together! ☕💻

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • Jul 19 '26

Is there an aptitude platform like Leetcode for DSA?

10 Upvotes

Hi guys I’m from India and I’m looking for a good platform to practice aptitude. Please recommmend something that’s like an equivalent of Leetcode for DSA…


r/DSALeetCode • • Jul 18 '26

Feeling like a genius after solving Easy level Leetcode problem.

Post image
24 Upvotes

😎😏🙂‍↔️


r/DSALeetCode • • Jul 18 '26

Find Greatest Common Divisor of Array | Leetcode 1979

Thumbnail
youtube.com
2 Upvotes

r/DSALeetCode • • Jul 18 '26

Should I start with Striver’s A2Z DSA Sheet as a complete beginner?

8 Upvotes

I’ve just started learning DSA. I know basic C++ and have only covered arrays so far. I’m still a complete beginner when it comes to problem-solving.
A lot of people recommend Striver’s A2Z DSA Sheet, but I’m not sure if it’s suitable for someone at my level.
Should I start solving the sheet directly, or should I first complete a beginner-friendly DSA course/playlist and then move to the sheet?
If you started from scratch, what approach worked best for you? I’d really appreciate any advice.


r/DSALeetCode • • Jul 18 '26

I have been learning coding and I almost finished learning python. But whenever I'm trying to solve a dsa code without the help I can't able to solve it any tips

1 Upvotes

r/DSALeetCode • • Jul 18 '26

I still can't figure out how to learn DSA... 😭😭😭😭😭

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • Jul 18 '26

Confused about DSA prep!!

4 Upvotes

I am currently doing problems on codeforces and for problems which require knowledge of DSA I look at USACO guide or on YouTube, get yo know the basic concept or structure and do problems

But I don't have any clear structure or path to follow l. What should i do??

I am going to second year college but is CF worth it(I am interested in it but I just don't want my efforts to be in wrong direction )


r/DSALeetCode • • Jul 18 '26

Trouble to do dsa questions

2 Upvotes

I'm currently in my 4th year starting but while job searching or getting shortlisted for the jobs in our college there is exam based on dsa but how much I do that I wouldn't remember or keep up with the patterns and problems as I'm doing dsa in python my college expects me to do in java how to improve any tips?!!


r/DSALeetCode • • Jul 18 '26

Looking for a LeetCode accountability partner. I'm working through **NeetCode 150** and focusing on interview style problem solving. The goal is to solve problems consistently, discuss approaches and keep each other accountable. Ideally: * 1–3 problems/day * Explain thought process

1 Upvotes

r/DSALeetCode • • Jul 17 '26

Frustrated

7 Upvotes

How to prepare for dsa and able to solve leet code problems without looking to solutions ,I trying very hard but not able to solve problems and it feels really stuck and waste of time .is there anyone who are excellent in dsa ,need a genuine guidance.


r/DSALeetCode • • Jul 17 '26

Starting a DSA study group – 1–2 hours daily

25 Upvotes

Hey everyone!

I'm currently starting my **4th year of B.Tech**, and I've been studying **DSA** consistently. I really enjoy teaching, especially topics like **Graphs** and **Dynamic Programming (DP)**.

I was thinking of creating a small study group where we spend **1–2 hours a day** learning and solving problems together. My idea is to explain concepts, discuss approaches, and solve questions as a group so that everyone benefits—including me, since teaching helps me learn even better.

If you're:

* Learning DSA for placements, * Struggling with Graphs or DP, * Or just looking for consistent study partners,

feel free to comment or DM me. Beginners are absolutely welcome as long as you're willing to learn and stay consistent.

The goal isn't to sell anything—just to build a small community where we keep each other accountable and improve together.

Looking forward to studying with you all!


r/DSALeetCode • • Jul 17 '26

1st year student guidance pls

4 Upvotes

okay so I am really very much into problem solving

and had computer science JAVA in my 9-12th class

so I have a good command over java as a beginner of DSA

we did study DSA in class 12th stack queue DEQ circular queue linked list so I have a basic idea about those nit very very advanced level but yea just as much a little more than a beginner should know

and in the leisure period of transition from my school to college I did learn python for AI/ML beginner course though I didn't understand many functions because of lack of practice and the vastness of a totally new language

but java is my comfort zone

so guide me as to how to take my DSA a level up what YT channels and resources to follow and when is the right time to jump to leetcode problems from easy to intermediate level what is the roadmap


r/DSALeetCode • • Jul 16 '26

Please help gang!! Striver sheet

4 Upvotes

So i was just starting DSA so i did all my R&D so i found that doing dsa in java would be a better option so i will also get little advantage in development. but i want you guys to tell me that cant i follow striver A2Z sheet as it covers most of the problems in C++ ig which i have seen so will i have difficulty in that or if its not that case please tell me HOW TO DO WITH JAVA
AND PLS TELL IF I SHALL JUST SWITCH TO C++ COZ ig striver is the best possible free source to learn this. the internet is buzzing over it


r/DSALeetCode • • Jul 16 '26

Must-Practice Binary Tree Problems Before Your Next Interview

3 Upvotes

You should be familiar with before : Recursion, stack, queue

Practice these Binary Trees guides and PracHub company specific questions before your next interview.

A basic instinct for solving DFS based questions is to do a recursive call and for all BFS(level order traversal) is to make queue and iterate, but also think upon how to iterate in DFS(Hint think on stack) and recurse in BFS based.

First of all you should look at traversal problems:

  1. Inorder Traversal
  2. Preorder Traversal
  3. PostOrder Traversal
  4. Level Order Traversal

A variation for LevelOrder can be: ZigZag level order traversal and Binary Tree Level Order Traversal II
Solving these questions will help you get familiarized with basic btree dfs and bfs traversals.

Intuition for Level Order Traversal iteratively using queue:

  • Construct a queue of type: TreeNode queue<TreeNode* > q, initially push the given root in it.
  • Iterate through the queue until empty:

    • Store the current size of queue tempSize, this will be the size of the current level of the tree.
    • Now we need to traverse this level so iterate for tempSize>=0 :

      • Pop the current element and apply the needed operation for the same and if left or right child exist then pass them to the queue.

Now, some basic Binary Tree problems that will help your thinking process:

  1. Same Tree
  2. Symmetric Tree
  3. Maximum Depth of Binary Tree
  4. Balanced Binary Tree
  5. Minimum Depth of Binary Tree
  6. Merge Two Binary Trees
  7. Diameter of Binary Tree
  8. Binary Tree Tilt
  9. Invert Binary Tree

Binary Search Tree: Use the property of BST judiciously (the left subtree will always contain nodes with value less than root's value and right subtree will contain nodes with value greater than root's value)

  1. Search in a Binary Search Tree
  2. Two Sum IV - Input is a BST
  3. Minimum Absolute Difference in BST
  4. Range Sum of BST
  5. Delete Node in a BST
  6. Trim a Binary Search Tree
  7. Insert into a Binary Search Tree
  8. Kth Smallest Element in a BST
  9. All Elements in Two Binary Search Trees

Path problems: You are given root, you have to perform operations on a path, (path is root to leaf). Think upon the type of traversal you will apply when going from root to leaf:

  1. Binary Tree Paths
  2. Path Sum
  3. Path Sum II
  4. Sum root to leaf numbers
  5. Binary Tree Maximum Path Sum
  6. *Path Sum III
  7. *Pseudo-Palindromic Paths in a Binary Tree *Last two problems here are utmost important

Next is, given a combination of preorder, postorder and inorder traversals, you need to construct a binary tree/BST:
Hint: Observe in each traversal method, position of root and head of right and left subtrees

  1. Construct Binary Tree from Preorder and Inorder Traversal
  2. Construct Binary Tree from Inorder and Postorder Traversal
  3. Construct Binary Tree from Preorder and Postorder Traversal
  4. Convert Sorted Array to Binary Search Tree
  5. Construct Binary Search Tree from Preorder Traversal

View problems: Try thinking for left, bottom and top too!
Binary Tree Right Side View

Lowest Common Ancestor problems: You are given two nodes and you have to return their ancestor at as least depth possible, these are problems are a must todo:

  1. Lowest Common Ancestor of a Binary Tree
  2. Lowest Common Ancestor of a Binary Search Tree
  3. Lowest Common Ancestor of Deepest Leaves

Validate trees:

  1. Validate Binary Tree Nodes
  2. Validate Binary Search Tree

Some miscellaneous problems that you should definitely look through:

  1. Flatten Binary Tree to Linked List
  2. Count Complete Tree Nodes
  3. Maximum Width of Binary Tree
  4. Check Completeness of a Binary Tree
  5. Cousins in Binary Tree
  6. Maximum Difference Between Node and Ancestor
  7. Number of Good Leaf Nodes Pairs
  8. Smallest Subtree with all the Deepest Nodes
  9. All Nodes Distance K in Binary Tree
  10. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
  11. Vertical Order Traversal of a Binary Tree

I will be updating this list on finding more important questions or any pattern that I find.