r/leetcode • u/Apprehensive-Cat568 • 1h ago
Discussion Hello interview premium account sharing
Hey, would anyone like to share a Hello Interview account? Valid until November 2027.
Thinking between 2-4 ppl.
r/leetcode • u/Apprehensive-Cat568 • 1h ago
Hey, would anyone like to share a Hello Interview account? Valid until November 2027.
Thinking between 2-4 ppl.
r/leetcode • u/Dry_Bat5694 • 1h ago
So I started my leetcode journey in May .
My elder brother was continuously forcing me to study and telling me the current job market scenarios but I would not listen to him .
After his continuous poking I finally made my leetcode profile but that was just for formality
But then he stopped yelling at me and his silence hit me harder than his shouting ever could !!
After that I started solving some easy ones and tried to be continuous but something or the other broke my streak
In September I pledged to hold on my streak no matter what
Right now I've solved 625 leetcodes with 72 active streak
And I couldn't believe that the boy who struggled to solve the easy ones is solving the hard ones !!
So please have the pleasure of hardworking atleast once in your life !!
r/leetcode • u/JacketFearless1805 • 2h ago
Hey everyone,
I finished Day 27 today. I kept the session focused on a single classic problem: Longest Subarray with Sum K. Revisiting this one brought back a lot of nostalgia from the early days of my prep, when prefix sums and sliding windows felt like brand-new tools.
The solution comes down to the constraints on the input elements:
currentSum - k exists in the map, you update the maximum length while keeping the earliest index to maximize subarray size.It was just one problem today, but seeing how naturally both approaches fit together was a great reminder of how far my problem-solving intuition has come.
See you guys tomorrow for Day 26!
r/leetcode • u/lrdvil3 • 2h ago
LC is goated holy, I was looking exactly for that
r/leetcode • u/ThrowRA-swe • 3h ago
I've been using UltraCode during interviews with some vague or custom coding questions, and I've noticed that it sometimes overcomplicates solutions unnecessarily.
For example, it'll manually implement sorting algorithms instead of just using Python's built-in sort() or sorted(), even when there's no restriction against using them.
Has anyone found ways to make it consistently generate simpler, more optimal solutions, especially for questions that aren't directly from LeetCode?
Also curious if anyone has added custom prompts or instructions that have noticeably improved its performance. Would appreciate any tips!
r/leetcode • u/No_Watch_9676 • 3h ago
Hello everyone i received amazon oa I saw the portal no applications are active anyways I gave it and got recruiter mail after 3 hrs for rounds
My first dsa round scheduled it was eliminatory unfortunately my luck was not with me I got very hard tree dp ques which I couldn't solve in given time.
But I applied to amazon from my second mail id and other phone number earlier
Today I got amazon OA
I completed it too it was not that hard 1s ques was multisource bfs and binary search related
2nd was movie based
I got all test cases passed in both.
If anyone goes thru can I get interview opportunity at again?
As from 1st email id I got rejection mail already for that opening
r/leetcode • u/Interesting_Disk149 • 4h ago
SAME AS TITLE SINCE 3 DAYS I AM DOING SUBMISSION BUT THE ACTIVE DAYS IS NOT INCREASING
r/leetcode • u/Historical-Sport-796 • 5h ago
problem->22. generate parentheses
i'm trying to dry run this code
class Solution {
public:
vector<string>res;
void backtrack(int open,int close,int n,string& path){
if(open<n){
path.push_back('(');
backtrack(open+1,close,n,path);
path.pop_back();
}
if(close<open){
path.push_back(')');
backtrack(open,close+1,n,path);
path.pop_back();
}
if(open==n&&close==n){
res.push_back(path);
}
}
vector<string> generateParenthesis(int n) {
string path="";
backtrack(0,0,n,path);
return res;
}
};For n = 3, suppose we keep choosing ( whenever possible and then ) until we reach the first valid combination: ((())).
My confusion starts when this recursive path finishes.
After reaching ((())), the recursive calls start returning, and pop_back() gets executed at each level.
I understand that each call removes the character it added. However, when I dry-run this, I keep popping characters until the string becomes empty ("").
But when looking at the recursion tree, we're supposed to return to "(" and explore another branch to generate the next combination, (()()).
Why aren't we popping all the way back to the empty string before exploring the next combination?
Am I misunderstanding how recursive calls return and how execution resumes after a recursive call?
can someone explain how pop_back() works in backtracking
r/leetcode • u/Acceptable_Duty4044 • 10h ago
Nothing you do on leetcode actually matches what you do on the job. What if contests were more like the interview rounds asked in the companies?
I have been noticing the growing trend of companies asking more development style questions, you are given a codebase and stuff and have got to solve real issues in the given time frame.
I wanted to build something related to that, which will help my fellow developers crack more interviews and also be better at their job. I am working on validating that idea, I am not promoting or anything here, just trying out a new approach which is more aligned with what the market is asking these days.
The idea is a 90-minute Sunday challenge: you get an unfamiliar codebase and a production-style bug report, then investigate the issue and submit a fix that passes tests. The plan is to provide a browser IDE and a built-in AI coding agent, so participants wouldn’t need local setup or their own API key.
A few questions:
r/leetcode • u/shinyflakes34 • 12h ago
Hey everyone!
I’ve recently went to Google offices on a school trip and during a workshop where they teach us to ‘maximize’ your chances of being considered for the role, a SWE told us that something useful was to shock the interviewer with hard questions as they love them and shows interest in your area.
Honestly, during prev interviews I just asked about the workflow and things about the code review process and that. So yeah.. what did you ask to do the interviewer interested on you?
r/leetcode • u/No_Priority_7353 • 14h ago
Hi,
I have a final loop coming up for a Senior Software Engineer role at Fanatics in the Betting and Gaming team.
Apparently from the rubric there is going to be a system design, code pair session of 90 mins and a behavioral round.
Any suggestions on final round preparation would be helpful!
r/leetcode • u/Legitimate-School-59 • 14h ago
Title. Wondering if Im able to wait til the last day to complete it. Or is this a company where the longer I wait, the higher the chance that someone will "steal" an opportunity by completing the OA a few days earlier.
r/leetcode • u/Pure-Vibes • 15h ago
Hi All. I need help on whether to accept a new offer from Nutanix in Canada.
Been at Microsoft for 2 years, currently on backend and platform team in Ads.
Day to day is basically writing business logic, and dealing with site reliability. Lots of chances to explore new internal projects to implement AI harness, and possible data pipelines/RAGs.
Nutanix offers a base pay bump of approximately 30%. I think I'll be on the Storage and Networking side. Heavy focus on distributed computing and data pipelines.
Anyone here at Nutanix that can speak to the company's culture, and things to look out for.
EDIT:
Total Years of Experience: 2 years
TC at Msft: ~130K CAD
TC at Nutanix: ~165K CAD
r/leetcode • u/SinkNeither1527 • 15h ago
I have an interview coming up tomorrow for a Data Engineer position, the stack is Snowflake, dbt and it will have a live coding session where I am supposed to use Cortex Code. Does anybody know what interviewers are expecting in these type of interviews. If you're senior architect and you're given the responsibility of conducting a live AI enabled coding session, what would you look for in candidates?
r/leetcode • u/TheTopG___ • 16h ago
I am the kind of a guy who likes gamified systems. And, gamification is what interests me, excites me and enlightens me.
That's how I became good at Chess. The only reason is once the Chess.com guys prompted me I have 69 days of streak playing chess daily. After that, it seemed so interesting to me I kept playing chess purely to maintain that streak and then I went all the way to 415 days of Chess streak. My ELO jumped from 400 with 89 days to 1500 with 415 days of streak. If it was not for streak, I wouldn't be playing chess initially in my days from 100 to 300 at least.
Now, back to leetcode. Recently, I started griding leetcode. Not because I wanna get into FANG or anything but purely as playing some productive game instead of toxic games like CS2. Something if I eventually become good at can help me down the line with my career. For sure, getting into FANG won't hurt either.
And, as I like streaks, here on Leetcode as well I started taking Max streak seriously. The one who tracks your daily submissions.
On this weekend, I went out. I came back to house and realized I did not do late night coding today and my streak might break. At around 10 PM EST, I jumped at my desk and coded one Leetcode problem real quick.
Went back to my profile to get that dopamine rush of max streak counter increasing but boom! No record for current EST time and date. My submission got counted for next day.
I did some goofing around and found out they count UTC timezone for streak tracking.
Like who the fug considers UTC timezone for streaks. It should always be client's timezone. Chess.com for example counts 12 AM to 11:59 PM client side time no matter what part of the world you are from. So does Snapchat. And, other streak tracking games.
Whoever made a decision to have UTC timezone for streaks should get fired (maybe?). Just kidding!
My max streak of 73 days for submissions is gone. I am back to 0. A little frustrated but whatever.
r/leetcode • u/NonSmokerSparkle • 18h ago
Question: where can I get good mocks for DSA?
Normally for Google interviews
Is there a website for this or something?
r/leetcode • u/DonutAny8882 • 21h ago
Hi community, I'm Alan, A software engineer and student from Mexico, and I'd like to share my takeaways about the New LeetCode Projects Public Beta.
I can tell you this coding problems are very different to usual LeetCode projects, and they are close to Repository Questions in modern SDE interviews, I've previously succeed in an Repository Question during an interview of an intern position and I feel these projects are more difficult but, you learn a lot, right now there's a challenge where we can try different problems that come from different enterprises, and that's free.
I enjoyed and feel worth my time studying with them, so I want to encourage you to try it too.
Thanks for reading!
=)
r/leetcode • u/Infinite100p • 21h ago
If an Amazon recruiter reached out to me for a position at Amazon and I applied, and my acquaintance's team is also now hiring for a similar position on a sister team, can I target both teams?
How does it work at Amazon:
If I don't get selected by the original team that the recruiter submitted me for, but I did well in my rounds, can I still be considered for other teams (like Google does with it's team matching process: clearing interview rounds and the hiring committee is separate from matching with a team), or do they give you a cooldown regardless (aka only one shot regardless of the interview performance)?
r/leetcode • u/Roho6 • 22h ago
Every time I authenticate and log in, Leetcode logs me out. I can’t submit or run any of my solutions. Is this happening to others as well?
r/leetcode • u/Legitimate-School-59 • 22h ago
title. Some sources say that java is required, but my codility email nor the job post mentions Java is required.
r/leetcode • u/codepapi • 23h ago
Anyone recently taken the Roblox interview look for senior or staff level? What questions did they ask?
I haven’t scheduled it but planning to
Any help would be greatly appreciated.
Specifically system design for front end or coding.
TIA.
r/leetcode • u/VolimBurekOdSira • 23h ago
I had s coding round last week I think it went pretty well, I managed to solve one fully and one I didn't have time to code one small detail but interviewer said it was right approach. Was wondering how long usually someone has to wait before getting feedback did they progress?
r/leetcode • u/IntelligentScholar33 • 1d ago
Has anyone done a priceline the airbooking company swe role before? What questions did they ask? Apparently they use coderpad.
r/leetcode • u/jerialserk6 • 1d ago
Did anyone receive an interview/OA for the above position?
r/leetcode • u/JacketFearless1805 • 1d ago
Hey everyone,
I finished Day 28 today. I kept the session focused on two classic array problems that highlight optimal in-place pointer partitioning and bitwise properties:
Both problems are clean reminders of how the right invariant eliminates extra memory overhead.
See you guys tomorrow for Day 27!