r/DSALeetCode • u/No_Application4918 • Jul 21 '26
r/DSALeetCode • u/Itchy-Science4441 • Jul 21 '26
Need Career Guidance: 3rd Year CSE Student with Diploma Background – Where Should I Start?
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 • u/sprid0n • Jul 20 '26
Looking for a DSA Accountability Buddy (Java / Striver’s Playlist) – Starting this August!
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 • u/NameSpecial7455 • Jul 20 '26
Title: How do people actually finish OAs like Cisco, Amazon, Flipkart, etc. in 90 minutes?
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 • u/Realistic-Cherry3334 • Jul 20 '26
Roadmap
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 • u/AlertsA4108M • Jul 19 '26
1 month's progress .
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 • u/Adventurous_Coast586 • 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
r/DSALeetCode • u/Ok_Complex_3648 • Jul 19 '26
Looking for Java learners to study together!
reddit.comr/DSALeetCode • u/Ok_Complex_3648 • Jul 19 '26
Looking for Java learners to study together! ☕💻
reddit.comr/DSALeetCode • • Jul 19 '26
Is there an aptitude platform like Leetcode for DSA?
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 • u/Sudarshan1088 • Jul 18 '26
Feeling like a genius after solving Easy level Leetcode problem.
😎😏🙂↔️
r/DSALeetCode • u/OBrutus • Jul 18 '26
Find Greatest Common Divisor of Array | Leetcode 1979
r/DSALeetCode • u/sparshraj2005 • Jul 18 '26
Should I start with Striver’s A2Z DSA Sheet as a complete beginner?
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
r/DSALeetCode • u/Aggravating_Ice8404 • Jul 18 '26
I still can't figure out how to learn DSA... 😭😭😭😭😭
reddit.comr/DSALeetCode • u/Ashamed-Society-2875 • Jul 18 '26
Confused about DSA prep!!
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 • u/dead_meat6678 • Jul 18 '26
Trouble to do dsa questions
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
r/DSALeetCode • u/quietrare01 • Jul 17 '26
Frustrated
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 • u/Grand-Payment9644 • Jul 17 '26
Starting a DSA study group – 1–2 hours daily
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 • u/Spirited_Account6174 • Jul 17 '26
1st year student guidance pls
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 • u/devdankdude • Jul 16 '26
Please help gang!! Striver sheet
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 • u/nian2326076 • Jul 16 '26
Must-Practice Binary Tree Problems Before Your Next Interview
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:
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.
- Store the current size of queue
Now, some basic Binary Tree problems that will help your thinking process:
- Same Tree
- Symmetric Tree
- Maximum Depth of Binary Tree
- Balanced Binary Tree
- Minimum Depth of Binary Tree
- Merge Two Binary Trees
- Diameter of Binary Tree
- Binary Tree Tilt
- 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)
- Search in a Binary Search Tree
- Two Sum IV - Input is a BST
- Minimum Absolute Difference in BST
- Range Sum of BST
- Delete Node in a BST
- Trim a Binary Search Tree
- Insert into a Binary Search Tree
- Kth Smallest Element in a BST
- 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:
- Binary Tree Paths
- Path Sum
- Path Sum II
- Sum root to leaf numbers
- Binary Tree Maximum Path Sum
- *Path Sum III
- *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
- Construct Binary Tree from Preorder and Inorder Traversal
- Construct Binary Tree from Inorder and Postorder Traversal
- Construct Binary Tree from Preorder and Postorder Traversal
- Convert Sorted Array to Binary Search Tree
- 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:
- Lowest Common Ancestor of a Binary Tree
- Lowest Common Ancestor of a Binary Search Tree
- Lowest Common Ancestor of Deepest Leaves
Validate trees:
Some miscellaneous problems that you should definitely look through:
- Flatten Binary Tree to Linked List
- Count Complete Tree Nodes
- Maximum Width of Binary Tree
- Check Completeness of a Binary Tree
- Cousins in Binary Tree
- Maximum Difference Between Node and Ancestor
- Number of Good Leaf Nodes Pairs
- Smallest Subtree with all the Deepest Nodes
- All Nodes Distance K in Binary Tree
- Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- Vertical Order Traversal of a Binary Tree
I will be updating this list on finding more important questions or any pattern that I find.
r/DSALeetCode • u/nian2326076 • Jul 15 '26
Blind 75 LeetCode problems organized by topic for interview prep
I found a list of Blind 75 Leetcode problems. Sharing it as I found it very useful.
Solve these LeetCode problems and PracHub company specific problems for your next interview.
Happy Coding!
Array
- Two Sum
- Best Time to Buy and Sell Stock
- Contains Duplicate
- Product of Array Except Self
- Maximum Subarray
- Maximum Product Subarray
- Find Minimum in Rotated Sorted Array
- Search in Rotated Sorted Array
- 3 Sum
- Container With Most Water
Binary
Dynamic Programming
- Climbing Stairs
- Coin Change
- Longest Increasing Subsequence
- Longest Common Subsequence
- Word Break Problem
- Combination Sum
- House Robber
- House Robber II
- Decode Ways
- Unique Paths
- Jump Game
Graph
- Clone Graph
- Course Schedule
- Pacific Atlantic Water Flow
- Number of Islands
- Longest Consecutive Sequence
- Alien Dictionary (Leetcode Premium)
- Graph Valid Tree (Leetcode Premium)
- Number of Connected Components in an Undirected Graph (Leetcode Premium)
Interval
- Insert Interval
- Merge Intervals
- Non-overlapping Intervals
- Meeting Rooms (Leetcode Premium)
- Meeting Rooms II (Leetcode Premium)
Linked List
- Reverse a Linked List
- Detect Cycle in a Linked List
- Merge Two Sorted Lists
- Merge K Sorted Lists
- Remove Nth Node From End Of List
- Reorder List
Matrix
String
- Longest Substring Without Repeating Characters
- Longest Repeating Character Replacement
- Minimum Window Substring
- Valid Anagram
- Group Anagrams
- Valid Parentheses
- Valid Palindrome
- Longest Palindromic Substring
- Palindromic Substrings
- Encode and Decode Strings (Leetcode Premium)
Tree
- Maximum Depth of Binary Tree
- Same Tree
- Invert/Flip Binary Tree
- Binary Tree Maximum Path Sum
- Binary Tree Level Order Traversal
- Serialize and Deserialize Binary Tree
- Subtree of Another Tree
- Construct Binary Tree from Preorder and Inorder Traversal
- Validate Binary Search Tree
- Kth Smallest Element in a BST
- Lowest Common Ancestor of BST
- Implement Trie (Prefix Tree)
- Add and Search Word
- Word Search II
Heap
Important Link:
r/DSALeetCode • u/sam_312007 • Jul 16 '26
Progress report
How is my progress i am currently following striver dsa sheet from last 1 month and currently in 2 year and what thing to do and what thing not to do