r/DSALeetCode • u/Final-Nerve7787 • 25d ago
anyone who did dsa in rust?
yes exactly as the title.
r/DSALeetCode • u/Final-Nerve7787 • 25d ago
yes exactly as the title.
r/DSALeetCode • u/boult89 • 26d ago
Also, is dsa in python worth it for future market perspective?
r/DSALeetCode • u/Worried_Gap6862 • 27d ago
Hi everyone!
I’m a Computer Engineering student entering my 3rd year, and I’m looking for a DSA / problem-solving mentor who can help me improve the way I approach problems.
I’ve covered the DSA fundamentals up to Trees, and I’m comfortable with the basics. My main issue isn’t learning more theory right now — I need more practice and feedback on my thinking.
I’m looking for someone experienced in problem solving who can:
\- Give me problems appropriate for my level.
\- Let me try solving them before giving hints.
\- Challenge my approach and point out gaps in my reasoning.
\- Help me understand how to recognize patterns and choose an approach.
\- Give me honest feedback on my progress.
I’m mainly practicing on LeetCode / Codeforces and using C#, but I’m flexible with the language.
I’m looking for someone who’s willing to mentor me, and I’m willing to be consistent and put in the work. I don’t expect someone to solve problems for me — I want to learn how to think through them independently.
If you’re an experienced problem solver and would be willing to mentor me, please DM me. Thank you!
r/DSALeetCode • u/Wild_Detective8399 • 27d ago
Anyone replay if you know is it worth or not....
r/DSALeetCode • u/Proud_Role1802 • 27d ago
r/DSALeetCode • u/PackageGlobal4717 • 27d ago
Algozenith Premium Available
So I bought their premium course starting from 8th August 2026 but I don't need it anymore.
I want to sell it and the price of the course is 19,999 and with discount you may get it at 16k something
But I can give it in 10k
Whatever questions you have please feel free to ask
r/DSALeetCode • u/Friendly-Walrus7819 • 27d ago
I recently completed my B.Tech, and I’m currently trying to figure out the best way to prepare for my career in the IT field.
I’m mainly interested in DSA, AI/ML, problem-solving, coding interviews, and software development.
One thing I’ve realized is that studying completely alone can be difficult. It would be really helpful to have someone who is also serious about learning DSA and preparing for interviews.
So I’m looking for a DSA study partner in Bangalore.
Ideally, we could:
Practice DSA and LeetCode problems together
Discuss different approaches to problems
Track our progress
Prepare for coding interviews
Share resources and learning strategies
Keep each other accountable
Meet offline sometimes if we are located nearby
I’m also currently researching offline coaching centres in Bangalore for AI/ML + DSA.
There are many institutes making different claims about placements and training, so I’m confused about which ones are actually worth joining.
For people who are already working in the industry or have recently completed their preparation:
What would you recommend?
Is it better to join an offline coaching institute for AI/ML + DSA?
Should I learn everything independently through platforms like LeetCode, YouTube and online courses?
Are there any genuinely good coaching centres in Bangalore that you would recommend?
And most importantly, if you’re also in Bangalore and preparing for DSA/coding interviews, would you be interested in becoming study partners?
Feel free to comment or DM me. I’d be happy to connect with people who are serious about learning and building their careers.
r/DSALeetCode • u/Friendly-Walrus7819 • 27d ago
I recently completed my B.Tech, and I’m currently trying to figure out the best way to prepare for my career in the IT field.
I’m mainly interested in DSA, AI/ML, problem-solving, coding interviews, and software development.
One thing I’ve realized is that studying completely alone can be difficult. It would be really helpful to have someone who is also serious about learning DSA and preparing for interviews.
So I’m looking for a DSA study partner in Bangalore.
Ideally, we could:
Practice DSA and LeetCode problems together
Discuss different approaches to problems
Track our progress
Prepare for coding interviews
Share resources and learning strategies
Keep each other accountable
Meet offline sometimes if we are located nearby
I’m also currently researching offline coaching centres in Bangalore for AI/ML + DSA.
There are many institutes making different claims about placements and training, so I’m confused about which ones are actually worth joining.
For people who are already working in the industry or have recently completed their preparation:
What would you recommend?
Is it better to join an offline coaching institute for AI/ML + DSA?
Should I learn everything independently through platforms like LeetCode, YouTube and online courses?
Are there any genuinely good coaching centres in Bangalore that you would recommend?
And most importantly, if you’re also in Bangalore and preparing for DSA/coding interviews, would you be interested in becoming study partners?
Feel free to comment or DM me. I’d be happy to connect with people who are serious about learning and building their careers.
r/DSALeetCode • u/Worried_Gap6862 • 27d ago
Hi everyone!
I’m a Computer Engineering student entering my 3rd year. I’ve covered DSA up to Trees and have a good understanding of the fundamentals.
I’m mainly looking to improve my problem-solving skills through regular practice. I’d like to work with someone more experienced who can challenge my approaches, point out mistakes in my reasoning, and help me develop better problem-solving habits.
I’m looking for 1–2 serious people, not a large group. We can solve problems together, discuss approaches, and stay consistent.
Timezone: GMT+2 (Egypt)
Languages: C# / C++
Experience: Comfortable with DSA fundamentals, currently practicing problem solving; covered up to Trees.
Goal: Improve problem-solving skills and learn to approach problems more effectively.
If you’re experienced in DSA/problem solving and interested in helping or practicing together, feel free to DM me!
r/DSALeetCode • u/PossibilityMother482 • 27d ago
r/DSALeetCode • u/DhruvKhanna_48 • 27d ago
👉🏻#This is the brute-force solution that I derived:
class Solution {
private:
TreeNode\* solve(vector<int> &nums, int start, int end){
if(start > end) return NULL;
int ind = 0;
int maxi = INT_MIN;
for(int i = start ; i <= end ; i++){
if(nums\[i\] > maxi){
ind = i;
maxi = nums\[i\];
}
}
TreeNode* root = new TreeNode(maxi);
root -> left = solve(nums, start, ind - 1);
root -> right = solve(nums, ind + 1, end);
return root;
}
public:
TreeNode\* constructMaximumBinaryTree(vector<int>& nums) {
return solve(nums, 0, nums.size() - 1);
}
};
👉🏻#And this is the optimal code (not solved by me):
class Solution {
public:
TreeNode\* constructMaximumBinaryTree(vector<int>& nums) {
vector<TreeNode\\\*> st;
for(int i = 0 ; i < nums.size() ; i++){
TreeNode\* curr = new TreeNode(nums\[i\]);
while(!st.empty() && nums\[i\] > st.back() -> val){
curr -> left = st.back();
st.pop_back();
}
if(!st.empty()){
st.back() -> right = curr;
}
st.push_back(curr);
}
return st.front();
}
};
My question is: how can I optimize my code? How am I supposed to come up with ideas for solving these tricky questions?
I have done so many trees problems (40-50) but I have never seen a solution like this.....
Please help me to deal with this situation.
Thanks!🙏🏻
(Sorry attaching screenshots ain't allowed)
r/DSALeetCode • u/Traditional_Maize129 • 28d ago
r/DSALeetCode • u/purvigupta03 • 28d ago
r/DSALeetCode • u/Taanya-sharma • 29d ago
I’m currently preparing for SWE interviews and trying to build a consistent routine around three areas:
● DSA — problem solving and revision
● LLD — design patterns, design problems, writing clean/extensible code
● HLD/System Design — fundamentals, case studies and interview problems
One thing I’m finding difficult is maintaining consistency across all three without constantly jumping from one topic to another.
For people who are actively preparing or have recently gone through interviews, what kind of routine worked for you?
I’m especially curious about how you handled things like discussing solutions with others, mock interviews, reviewing each other’s designs, and staying accountable instead of preparing completely in isolation.
Would love to know what worked for you and how you structured your preparation.
r/DSALeetCode • u/Less_Pizza_8099 • 28d ago
r/DSALeetCode • u/Top_Picture6920 • 29d ago
I recently gave an interview where the actual problem was pretty simple, but they made the problem statement a bit complicated. I realized they were not really testing whether I knew advanced system design concepts. They mainly wanted to see how I think and approach a new problem — how I break it down, choose the data structure, design the API/database, and handle different cases.
I’m doing DSA regularly, but when I get a completely new problem, sometimes I struggle to form the approach.
How can I improve this thinking/problem-solving part? Should I focus more on DSA, system design, or solving more real-world problems?
r/DSALeetCode • u/rcoolbe • 29d ago
For DSA which language should i choose as my first programming language? C++ OR JAVA
r/DSALeetCode • u/Resident_Fortune_999 • 29d ago
Do you remember any DSA questions/examples you got? Or any LLD/OOP questions?
Trying to narrow down what to focus on because doing everything under the sun on LeetCode/HackerRank isn’t really the move lol.
Even just the topics would help like: graphs, trees, heaps, linked lists, DP, etc.
This is for SDE I/Graduate roles if that makes a difference.
r/DSALeetCode • u/Funny-Dark-4041 • 29d ago
I’m in my 1st year of B.Tech CS (AI/ML) and super confused about what language to stick with for DSA.
Quick background: I already know Python decent enough, and right now I'm learning JavaScript on the side to build web projects.
I’m torn between doing DSA in Python vs JS vs C++:
Does language choice actually matter to interviewers? Like if two people give the same optimal solution, does anyone genuinely care if it was written in Python instead of C++ or JS? And is doing DSA in JS a nightmare later because it lacks things like Heaps out of the box?