Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "leetcode"
-
I'm cracking up...
"chatGPT will ruin the software interviewing industry!!!"
uh.... what does it tell you about our industry if a fucking ROBOT can "ruin" the interview
well, you're right. it tells you that only algorithmic robots do well and subsequently earn the top spots at software companies after interviewing.
creativity, grit, perspective, wisdom? that stuff is absolute bullshit!!! (and as a feeble human I can't figure that out in an interview anyway!!! better just have you solve leetcode problems ad naseum!!! that'll get us the best employee!!!)
god i hate the dumb fuck rat race. good thing i'm not in it anymore! peace out, girl scout✌️5 -
For the first two year of my engineering I believed having a good developer profile will land you in top companies(eg FAANG).
Later I realised doing competitive coding will help you to get in those companies.
But at the end I saw one of my friend getting into those companies by only doing specific type questions that are usually asked in these companies.
Moral of the story - Just by practicing some specific question from some premium website(eg leetcode), you could easily get into your dream company.
PS- I was not selected in any of these giant companies and later on took an internship in some start up which was again a tragedy for me.3 -
I fucking hate the fact that every tech company now needs for devs to be up-to-date with geeksforgeeks or leetcode to pass their interview.
Is there no other way to confirm that a Dev is legit?7 -
HR: you didn’t write in your job experience that you know kubernetes and we need people who know it.
Me: I wrote k8s
HR: What’s that ?
…
Do you know docker ?
Do you know what docker is ?
Do you use cloud ?
Can you read and write ?
Are you able to open the door with your left hand ?
What if we cut your hands and tell you to open the doors, how would you do that ?
What are your salary expectations?
Do you have questions, I can’t answer but I can forward them. Ask question, ask question, questions are important.
What is minimal wage you will agree to work ?
You wrote you worked with xy, are you comfortable with yx ?
We have fast hiring process consisting of 10 interviews, 5 coding assessments, 3 talks and finally you will meet the team and they will decide if you fit.
Why do you want to work … here ?
Why you want to work ?
How dare you want to work ?
Just find work, we’re happy you’re looking for it.
What databases you know ?
Do you know nosql databases ?
We need someone that knows a,b,c,d….x,y,z cause we use 1,2,3 … 9,10.
We need someone more senior in this technology cause we have more junior people.
Are you comfortable with big data?
We need someone who spoke on conference cause that’s how we validate that people can speak.
I see you haven’t used xy for a while ( have 5 years experience with xy ) we need someone who is more expert in xy.
How many years of experience you have in yz ??? (you need to guess how many we want cause we look for a fortune teller )
Not much changed in job hunting, taking my time to prepare to leetcode questions about graphs to get a job in which they will tell me to move button 1px to the left.
Need to make up some stories about how I was bad person at work and my boss was angry and told me to be better so I become better and we lived happy ever after. How I argued with coworkers but now I’m not arguing cause I can explain. How bad I was before and how good I am now. Cause you need to be a better person if you want to work in our happy creepy company.
Because you know… the tree of DOOM… The DOMs day.5 -
Several hours ago decided to quit my job due to insane manager (more in the upcoming rants) without a new job lined up.
An hour ago I got an interview invite from Uber.
WHAT IS HAPPENING
P.S. Anyone working at Uber? Did you have to do much LeetCode? I’ve done two LC exercises in my entire life. Not sure what to expect.10 -
2 leetcode hard questions in 60 mins. That's what I faced in few company interviews. Trust me, if that's the expectation you're having from candidate, you're looking for a leetcode monkey but not a software engineer!
To the interviewers who have such unrealistic expectations, please change your mindset. It's literally impossible to come up with optimal solutions to 2 leetcode hards in 60 mins if I haven't solved those problems before! It just becomes a memorization game not a problem solving round!!!
:)2 -
I've never solved any LeetCode problems.
I've never gotten grades above 80% in my academics.
I've never taken an online course in anything.
I've never gotten any certifications other than my Master's degree.
I've never written a CV for a job application.
How the fuck did I manage to survive for 7 years in this industry?13 -
Luck, grinding leetcode and using the hottest buzzwords in your resume to spark recruiters. Or having Yale in your resume in spite of your major being deer fecal biology and a minor in chemical analysis of deer semen (with doctoral experience in manual extraction of semenical fluid from bucks during rutting season...and no it doesn’t count as beastiality bc it’s science and it’s an Ivy League study so it’s a-ok)6
-
Well just blew up a coding interview.
Got an offer to be a Drupal dev and was expecting questions on Drupal API and module dev but got asked how to find the closest Enemy in an array and blah blah blah.
Interesting question but man. My mind got blank and got nervous. It's been a while since I've done a question like that and I've been coding for 10+ years.
I would've love to solve that in another language such as Python or C++ but got stuck on PHP because it was a Drupal position. But I only use PHP for Drupal modules and templates who are highly dependant on Drupal API. Or even WordPress plugins. But I try to avoid WordPress because is shit.
Guess the job market hasn't changed since I graduated back in 2014. So I feel a little bummed down. But I guess I'll just have to practice those type of problems as well. At least the problem solving method.
At least it will be an excuse to do those leetcode problems.7 -
I’m 2 months into my current job at a startup, and I’m starting to lose it. My PM doesn’t have any background in tech, features keep changing every week, and more requirements are added every other day.
To make things worse, I’m the only dev on board right now, despite the company burning ~$80k on a sweatshop to deliver code that’s barely half working.
When I asked if they’re getting another dev onboard, the co-founders said they couldn’t justify another dev since they blew a fat load on that sweatshop…
Time to get on the leetcode grind again 🙃2 -
WhaT DO you DO oUTsiDE oF wORK? tell ME SOmETHiNg INtereStInG, PreFerABLY noT RelaTED To yOUR joB Or iNdUStry.
You think I have "time" outside of work? I fucking huff copium like every other fucking wageslave, and we ain't fucking friends so I'm not going to divulge the exact types and flavors of choice for me to be judged.
I don't have the time, money or energy to fucking have some respectable instagrammable hobbies for your stupid like about wanting well rounded people.
We both know all you need from me is to not be an asshole.
At a certain point it feels like the industry is going to compete with girls for shit-testing people except we have whiteboarding leetcode as well.7 -
I quit my first dev job of less than 6 months. Nothing lined up but it was not what I wanted and I was burning out quickly. Felt like a zombie, thinking of my work after work, and unable to get anything into my head, isolated and other needs not met for an entry level developer.
I luckily have money saved up for a year and hitting leetcode and everything else. Will I find a job right away? Probably not. However, I took the first position within a month of interviews during the pandemic and regret that I stopped applying even when I saw the red signs.
I’m scared but I didn’t beat my head against the wall at school to be taken advantage of like this (imo they need a senior).
2020 was trash as a fresh grad but maybe this year will be different. I know more than before and I especially know what I don’t want.
Here we go again, no looking back now.2 -
Tech interview prep on leetCode... I solved this but wanted to read the optimal solution. I check the Solution page..... 😟 🙁 ☹️ 😣 😖 😖 😫 😩 😩 😦 😧 😮 😬 😬 😵
https://leetcode.com/problems/...
The way I solved it, basically just did a merge of the 2 lists as is iterates thru them...
Ialright i need a break after i try to understand this...
btw, tech/CS workers, when you approach a real problem do you think like this? Solve the problems in Big O and math symbols?7 -
Finally got an offer from a multinational org i could previously only dream of. Ugh i really deserve it plus i didn’t fuck myself over by not negotiating this time. Got an extra 10k on stock options which was wild. Bye bye leetcode, hello Netflix and weed for the next month until i resume in August.
Such a relief knowing my family will not starve and die (joke but i am my family’s support so i was a quite worried last month when the interviews just seemed endless).7 -
The saddest and funniest side of our industry is (atleast in India): someone works hard and makes it to the best colleges, do great projects on AI, ML; get a good score on Leetcode, codechef; gets a job in FAANG-like companies...
Changes colors in CSS and texts in HTML.
And, why is there so much emphasis on Data Structures and Algorithms? I mean, a little bit is fine, but why get obsessed with it when you never write algorithms in production code?
Now, don't tell me that, we use libraries and we should know what we are doing, no, we don't use algorithms even in libraries.
Now, before you tell me that MySQL uses B-tree for maintaining indexes, you really don't need to solve tricky questions to be able to understand how a B-tree works.
It's just absurd.
I know how to little bit on how design scalable systems.
I know how to write good code that is both modular and extensible.
I know how to mentor interns and turn them into employees.
I know how to mentor junior engineers (freshers) and help them get started.
Heck I can even invert a binary tree.
But some FAANG company would reject me because I cannot solve a very tricky dynamic programming question.4 -
There's nothing wrong with asking algorithm and data structure questions in an interview if the employer calls for it.
If you're hiring a junior and/or you desperately need workers, then you can lower the bar, but if you want to be picky, then asking them leetcode-tier coding questions is fine.
THERE'S NOTHING WRONG WITH ASKING A SOFTWARE ENGINEER CANDIDATE DATA STRUCTURES AND ALGORITHM QUESTIONS
If they complain that asking ds&a questions is unfair for a position where all they're going to do is shit-tier frontend work, then blacklist them for 10 years.
If people argue that Doctors don't get asked chemistry and biology questions for interviews, tell them it's because medicine is much more regulated than software and that doctors are vetted technically even before they're allowed to go job hunting. Since software doesn't have the same regulations medicine does, employers have to do the technical vetting themselves.
If you think it's unfair to ask software engineering questions to a candidate applying for a software engineering job, then find a different career.9 -
“Practical” tech interviews for senior roles (from my experience): DONT worry! We won’t give you any “leetcode” problems!! Instead, we’re giving you only 40 minutes to do this huge laundry list of tasks that are simple but hella time consuming. We want to see how fast you can type. So you have 40 minutes to write a mini app while we take note of the shit ton of simple errors you make due to the time crunch as your fingers burn through the keyboard and then wonder why no one can pass our “simple” tech exam!!!!
DAMMIT!! the only tech exams I enjoy are ones that involve refactoring existing code bc everything else is a fucking speed test! I’d also MUCH RATHER take these exams WITHOUT someone there taking notes like I’m a fucking lab monkey!10 -
Working on individual projects is a million times more fun than interview prep / doing Leetcode problems.
I wish companies looked at my few years of experience and personal projects rather than testing my knowledge by asking me some random "Hard level" Leetcode question. -
Okay I'm doing the whole leetcode bs, interviewing with a faang like company.
I'm genuinely curious to see if their engineers are actually any good. It seems backwards to me to hire someone based on something they most likely know by heart.
It's like trying to stress test an API by calling a cached endpoint. It will look fast AF, and it will be, but it won't compute shit.
Anyway, if I get the job and the engineers aren't crappy, then I'll forever stfu about how lame this is. But if I get the job and the devs are crappy, oh boy you'll hear me for a long time.3 -
5 years of leetcode with no progress. I'm giving up.
First some background, I have an undergraduate degree in computer science and one and a half years of professional coding experience which ended when I got fired for performance issues. I have worked diligently at Leetcode for those 5 years (exceptions occurred when I got ill). I have been personally coached by a google software engineer for months. I have done and given 100s of mock interviews and paid for some to be done by professionals. I have spent 100s if not thousands of hours on Leetcoding and algorithms trying to improve in any way I can imagine. I'm still not good enough.
This all came to a head yesterday when someone on Leetcode made a post about being able to solve every single Leetcode problem in a year within a year while managing a post doc degree and having almost no programming background (link at bottom of post). It made it clear that Leetcode is a game of talent not hard work. The difference between someone like her and someone like me must be noted by the programming community. The majority of people would not ever be able to accomplish that. I dedicated myself for 5 years to Leetcoding almost exclusively and still am no where near what that person has accomplished. I have put in much more work than that person and have gotten much less from it.
I believe the programming community can learn from this contrast. The culture of always trying harder and thinking success stories apply to everyone that is pervasive in programming circles is toxic. The is reality not everyone is lucky enough to be intellectually gifted to succeed and not all hard work pays off. I am proof of that and this is the type of story that needs to be shared and heard too.
I am quitting programming out of humility and recognition of my limitations. It’s ok to give up and wise to do so when you aren't good enough for something.12 -
This weekend, I have been grinding a lot on leetcode. Even though I am grinding part of me believe that the interview process is broken for relying too much on those questions. I know it's a way to filter but I still think it's broken. But I guess I have no choice since that's how the interviews work .
I guess from now to next 1-2 months I will be busy with leetcode. I also have to read some system design questions.
Fuck, so many things to prepare4 -
1) Learning little to nothing useful in formal post-secondary and wasting tons of time and money just to have pain and suffering.
"Let's talk about hardware disc sectors divisions in the database course, rather than most of you might find useful for industry."
"Lemme grade based on regurgitating my exact definitions of things, later I'll talk about historical failed network protocols, that have little to no relevance/importance because they fucking lost and we don't use them. Practical networking information? Nah."
"Back in the day we used to put a cup of water on top of our desktops, and if it started to shake a lot that's how you'd know your operating system was working real hard and 'thrashing' "
"Is like differentiation but is like cat looking at crystal ball"
"Not all husbands beat their wives, but statistically...." (this one was confusing and awkward to the point that the memory is mostly dropped)
Streams & lambdas in java, were a few slides in a powerpoint & not really tested. Turns out industry loves 'em.
2) Landed my first student job and get shoved on an old legacy project nobody wants to touch. Am isolated and not being taught or helped much, do poorly. Boss gets pissed at me and is unpleasant to work with and get help from. Gets to the point where I start to wonder if he starts to try and create a show of how much of a nuisance I am. He meddle with some logo I'm fixing, getting fussy about individual pixels and shades, and makes a big deal of knowing how to use GIMP and how he's sitting with me micromanaging. Monthly one on one's were uncomfortable and had him metaphorically jerking off about his lifestory career wise.
But I think I learned in code monkey industry, you gotta be capable of learning and making things happen with effectively no help at all. It's hard as fuck though.
3) Everytime I meet an asshole who knows more and accomplish than I do (that's a lot of people) with higher TC than me (also a lot of people). I despair as I realize I might sound like that without realizing it.
4) Everytime I encounter one of my glaring gaps in my knowledge and I'm ashamed of the fact I have plenty of them. Cargo cult programming.
5) I can't do leetcode hards. Sometimes I suck at white board questions I haven't seen anything like before and anything similar to them before.
6) I also suck at some of the trivia questions in interviews. (Gosh I think I'd look that up in a search engine)
7) Mentorship is nigh non-existent. Gosh I'd love to be taught stuff so I'd know how to make technical design/architecture decisions and knowing tradeoffs between tech stack. So I can go beyond being a codemonkey.
8) Gave up and took an ok job outside of America rather than continuing to grind then try to interview into a high tier American company. Doubtful I'd ever manage to break in now, and TC would be sweet but am unsure if the rest would work out.
9) Assholes and trolls on stackoverflow, it's quite hard to ask questions sometimes it feels and now get closed, marked as dupe, or downvoted without explanation.3 -
joined blind today...
i don't see smart engineers...
all i see is a bunch of scared sheep blathering around and complaining and wondering why a job in a capitalist society isn't 100% secure all the time...
get off leet code for once and read a damn history book
🤡🤡🤡🤡🤡🤡4 -
I gave a technical interview today and here is summary how it went . interviewer asked me to login to leetcode account then .
Interviewer :- "Open this problem( he gave link) and open submission section".
Me :- "Yes sir" I opened it and I have solved that in past .
Interviewer :- "okay so you have solved this one so let's move to next question(2nd)".
I opened it and again I have already solved that in past. Then he gave 3rd and it was also solved by me already .
Then he said " Okay now I will share with you this problem which you have not solved and I am sure ".
He gave me a hard problem which I actually haven't solved . I would have solved the first 3 , the 4th one was actually hard and I was not able to optimise my code on time .
sometimes life is really tough 😪. he could have asked anyone of them 😕.7 -
Currently preparing for job interviews so I can leave this clownship of a company. I get extremely agitated when I fail so solve a leetcode problem.1
-
im not laid off (yet?)
but my company is doing layoffs , and it's my first time experiencing this
any tips on coping in such uncertainty and misery
i know when i get some spare time it's going to be time to update resume, leetcode and cold application hell to try and cover my bases6 -
Worst: lost my job due to the pandemic, and struggling to get interviews! Yes in spite of how well i did at my previous role (and please don’t give me crap about how they never would’ve laid me off if I was good, you’re just saying that to stroke your golden e-penis, you fucking reptilian scumbag) and with all that “experience” on my resume, I’m apparently not smart enough for these companies to even bother with. Yes if i kept failing tests a blind monkey would pass i would question my ability but that’s not the case. Yes my stack may be old but learning these newer tech stacks that recruiters love is a total cakewalk for me! They do so much cognitive lifting for you that I worry that if I don’t practice lower level stuff my mental capacity will diminish which is why I still solve leetcode problems lol.
Let’s not forget, I lost my dog this year too ☹️3 -
As a junior dev, should I waste my times on Working on real world project or should I just solve leetcode questions all days long (interview questions in general)?
Which one is better for me as a learner?7 -
I've been doing interview prep for almost two months now (off and on). Doing this course online to better understand algorithms and doing Leetcode problems here and there. Definitely not putting in 6 or even 8 hours a day into studying since I'm working, but fuck I feel so discouraged when I'm not even able to get an "easy" problem.
I really want to get better, and I know it takes a lot of patient and practice when it comes to problems. I try my best to tell myself "you haven't learned this yet" or "you'll get it soon", but in the end I just feel so discouraged that I want to quit practicing for interviews.
I hate that this profession requires people to spend X months or even years studying for an interview. That the 3-5 years of relative and good work experience means nothing more than passing a resume screening to get to a coding interview where they ask you a problem you'll never face in your career at X company.
Do I hate the process because I'm just bad at algorithms I don't use often? Or would I feel like it's just and fair if I understood things easier and were able to land jobs easily because I get all the algorithms?
I just want to be better.8 -
So i wasted last 24 hours trying to satisfy my ego over a shitty interview and revisiting my old job's codebase and realising that i still don't like that shit. just i am 25 and have no clue where am i heading at. i am just restless, my most of the decisions in 2023 have given very bad outcomes and i am just trying doing things to feel hopeful.
context for the interview story-----
my previous job was at a b2b marketing company whose sdk was used by various startups to send notifications to their users, track analytics etc. i understood most of it and don't find it to be any major engineering marvel, but that interviewer was very interested in asking me to design a system around it.
in my 1.2 years of job there, i found the codebase to be extremely and unnecessarily verbose ( java 7) with questionable fallbacks and resistance towards change from the managers. they were always like "we can't change it otherwise a lot of our client won't use our sdk". i still wrote a lot of testcases and tried to understand the working of major features.
BTW, before you guys go on a declare me an embarrassment of an engineer who doesn't know the product's code base, let me tell you that we are talking SDKs (plural) and a service based company here. their was just one SDK with interesting, heavy lifting stuff and 9 more SDKs which were mostly wrappers and less advanced libraries. i got tasks in all of them, and 70% of my time went into maintaining those and debugging client side bugs instead of exploring the "already-stable-dont-change" code base.
so based on my vague understanding and my even more vague memory from 1 year ago, i tried to explain an overall architecture to that interviewer guy. His face was screaming the word "pathetic" from his expressions, so i thought that today i will try to decode the codebase in 12-15 hours, publish a cool article and be proud of how much i know a so called martech system design. their codebase is open sourced, so it wasn't difficult to check it out once more.
but boy oh boy i got so bored. unnecessary clases , unnecessary callbacks static calls , oof. i tried to refactor a few classes, but even after removing 70% of codebase, i was still left with 100+ classes , most of them being 3000-4000 files long. and this is your plain old java library adding just 800kb to your project.
boring , boring stuff. i would probably need 2-3 more days to get an understanding of complete project, although by then i would be again questioning my life choices , that was this a good use of my 36 hours?
what IS a correct usage of my time? i am currently super dissatisfied with my job, so want to switch. i have been here for 6 months, so probably i wouldn't be going unless i get insane money or an irresistible company offer. For this i had devised a 2 part plan to either become good at modern hot buzz stuff in my domain( the one being currently popularized by dev influenzas) or become good at dsa/leetcode/cp. i suck bad at ds/algo stuff, nor am i much motivated. so went with that hot buzz stuff.
but then this interview expected me to be a mature dev with system design knowledge... agh fuck. its festive season going on and am unable to buy any cool shirts since i am so much limited with my money from my mediocre salary and loans. and mom wants to buy a home too... yeah kill me3 -
My goal is to study for 300 hours (coding problems, behavioral, and system design combined) before I start applying for companies.
Is this overkill? Is it enough?
I put a "stop" on my studying since I know there will always be a question that's a "got-ya" or some extremely hard Leetcode question that require some obscure algorithm from college that had 1 figure about it.5 -
Bruh, tbh, this is kind of going to be a sad rant.
tl;dr: LEETCODE THE FUCK UP AND GET INTO FANG.
For all the people out there, just stop fucking around with small companies/startups early in your career. Leetcode up and get into FANG. Once you have that validation, these startups will be much easier to get into.
I have gone through this first hand.
After amazing on-sites with multiple startups, where everyone said that I'm the kind of person they're looking for (background wise: CS grad, startup experience, 2+ YOE as a fullstack Dev using Java, py, js and all the famous frameworks you could name), they rejected me.
Heck, a company flew me out to SF from Seattle where I think I had had my best on-site ever. They rejected me today. The sad part is that I actually for once really believed in the mission of the company.
At this point, I have wasted so much time reading about the xyz startup that's about to disrupt pqr industry (to prepare for behavioral/cultural interview), practiced for such shitty interviews like pair programming etc., worked on numerous take home projects (completing all those "bonus" parts) and deploying it and spending money out of my own pocket for that.
I'M JUST FUCKING DONE WITH THIS SHIT.
I have given mock interviews with ex bosses and friends and they told me that I'm good. Heck, I even solved a LC medium in 20 minutes (optimal solution) but still got rejected.
I'm kind of writing this for myself and people who are on the same boat as I am:
Get into FANG and then think about other shit. STOP looking for smaller companies and being scared of getting your ass kicked by a Leetcode interview. Any company who would not take LC interviews will prefer someone from FANG unless you're lucky as fuck. You don't want your career to be based on luck, man. That shit's not gonna take you anywhere.4 -
Solving leetcode problems for fun, as I’m highly interested in algorithm problems....and I go to the area where the discussion is, and this spaghetti is the first thing I see 😱13
-
Wouldn’t it be great if there was a “Data Structures and Algorithms” certification that provided validation of your skills and was industry-wide accepted so that you don’t need to go through the same leetcode coding interviews at every new job
It’s rare to see a profession where experience means so little during the hiring process10 -
Y tf am I getting medium and hard leetcode questions for internships and entry level jobs at small and relatively unknown companies3
-
does recursion have any practical use outside of being a cute/elegant solution under constraints where stack overflow isn't a concern due to small input size, and leetcode?
im having trouble thinking of anywhere you could justify using recursion in industry outside of leetcoding people
i assume the iterative approach would be preferred in scenarios where scaling matters18 -
Leetcode.
It doesn't matter if you've done multiple projects with different tools, languages, team sizes and requirements for ANY company / org etc.
You will feel fucking stupid while taking too long on some of these questions.
I know interview questions are mostly to test your critical thinking skills but fuck I feel so bad after 2 evenings of doing this shit.
It is addictive though...2 -
Where do I start on Leetcode? There is
- Top Interview Questions
- Easy, Medium and Hard Interview sections
- DS and Algo Study Plans
Pleh?2 -
Not gonna lie, been chipping away at this for almost an hour and I can't figure out how to solve it, let alone elegantly:
https://leetcode.com/problems/...37 -
Another leetcode interview down. I really appreciate the options to choose your own language nowadays; being forced to use C to figure out byte gaps is like being forced to clean the freeway with a toothbrush!1
-
C++ or Python for coding interviews?
I used to do a lot of developments in Python and JS/TS. But now I have been doing a lot of back-end stuff in Golang at work (1+ year) and C++ for some of my side projects. So when I started grinding leetcode, I used C++ all the way.
Today this question struck me and I keep thinking if I should continue with C++ or use Python, which will help me focus more on the question than the language.5 -
if I have to perform coding tests on CodeSignal, should be good enough to practice some hours on leetcode or hacker rank? I don't want to blow up this one, I need to job
-
Open leetcode, try to convince myself to use rust for leetcode to learn rust
Got so confused
Open discussion
Got tired of opening discussion every time
Wrote a plug-in for chrome that automatically loads discussion code at the submission page
Never touched leetcode again lmao2 -
What do you think about my solution to two sum?
https://leetcode.com/problems/...
It took me about 10 seconds to realize it can be solved this way, and then FUCKING HALF AN HOUR until i finally wrote the actual code in a way that worked as it should...
...i really should sleep more. and get examined for brain decomposition or something.8 -
I've been doing pretty well since lockdown (March) and making some projects to spent my time and practicing problems on hackerrank, leetcode, etc.
But now I don't feel like it anymore, another day passes by where I decide to solve or make something but still can't somehow.
my GitHub's contribution shows no activity since 4 weeks, how do you guys keep yourself motivated every day?
coz this lockdown is soo draining. ugh 🤦🏻♂️ -
What should I do if I can't get a Leetcode answer?
Should I just keep hammering along and stress myself out until I get the answer, or look at the answer and try to learn from that?
I'm trying to find a new job and am pretty shit at algorithms.5 -
Hey DevRant fam!,
I hope everyone is well as always! I was just curious... Very recently i bumped into a website called 'LeetCode' and was curious about trying to solve some problems for fun. However to me it seems that i get stuck on the wording or it just gets confusing,. I personally always enjoyed building things but wasn't really a fan of doing the actual coding problems from websites like this not sure if that is a terrible thing?, was wondering has anyone else been in this position? Maybe i'm lacking something? :-)
Would love to hear anyone's input! thank you for taking the time to read through my post as always!
Cheers!.2 -
I really need some advice.
So the company I have been at the last year and a half wants to give me my first compensation evaluation at my two year mark. It makes me feel underappreciated and just unhappy, so I'm starting to look elsewhere.
How should I prepare for interviews? Cracking the Coding Interview, then Leetcode (free), then Leetcode paid (Pro), then ??? I am frontend so I don't deal with BSTs and such ever.
Any advice would be appreciated on how to proceed with my career.1 -
How it all started today: achieved rank below 100 for the first time in a coding competition.
How it's all ending: not able to solve even a single problem now. Not even the Leetcode easy ones.
Conclusion: a happy beginning can end depressing.
Cheers to Programmers...3 -
My vague naive extreme understanding of interview questions are on a spectrum from situation a to situation b.
But what should the industry be doing? Is the industry just going wrong blindly copying big N companies hiring process without the same rationale? (e.g. they need computer scientists able to deal with problems specific to them at their size and that often means creating new tech, unreal problem solving abilities and cuh-rayzee knowledge)
a) stupid fucking theoretical shit that some people argue you won't ever need to be doing in practice for most companies, while giving you no ability to google, leetcode hard problems kind of stuff
b) practical work similar to what you'd be doing on the job, small bugs, tasks, pair programming on site with your potential future coworkers
Lots of people hate option a because it's puzzle/problem solving that isn't always closely related to what's on the job. Whiteboarding is arguably very much a separate skill. (Arguably unless it's like a big N company where you want computer scientists to deal with specific problems that aren't seen elsewhere, and you're making new tech to deal with your specific problems.)
We could go to the extreme of Option b, but it tends to trigger people into shitfits of "NO, HOW DARE YOU MAKE ME DO REAL WORK, BUT NOT PAY ME FOR IT AT THE INTERVIEW STAGE"
That's before we get into how to execute option b whether or not it's being given as a take home assignment (which is a huge pain in the ass and time sink, among other issues) vs a few hours at the potential workplace working with some of the future potential coworkers and soaking in the work environment (you have to figure out how to take the time off then)
Is it really just poor execution overall for the wrong use cases for the majority of the industry? What should the industry be doing in which cases.
Then this is all before HR screening with shit like where they might ask for more years of swift experience than its existed. -
tips on how to retain something in memory for a long time? especially if it is something difficult , unpleasant and rarely occurring event like usage of differential calculus or dsa/ leetcode questions ?5
-
I am a graduate student having a hard time finding an internship. I wasn't ready while the big companies were hiring for interns. 200 leetcode questions later I am confident I can crack an interview and now nobody wants to hire.
Most of the reject letters are pretty messed up stating that they have "found more talented individual" or "found a better candidate".
Applied to almost 200 companies, not one reply. :( Hope this doesn't happen during full-time job search.
I was rotting in my room practicing for the interviews and applying for the last two months during this winter break. Hope I don't sit idle during my summer break. :(4 -
I have come to the conclusion that I'm dumb as fuck.
I have been stuck on this trivial problem for 1 HOUR AND 46 MINUTES...
https://leetcode.com/problems/...
maybe, hopefully, just because i'm trying to do it in a "clever" way, maybe if i just did it the dumbest, most inefficient way i can think of, it would take me "only" like 15 minutes, but at this point i'm not so sure... :(37 -
context i am 20 y/o student studying in mumbai uni college
SO RECNTLY I GRABBED A INTERNSHIP AT A BIG SOFTWARE COMPANY AS A SDE INTERN
so before all this i was that guy of college who was never been invited to parties or nightouts as i am not from a rich Bg they used to tease me on my style of clothing how i used to talk my english is fluent still i used to get bullied. I just had this female friend of mine which everytime used to support me let it be Leetcode question staying up late with me for studies but she was also teased because of me as i was not from a well known family or had money to show flashy things... she was so happy when i got this internship
PS it is my first day of my internship i went to the campus it was so prettty as i havent see anything pretty as this office campus so i clicked the picture standing next to the company logo the watchmen clicked it for me as i was too early to the campus there were no on, i was smiling like a dumb person that security guy was happy after knowing my story then i posted it on my IG and snapchat then i went it wait for onboarding stuff and then i got to meet my HR and she discussed everything she was sweet enough to explain me everything in detail too friends staff then when i checked my phone when the day was completed from office
guess what all those people who used to mock me and my friend for being nerds and used to mock me because of my financial bg now they were congratulating me and asking me how i got this and all
so i just want you to know please don't judge anyone or bully anyone just because of their bg they are always suffering in dark i will like to thank my close friend which was always with me
ty guys for reading till end1 -
so am switching jobs as an Android dev from a company which made android libs (using almost 0 external dependencies and mostly java) to a company which makes android apps( and is probably using either rx/guava/ribs/hilt etc or the more fancy hilt/compose/coroutines/clean-arc etc. its either one of them depending upon the maturity of product)
B2C folks use tons of libraries in favor of delivering fast but learning about those libraries while taking new tasks and fixing bugs CAUSED by those libraries ( or their inappropriate usage) is a big PAIN IN THE FUCKING ASS.
I remember i had once became such a weird dev coz of my prev company ( before the current libraries one, which was also a B2C) .
on weekends i would come up with a nice app idea, start a new android studio project, and before writing a single line of useful code, i would add a bunch of libraries, gradle scripts and extensions .
that ocd will only settle once all the steps are done and i can see a working app after which i would write the code for actual code for feature implementation.
granted that these libs are good for creating robust scalable code, but most of the times those infinite kayers of seperation, inheritance and abstraction are not really needed for a simple , working product.
:/
i have also started reading about rxjava , and although i am repulsive to this library due to its complicated black box like structure, i find its vast number of operators nd built in solutions very cool.
at the end of the day, all i want is to write code that is good enough for monkeys, get it shipped without any objections and go back home.
and when you work on a codebase that has these complicated libs, you bet your ass that there will be thos leetcode bros and library lover senëõr devs waiting to delay the "go back home" part 😪2 -
Does anyone work at IBM? I saw open Front end engineer position in my country and I was wondering what the interviewing process might be. Does it involve leetcode exercises (never done those and I’m afraid they might give those to me)?3
-
I found my old ppt for my senior year project (A hackerrank or leetcode clone).
My love for minimalistic graphics started back then. -
I think for this one i had higher expectations which let to me being disappointed. Was a fun experience nonetheless.
So i am junior dev in a bigish company and i am pretty comfortable where i am, its challenging enough and fun enough. Pay is fine nothing out of ordinary but perks are nice.
But this job is the one i got out of college and it did feel that i got really lucky as i was preparing for leetcode and what not but the interviewer was pretty linient and asked me technical questions out of my cv. The questions were mostly about what i used and all felt quite easy and i was offered a role with a decent salary. Since then i have been working and learning and thing been pretty stable.
Recently i was hinted at a promotion by my manager so i have been working towards that. I have in the past got a lot of messages on LinkedIn from different recruiters but never tried because i was satisfied with my job and my visa condition made it a little tricky to hope jobs ( i work in eu as a non eu citizen). But i did fantasize that if i could just get an interview with a decent company and clear the technical round without much preparing and get offered a decent package just to inflate my ego and maybe use that to increase my current package.
So i got another message on LinkedIn and a startup was looking for a developer and i gave it a go. I asked the recruiter what is the expected compensation and he instead asked me. I said i want a big enough increase tk even consider leaving my comfortable spot, so i am looking for more than 35-40% increase If they can then i am willing to try. The recruiter said that their range is between 25-35 but can try 40 if the interviews goes well.
I went ahead with it and gave the interview, the first one was simple and the next one was supposed to be technical and was told its not leetcode but i will have to implement a feature into a project live on the video call. Which i did with some success, i was quite clumsy but i was able to do it with tests passing sl i guess that was fine.
I was really happy that i didnt prepare much and still passed a tech interview. I was recently told about the offer, its around 40% more than my current but there are no yearly bonus or even health insurance. If i consider the bonus and health insurance then the offer becomes like 20% increase. Considering i am already expecting a promotion and some salary increase this offer seems really lack luster.
Just wanted to talk about all this, can you get a really big jump generally or is it only 15-25 ?1 -
What’s the point of having side projects if your just asked to do leetcode to show your competency 😞
-
Did 2 leetcode today (technically 1)
https://leetcode.com/problems/...
idea:
* Palindrome means cut it half, rearrange the other half, will equal each other.
* Using javascript new map() to build a hash map
* Loop the hash, add up quotient*2, add up remainder.
* if remainder > 1, then return_sum+1
https://leetcode.com/problems/...
seen a few times in interview.
* do the big one first, i.e. if(n % (3*5) === 0)
* then n%3 === 0
* then n%5 === 01 -
archeological work is painful and difficult
people in industry don't seem to emphasize/warn how much archeological work there is in being a code monkey
or are there jobs that don't involve it? i imagine the skill remains essential
greenfield work to be the exception not the norm, and start up life is hell and a gamble
interview process seems to completely disregard this, as i imagine it'd be difficult to assess, unlike leetcoding linked lists or code golfing stuff without using data structures, or whatever awful things they ask for in leetcode hards or whatever3 -
any advice/suggestions to intensively brush up on modern C++ and multithreading for an interview that will likely be technical and cover bases like algorithms, data structures, etc?
I haven’t done c++ for awhile since a few courses in college - I did parallel programming and GPGPU on the side, but nothing on a professional level.
I’ve been mostly doing front web dev since I got out of school and C#, so I’ve been more on design/higher level of abstraction in dev and if I am asked things about pointers, memory allocations, etc I would probably draw a blank but I am motivated to no life it hard for the next week to catch up again.3 -
Did 1 leetcode today
https://leetcode.com/problems/...
Able to run the algo on paper and wrote down the javascript, not able to pass some test cases. so need to copy the answer.
My idea is similar, but the answer is much better. The idea is similar to tracking max number, but this time we have max1, max2, max3 (max1 is largest)
init all of them to null.
looping number array, if number is in maxs, skip. If there number > max1, we update all max1-3
if number > max2, update max2-3
then number > max3, update max3
last return statement is like this: return max3 == null ? max1 : max3; -
I’m enjoying leetcode nowadays.
To the detriment of my graphql deployment progress.
Ashamed to say, but my DSA are beyond terrible. Better late than never I suppose!
Anyone else enjoys it?1 -
Just wasted one hour on an employer info session. Can't understand why people ask stupid questions like "how is the work life balance?". Like those chosen representatives would tell the truth. Can't understand why those new grads working at the company would want to perpetuate the stupid interview process. "We want to hear how much you resent us while doing stupid white broad interview questions." Do they stream leetcode solving process to TikTok all day for work?
-
Redo the leetcode from yesterday
https://leetcode.com/problems/...
other people's answer: https://leetcode.com/problems/...-time-O(1)-space
I converted the java solution to javascript. -
Fellow devRanter needs your referral for internship in United States.
I was not confident or ready when the big companies were hiring for an internship. 190+ Leetcode problems later, I am now confident that I can crack technical coding interviews but I think its too late now. None of the companies I've applied to has responded back to me. I am worried that I have to stay idle during the summer break. I have 3 years of prior work experience as a software development engineer with a decent GPA and a few side projects. Any help would be much appreciated. Please provide referrals if your company is hiring candidates for an internship position. Thanks.
I'll share link to my leetcode profile, my github repo and linkedin profile. Please dm me.5 -
i thought whiteboarding turning into leetcode mediums or harder correctly in 20 minutes or less was bad
now codesignal is fucking us over, tried my first one without researching any of the code score shit
anybody have tips for gaming the system there? i heard claims that speed trumps correctness for their point system (e.g. faster but not passing for all test cases may score higher than slower but all test cases pass) additionally code cleanliness/readability isn't weighed as heavily as the other factors
and to do problems individually to completion further rather than spreading yourself out across multiple problems in an exam
wont deny im still a salty scrub at the end of the day -
I am participating in LeetCode challenge for April and May month. I thought :thinking_face: it would be a great help for every Kotlin developer to share LeetCode challenge solution in Kotlin. I am looking forward your help to optimize the current code or suggest me better approach. I will keep updating the repository on daily basis as challenge goes on.
https://github.com/manishandroid/...
https://github.com/manishandroid/... -
My first chrome extension is now out!
(Search for lazy leetcode if you are interested)
Please don’t review bomb it2 -
Anybody used AlgoExpert? How do you compare it with Leetcode? I consider myself an average software engineer and I wanna get into FANNG or other big tier company.2
-
hey devos, I got a question to ask ya'll. I have an interview tomorrow with an MNC.
I was hovering through some leetcode problems when I came across a hard question that is forcing me to use a hashmap with the key of the user-defined type. I made up my mind to make use of C++ for the coding interview. Now, the problem is C++ asks me to implement a hash function.
If in case, I'm asked a similar question like this in the interview, which of these two options will you suggest:
a) implement your own hash function
b) use pointers as key2 -
So I wanted to learn rust, and I was thinking: practice is the best way so naturally I went on to leetcode
After spending 4 hours to solve two questions I was like: fuck it, why do I need to go back and forth to the discussion page, why not just show it to me.
So now I spent 4 days to develop a chrome extension that shows the top 10 solutions in the discussion page for a specific question with specific language.
I showed to friend and she was like: you look at the discussion?
The moment I realized that I developed a hot pile of garbage3 -
In my current job, I feel like I'm not learning much as it like I'm stuck. I also want to work at Google, which has been a childhood dream of mine. Additionally, my upper management promote on using GPT to write code which I feel like it's not a good thing as a younger professional seems like my development skills is depricated. The worst part is that I'm unable to allocate time to learn new things on my own. I want to leave this job to focus on practicing my development skills through popular open-source projects, and by doing LeetCode and Codeforces. However, I'm afraid to take decision because of the current tech job market.
To all senior developers and engineers, I would appreciate your valuable advice. Please help me as if I were your younger brother!
Any advice appriceated.14 -
facebook/meta:you have to be able to do 2 leetcode mediums in 15 minutes each for our technical screening
me: well guess ill just die1