Why I Fail Candidates During Google Interviews.

  Рет қаралды 113,839

Alex Nguyen

Alex Nguyen

Күн бұрын

After joining Google in 2022, I got trained to interview candidates. I’ve had a chance to meet candidates and saw how much they struggled. I’m ready to share some of their common mistakes (that I’m legally allowed to share).
Not knowing their data structures is NOT the #1 reason why I fail candidates.
Before we dig in, let’s go through what the interview process looks like today.
#coding #engineering #programming #google #softwareengineer #softwardevelopment #systemdesign #python #java #engineer #developer #programmer #codinginterview #code #dayinthelife

Пікірлер: 272
@Teslatainment
@Teslatainment 3 ай бұрын
Woah, I didn't know Google gives you a mock interview! Game changer
@asadickens9353
@asadickens9353 3 ай бұрын
I didn't know I could request a mock interview. I will keep this in mind for future places I might apply at!
@projectsspecial9224
@projectsspecial9224 2 ай бұрын
Sounds like fun 😂😂😂
@JyotirmoySingh-iz9cd
@JyotirmoySingh-iz9cd 2 ай бұрын
Damn man this is a gamechanger! How do you request for one?
@DavidDLee
@DavidDLee 3 ай бұрын
No worries if you are rejected. About a 1/3 of Googlers will pass this interview. After working for a few years, you'll forget how to quickly solve some of these silly questions, because in real work is a completely different skill.
@bedtimestories1065
@bedtimestories1065 2 ай бұрын
Which is exactly why the big tech interviews are so dumb
@humanvegetable
@humanvegetable 10 күн бұрын
@@DavidDLee I've heard the interviewers would fail their own anonymous profiles
@mbnyc5401
@mbnyc5401 2 ай бұрын
Over the years and years of my carrier, I’ve never needed to reverse a linked list.
@codecaine
@codecaine 2 ай бұрын
💯 and if you did it not like you have to memorize how to do it when online.
@ytechnology
@ytechnology 2 ай бұрын
Same here, but I think the purpose of such a question is to see how comfortable you are with recursion, pointers, and abstract thinking. That said, I enjoy solving real problems, having happy users, and seeing how well my work stands up to time. leetcode is nonsense to me as it does none of those things.
@rollinOnCode
@rollinOnCode 2 ай бұрын
We need a feature to reverse a linked list lolol
@jec5476
@jec5476 2 ай бұрын
I'm not surprised--people rarely need to get that close to the metal anymore. However, it's not a complex algorithm--it's just a weed-out exercise.
@adamwhite99
@adamwhite99 29 күн бұрын
It's a good thing they don't make spelling a requirement!
@Infinitely16
@Infinitely16 3 ай бұрын
If you get to onsites and they assume you can code by that point because of the previous leetcode interviews, and the onsites are about communication and collaboration, why are there more leetcode questions? Why not discussing past work, sharing a personal project and talking about it, walking through some code together with the interviewer and seeing how well the candidate can digest and explain what is going on, discussing open source development, etc. This is precisely a school test, the whole way through. Pretending that it isn't is unfair and just lying. I don't mean to attack you. But everybody, including these companies, know that these many leetcode interviews don't determine someone's competency and certainly aren't an indicator for if they will fit in at the company. It's just an easy shortcut. Communication is a weak point because in order to prepare *just* for the interviews, you have to go through 3-6+ months of studying leetcode. You can't communicate with the interviewer during the test, they aren't allowed to talk much other than vague hints here and there. It's weird to have to juggle thinking about solving the problem and trying to speak every 5 seconds because that's not how thinking works. It's just a weird industry practice and we all know it's a broken system. Everybody knows this, but as an industry we keep pretending. Sorry for the rant, I'm sure you and all of us can understand how insanely frustrating it is. Again, I am not attacking you specifically, just frustrated at the system in general. Needed to vent.
@realalexnguyen
@realalexnguyen 3 ай бұрын
Hey it's absolutely frustrating. I mean as long as someone can code that's all the should really matter. Here's some more thoughts just trying to help From the 5 onsite rounds, there's usually 3 that are coding, 1 behavioral, and 1 system design depending on the level. The behavioral is where people get to talk about past projects and how people handle work/people problems. This is where companies figure out what level someone should be at. (Did they lead a team or did they get led?) The onsite coding rounds do include tons of Leetcode. It's pretty unfair and I don't like it either but I have to admit that's just how it is. I wanted to make this video to mention that even when people solved the question it was just the communication holding them back. Something a friend of mine helped reframe Leetcode to be healthy for me was that once you feel comfortable doing most questions, it's a passport to any other tech company because the format is almost always the same. Wishing you best of luck it's been hard for everyone lately
@Infinitely16
@Infinitely16 3 ай бұрын
@@realalexnguyen Thank you. I agree, it's one of those things that's just how it is unfortunately.
@gauravaws20
@gauravaws20 3 ай бұрын
Because they don’t care about all that stuff. They only care if you can get through the filter or not, no matter how ridiculous the filter is and no matter how good you are actually.
@recursion.
@recursion. 3 ай бұрын
Womp womp
@FeedMeLeaks
@FeedMeLeaks 3 ай бұрын
​@@gauravaws20 that sounds a lot like hazing
@nicksophinos4611
@nicksophinos4611 2 ай бұрын
I never NEEDED to manually reverse a linked list since I was in college 25 years ago. That's because I focus on software that works well in the real world. I would never want to work for Google, Apple, Facebook, or any of those lame companies.
@bobanmilisavljevic7857
@bobanmilisavljevic7857 2 ай бұрын
Gottem!
@hoaxygen
@hoaxygen Ай бұрын
​@@bobanmilisavljevic7857Hit 'em with the m'lady
@32zim32
@32zim32 3 ай бұрын
Yeah they just know databases, replication, ci/cd, Kubernetes, docker, webpack, vite, bloom, tailwind, html, htmx, css, scss, postcss, GCP, AWS, Azure but they can't revet damn linked list!
@austinedeclan10
@austinedeclan10 3 ай бұрын
Oh the horror! I've needed to use all the above technologies in my job at one point or another in some way or another. You know what I've never needed to do so far nor been asked to do? Reverse a linked list. However, if I'm ever asked to do so, I know where to find authoritative information and practical guides on the matter thanks to a little skill called research.
@hauke2996
@hauke2996 3 ай бұрын
I think I never got a leetcode like problem in last 7years of development.
@itismydump
@itismydump 3 ай бұрын
Guess why? Cause I Will Never have to reverse one😂😂😂
@32zim32
@32zim32 3 ай бұрын
@@itismydump yeah I drive my car every day but I don't know how to change tiers. This is called delegation
@dmitripogosian5084
@dmitripogosian5084 2 ай бұрын
​@@32zim32just don't apply for mechanics job
@duytdl
@duytdl 3 ай бұрын
Why are googlers and ex googlers suddenly turning to youtube? are you not getting paid enough at google anymore?
@mthoko_n
@mthoko_n 3 ай бұрын
Its just a side hustle that seems to work if you have that Google experience
@duytdl
@duytdl 3 ай бұрын
@@mthoko_n Yeah but WHY do they still need a side hustle, defeats the whole purpose of cracking into the world's largest company if you're still having to supplement your income.. I'd much like to hear WHY. In the past googlers spent their free time building side projects that would sometimes become google's flagship products. Seems like a waste of time to be competing with million other youtubers delivering the same old video content and info that's neither novel or frankly remotely interesting..
@Dipj01
@Dipj01 3 ай бұрын
​​@@duytdlI guess they can't keep up for too long. So after saving a lot of money in a very short period of time (because of that fat salary), they decide to quit and use their "ex-Google" tag to "guide" desperate candidates into FAANG and make some money off of that.
@som6553
@som6553 3 ай бұрын
^
3 ай бұрын
Because they want to leave. By what all ex google employes have been show so far, working at google is really tough, so a bunch either save enough money to retire early (a side hustle helps a lot) or just use google experience to earn money on other way (and youtube also fits this category)
@Fernandez218
@Fernandez218 3 ай бұрын
mock interviews are great. the feedback is the best part. my friend is high up in a tech company and said they can't give feedback in a regular interview because of a possible lawsuit. But that doesn't happen in a mock interview.
@andrewking3727
@andrewking3727 2 ай бұрын
As a junkyard toilet cleaner, I'd use a doubly linked list so that I can always have the data in forwards and reverse.
@EvgenyGoldin
@EvgenyGoldin 2 ай бұрын
It's hilarious to hear from a Google employee about "communication". Of all my interviews, Googlers were always by far the most disrespectful and arrogant.
@deliciafernandes9946
@deliciafernandes9946 Ай бұрын
FACTS
@jonobrien8848
@jonobrien8848 18 күн бұрын
thats why they have this bs interview process to keep the egos flowing
@Falx01
@Falx01 3 ай бұрын
As a truck driver I'd push the linked list onto a stack the pull the stack back onto the list. Nuff said.
@Websitedr
@Websitedr 3 ай бұрын
Now I want a mock Google interview just to say I tried it. Google isn't a dream job anymore either.
@emerald39
@emerald39 3 ай бұрын
Faang is dying
@infimode
@infimode 3 ай бұрын
whats the alternative then?
@MehdiGlz
@MehdiGlz 3 ай бұрын
​@@infimode other big tech companies or companies with a really large market share (like Pinterest, Zillow)
@vesogry
@vesogry 2 ай бұрын
They became a bunch of morons (HCU) and criminals (Adsense). No wonder DoJ is suing them.
@bhardwajsatyam
@bhardwajsatyam 2 ай бұрын
@@infimode Start your own business.
@DevShorts-cz9ef
@DevShorts-cz9ef 2 ай бұрын
Understanding the intricacies of reversing a linked list is a fundamental skill that I consistently employ in my daily work. 😂
@IDontReadReplies42069
@IDontReadReplies42069 3 ай бұрын
Ah yes with all those linked lists I'll be reversing at my job
@neilbradley
@neilbradley 3 ай бұрын
There is a practical use for it. Reversing sort order on a sorted list. Lots smarter than using a quicksort. And sadly, lots of people have no idea why.
@projectsspecial9224
@projectsspecial9224 2 ай бұрын
​@@neilbradleyit depends ...dev tool chains and requirements change over time
@gaiustacitus4242
@gaiustacitus4242 2 ай бұрын
@@neilbradley With a doubly linked list there is no need to waste the CPU cycles reversing the sort order.
@gaiustacitus4242
@gaiustacitus4242 2 ай бұрын
@JimAllen-Persona Anyone who only creates a singly linked list is missing half a brain.
@gaiustacitus4242
@gaiustacitus4242 2 ай бұрын
@JimAllen-Persona EVERYTHING CHANGES. It's just a matter of time before the requirements change.
@jordancobb509
@jordancobb509 2 ай бұрын
It's called "use a library" or a function of the language itself. This isn't a Commodore 64. There's no reason to manually do these things unless you're writing a linked list library.
@r.j.dunnill1465
@r.j.dunnill1465 2 ай бұрын
Reminds me of the time I bombed out on an SDET interview, and the manager concluded did not have good coding nor good testing skills. Five years later, we crossed paths again. I was tasked with estimating the effort needed to snapshot a running Unreal game's log, a feature QA really, really wanted. This manager and his colleagues had deemed the log exclusively locked and unreadable. But, with a little interviewing, followed by some tinkering on a Friday afternoon, I quickly found out what they were doing wrong: they weren't opening the game log file with the correct flags. Open the file with the correct flags and it was instantly readable. Rather than an estimate, I delivered the feature itself, and saved the group the cost of hiring an Unreal engine developer.
@javier.alvarez764
@javier.alvarez764 3 күн бұрын
Surprising how most people in the management are not practical and output developers that could deliver.
@casperhansen826
@casperhansen826 3 ай бұрын
Nothing like a small programming task that can filter out applicants, I remember once we had some applicants for a programming job, two of the presumed best candidates couldn't even solve the very simple tasks even though they could solve them at home and use google as much as they liked. It was about 10 years ago and I did the five simple tasks in about 5 minutes with pen and paper
@scmsean
@scmsean 2 ай бұрын
Memorizing leetcode doesn't mean you can code. It is a really dumb way to interview. They aren't real world problems, and you aren't going to solve them in the time given without memorizing.
@taragnor
@taragnor 2 ай бұрын
Yeah, it's pretty much why we have statements like "AI is going to replace coders", since AI is great at memorizing leetcode, but fails in any kind of complex real-world application.
@scmsean
@scmsean 2 ай бұрын
@@taragnor AI can't really do anything but repeat answers from leetcode, stackover flow, and other web sites. Unless you are a copy/paste coder then AI isn't taking your job.
@taragnor
@taragnor 2 ай бұрын
@@scmsean Yeah that's what I said lol. People are overly obsessed with AI's ability to do leetcode.
@noob8394
@noob8394 3 ай бұрын
Very Insightful, shall keep these points in mind! thanks a lot for sharing
@weiSane
@weiSane 3 ай бұрын
Why do most start up’s not give a f about leetcode and more interested in what you can do or past projects. Big contrast from FANG companies.
@Arch_FM
@Arch_FM 3 ай бұрын
Startups need creative ppl who r better at actually getting things done . Startup needs things done, FAANG needs perfection
@weiSane
@weiSane 3 ай бұрын
@@Arch_FMmakes sense also good that they showed the FANG companies mostly use leetcode as a way to filter out people reduce number of applicants and not really to determine how good one is.
@doc8527
@doc8527 3 ай бұрын
@@weiSane Nope, he/she was literally speaking from imagination and big tech obsession, FAANG got tons of candidates, so they can afford to use leetcode as an aggressive filter to get rid of tons of people regardless they are good and bad. As long as the bias rate is less than 20%, then it's good. Their strong infra and budgets can tolerate those bias. Source: lots of ppl I know got into faang, their skill is wide ranged, even ppl who only know code less than half a year (but with good degree or possibly STEM related experience). and the success rate has nothing to do with personal skill, it's all about leetcode + luck. During the hiring boom, even if you semi-fail the leetcode, you still got into the company by luck. Many also speak broken English, at least in US, it's a instant reject for small startups, startups can't afford those communication cost regardless personal skill due to budget limit. Big techs internally have a lot of strong systems that aren't open-sourced or shared. Built by many strong engineers in the past. Many new engineers even the veterans didn't have a complete picture what they are doing as a whole. Thing is so complex or due to company policy, they can't share or are incompetent to share. Many were just only 2 years in a big system and too early to know anything about the tech. Guess what they can share? leetcode that the resource is everywhere. As a result, you will see tons of ex-faang or current faang people only sell leetcode course + interview course. Are they better than you, it's unknown, they are just using their company brand to exploit you.
@Dipj01
@Dipj01 3 ай бұрын
It's because too many people apply. At that point FAANG uses anything and everything to filter candidates out. At this rate, soon they'll add a new test of doing the maximum number of somersaults per minute, to qualify to the next round. A highly effective filtration strategy and there'll be websites and KZbin channels dedicated on teaching how to somersault and pass through the FAANG round.
@weiSane
@weiSane 3 ай бұрын
@@Dipj01😂somersaults to pass to next interview round is wild. And you are right if that were the case there would be KZbin channels teaching how to do exactly that milking every opportunity to sell a FANG interview course on how to somersault 😂
@kirillsukhomlin3036
@kirillsukhomlin3036 3 ай бұрын
Meanwhile I’m passing all the coding interviews, but always failing „behavioural“ one because I genuinely do not understand what they want from me.
@dmitripogosian5084
@dmitripogosian5084 2 ай бұрын
Well, I guess thats why yiu fail, because you do not understand
@marcusthatsme
@marcusthatsme 2 ай бұрын
24 year Web developer, how many linked lists have you had to work with... zero. How many linked lists have you there fore EVER needed to reverse... zero. Can we start testing people on ACTUAL code that you might ACTUALLY use in the REAL WORLD. I haven't dealt with linked lists since I took a college class on C++ 22ish years ago. I mean if you're targeting newly graduated college kids, great, that's what they need, it's what they've done recently. If you're wanting experienced developers, then test them on what they've been coding for the past x number of years since graduating.
@mikelau3007
@mikelau3007 15 күн бұрын
A lot of interviews I attended are actually to screen out experienced engineers and targeting new graduated. They care if I know some newer coding concepts instead of my capability to deal with the whole system. An anology is that they don't care if I can build an old tank, they care if i can build a new bike. So if I dont know a particular screw in a new bike I am out. Unfortunately this is how the IT world works today...
@marcusthatsme
@marcusthatsme 15 күн бұрын
@mikelau3007 new developers are cheaper so makes sense to weed out the older experienced developers that can both build a new bike and maintain an old tank as well.
@bestopinion9257
@bestopinion9257 15 күн бұрын
Because you did a marginal work all the time. But someone with higher responsibility used algorithms for performance. For example, how a HTTP message finds the destination in the network? Yep, a performant finding path algorithm is needed. Similarly, big companies like Google and Facebook that deal with millions of users, need performant algorithms at their CORE.
@marcusthatsme
@marcusthatsme 15 күн бұрын
@@bestopinion9257 Pompous much? Marginal work?!? 99% of ALL companies are NOT Google and Facebook who require a custom "CORE" to function properly. Facebook even uses its own custom language, so that's even more rare. The majority of companies are doing projects that don't require linked list, least not in the day-to-day that the majority of developers will ever see. I've worked at a few companies whose sites have received tens of millions of hits per day and yet I've never seen a linked list and I worked on the entire code base, I've never had to use a "performant algorithm" or seen other developers uses them and the sites functioned perfectly. Maybe you only work at companies that get billions of hits per day and that it's required of you, but for the 99% of everyone else, that isn't the case.
@TheCocoaDaddy
@TheCocoaDaddy 2 ай бұрын
Interesting video! Within the past 2-3 years, my perspective on interviews changed. I don't go on many interviews and I DO NOT interview well AT ALL. Given those statements, I now view an interview like a "first date". On a first date, I'm presenting myself in my best light to make the best impression possible. I'm well groomed, I look and smell nice, and I engage in thoughtful and "clever" conversation, mostly to impress her. If we get together, I'll "relax" and show my "true colors". If we're not compatible, we split and I repeat the process and go on another date. lol I don't prepare for interviews anymore. The knowledge that I have is the knowledge that I have. If I'm confronted with something I don't know or can't remember how to do, immediately, I work through the problem or I do research to help identify a solution. I won't go to Stack Overflow and look for examples. I spend my time to understand the problem more so I can work through the solution. The point is, I won't have every algorithm in my head at any given time. The work I've done, throughout my career, has been interesting (to me at least) but hasn't involved much of the kind of knowledge I would need to "cram" for. If you asked me to reverse a linked-list on a blank whiteboard, it would probably take me some time. Why? I haven't touched linked-lists in DECADES. I'm more of a "hands on" kind of person. Give me a chance to actually do some work and I'll perform better than in an interview situation. So, I think a 3-month "trial" would be a better approach to vet a candidate. Pay them little (or nothing), put them on a "real" team and given them assignments. See how they actually perform. If they write garbage code, end the relationship and move on. If they don't work well with the team, end the relationship and move on. I used to "fantasize" about working at a company, like a Google, but I never really tried to do that kind of work. Sure, the money would be awesome but I'm not sure I would be a good fit for that kind of company/environment. I get contacted my recruiters on LinkedIn and sometimes I wonder why, because my work history doesn't match (at least not to me) what they are contacting me for, but I'm happy where I am now and I'm doing a-ok. :) Anyway, thanks for posting this video. I did enjoy watching it and listening to your tips and suggestions. Now, I'm off to see if I can reverse a linked list! lol
@movax20h
@movax20h 2 ай бұрын
Mostly agree. Especially the very firat issue. I was interviewing at Google for few years and rearly have seen even experienced engineer ask clarifying questions. Like dataset size, performance requirments, how often things need to be run (i.e. one of vs online repeatedly). We ask quesion without these details on purpose, so you ask for clarifications. If you don't ask, you are guaranteed to not solve the problem (no matter how smart you think you are). Also know actual numbers, memory, disk, network, cpu, etc. Not just your oh notation but constant factors. And dont go into all the details so you cannot answer first question of the interview on time. You are talking to somebody who is very experienced, and few well choosen words will suffice to deliver the message. Also don't trust everything textbooks says. There is a lot of ifs and buts, and assumptions , constant developments in basically every area of computer engineering. Even basica that most people think are "solved" decades ago. No they are not.
@hauke2996
@hauke2996 3 ай бұрын
Leetcode should be extrem short to just check if the people know the basics. Leetcode stuff is simply not usually a problem in a real job
@pawelhyzopski6456
@pawelhyzopski6456 2 ай бұрын
Basics consist of such a stack that it cannot be tested in any short amount of time. I much rather see your past code than test you now.
@user-bt6mh9ez3u
@user-bt6mh9ez3u 3 ай бұрын
There is this one girl in my batch ...she doesn't even know the basics ..not even to reverse the string..I dont' know on what basis google shortlisted she doesn't have good profile nor projects ...how did they even select her for the internship ..its frustrating to see non deserving people getting selected
@TheSwayzeTrain
@TheSwayzeTrain 3 ай бұрын
Female ✅
@Dipj01
@Dipj01 3 ай бұрын
You have your answer within your first 5 words
@hoaxygen
@hoaxygen Ай бұрын
I love how quickly this turned sexist and salty even though nobody has any real information besides speculation. And inb4 the neckbeards, I'm not into women. Lol
@jmard3101
@jmard3101 9 күн бұрын
DEI hire mate. It is part of every company nowadays. they have their checklists
@4_real_bruh
@4_real_bruh 3 ай бұрын
Honest question: if Ive been a developer with multiple years of experience and Im signing up for a normal software dev role, would you still ask me to solve silly leetcode problems? It just seems extremely weird when full-stack devs have literally single-handedly built and deployed dozens of apps for customers, only to not get to the next interview stage because they couldnt memorize a sorting algorithm. Edit: last time Ive had to reimplement any sort of list/sorting/binary tree algorithm was in academia (Ive got an M.Sc now)
@CharlesBallowe
@CharlesBallowe 3 ай бұрын
There's a code question and it's largely up to the interviewer. The questions that I use tend to be simplified forms of something I've needed to do solving a real business problem. (And I try to explain how they're connected.) The video is right, though. The code is largely a vehicle for talking through problem solving and organizing a solution rather than trying to test you on something memorized.
@89TStefan
@89TStefan 2 ай бұрын
I can't get the idea of this leetcode obsession or mock questions. What does this even tell about actual programming skills? It just tells about how someone is able to remember standard answers. Let someone play half an hour in Shenzhen IO or Factorio and watch him. This tells you a lot more about his skills than any question in an interview! btw: Why would anybody work for a company like that?
@bestopinion9257
@bestopinion9257 15 күн бұрын
Geez! If you can't solve letcode you can't solve problems. You can't jump from your lazy routine when needed.
@89TStefan
@89TStefan 15 күн бұрын
@@bestopinion9257 Leetcode problems have nothing to do with reality. They are overall more like laboratory academic problems. In actual sw developer work, much of the code you handle is legacy.There are many, many side effects depending on architecture and infrastructure. The problems you have to handle there are a lot deeper and far more complex than any leetcode problem. Instead of using a general approach, you have to have a specific approach to the problem. And a general approach being taught in leetcode doesn't let you do shit on that but only own projects, strategy games, programming puzzles, no leetcode, no 100+ hours of udemy lessons, or worse, an university degree. I've had my own share of interviews with applicants. And it always boils down to the same very simple formula. Are you doing your own projects? Having fun at solving puzzles? Interested in gaming? Those are the people you actually look for because they show they are a) being able to work for a long time in front of a computer, b) actually have fun at that, and c) are, even when not asked, doing something to improve themselves. Meanwhile, someone being able to answer 100+ leetcode questions perfectly does not tell you anything other than that this person is able to remember algorithms (and is probably not being able to use it in a real-life situation).This is also very often true. Give someone a leetcode question. No problem. Tell him it is, for example, a problem which is being heavily modfiied from any leetcode question and 90% of people fail at that.
@CharlesBallowe
@CharlesBallowe 3 ай бұрын
On that last point about people just assuming it works, it's also not uncommon for people walking through the code line by line to assert that a line does what they think it does and not what it actually does. I see that most often in cases where they're off by one on something or using "
@DavidConnerCodeaholic
@DavidConnerCodeaholic 8 күн бұрын
I think most people just (cons (head list) (rest list)) but if you implement it, using a custom iterator implementation would be simple… it don’t map good though. When you have a good reason to use a linked list or b-tree (ie write-heavy applications, potentially parallel), then you probably don’t have their length or other metadata.
@paulwilliams6438
@paulwilliams6438 2 ай бұрын
"How do you reverse a Linked List??" ...hmm... I probably use a library that already does it for me... I question why I need it reversed in the first place and simply request the data provider to provide it to me in the order I desire.... Questions like these do not show how good a programmer you are... they show how you can answer stupid interview questions that you will ONLY see in the interview process... you will never see these things come up in the day-to-day process of your job!!
@johnvonhorn2942
@johnvonhorn2942 3 ай бұрын
Push the nodes of a linked list onto a stack and then pop them off, rebuilding the linked list in reverse. I'm guessing you could also use recursion.
@BlunderMunchkin
@BlunderMunchkin 2 ай бұрын
Both of those use O(n) space. It can be done with O(1).
@bedtimestories1065
@bedtimestories1065 2 ай бұрын
​@@BlunderMunchkinI never see the big O mentioned outside of interview world.
@alexeyovriakh2450
@alexeyovriakh2450 Ай бұрын
Yeah, just move the head, and you get O(1)
@XtenstialKrysis
@XtenstialKrysis 28 күн бұрын
Maybe because they are used in things that help you build things on top of other things and these things themselves need to be super efficient to. An example is searching for files with filename using the search bar in windows files or even the cursor in code editors which relies on the fast interpretor to tag a line of code you write in real time ​@@bedtimestories1065
@eyesopen6110
@eyesopen6110 3 ай бұрын
... and who cares... Name one time (in an actual job) where you reversed a linked list. It is irrelevent.
@hoaxygen
@hoaxygen Ай бұрын
Irrelevant
@eyesopen6110
@eyesopen6110 Ай бұрын
@@hoaxygen You're irrelevant.
@itismydump
@itismydump 3 ай бұрын
When will I ever have to reverse a linked list?
@hoaxygen
@hoaxygen Ай бұрын
When you interview for Google. 🥴
@brucerosner3547
@brucerosner3547 2 ай бұрын
Classic example of asking the wrong question. ChatGPT can give the correct code for reversing a list in many programming languages. A much deeper question is what are the best data structures and algorithms for the problem at hand?
@abovebelow4061
@abovebelow4061 2 ай бұрын
Today, I received the Google Hiring Assessment, but it doesn't look to be a coding challenge, but rather a behavioral assessment.
@yusstoss
@yusstoss 3 ай бұрын
Omg, love to see you on KZbin now!
@r2com641
@r2com641 3 ай бұрын
Who gives shit about linkedlist? The last time I wrote program with it was during college time, it if I need it again I’ll look it up, I don’t need to be able to reverse it off top of my head. Interviews at those companies are idiotic
@humanvegetable
@humanvegetable 3 ай бұрын
If you can't solve trivial problems, then you can't solve anything harder
@Dipj01
@Dipj01 3 ай бұрын
​@@humanvegetablememorising esoteric programs isn't solving problems.
@humanvegetable
@humanvegetable 3 ай бұрын
@@Dipj01 I never said anything about esoteric. Strawmanning
@DocHudson420
@DocHudson420 Ай бұрын
@@humanvegetableit’s memorization not problem solving
@humanvegetable
@humanvegetable Ай бұрын
@@DocHudson420 You are required to memorize basic fundamentals of data structures and algorithms to be able to solve problems efficiently and effectively.
@tarasaurus24
@tarasaurus24 3 ай бұрын
Tech isn’t a fun place for nerds anymore it’s all become boring career growth mindset people. complete lack of innovation across the valley
@daphenomenalz4100
@daphenomenalz4100 3 ай бұрын
Yeah, Google literally cancelled their tests for us to even apply and get a chance and randomly picked students that got internship at google before or who had really high gpa. I have high gpa but it's not like 3.8 or something, and yeah they picked those only :) Talk about fair shortlisting.
@OndrejPopp
@OndrejPopp 2 ай бұрын
Why would you ever want to reverse a linked list? That's a sign of bad software design. So I fail the interviewer and Google if they really design software like this! P.S : Interviewer Alex Nguyen goes to the captain of his ship and tells him : 75% of the new recruits don't know how to reverse the elements of the chain between the ship and the anchor! (although it is a bit more complicated with a real linked list) And the captain thinks "??!" and then tells Alex : "You are fired!" P.P.S, Now there is also this story why Cinderella can not go to the ball against the royal command because she has been given useless chores to do such as "reversing linked lists", kzbin.info/www/bejne/f5ypf3iLp7h3adk And so the moral of this story is that "useless chores" are invented by incompetent or not very talented people in order to sabotage the talented and brilliant ones that are threatening to their careers.... But in the end maybe the prince will still come and "marry" the talented and brilliant ones and leave the others to themselves!
@GobitVlogs
@GobitVlogs Ай бұрын
What i do is for each node, i push the current value into a stack until i reach the end of the list. Then, i start over again and let the current node equal stack.pop()
@GobitVlogs
@GobitVlogs Ай бұрын
However, I'm using extra memory. I don't know how to do it while only using the list
@shivanshubansal1124
@shivanshubansal1124 3 ай бұрын
Thanks Alex, appreciate the video! PS love the droid
@neo21670
@neo21670 3 ай бұрын
I'm wondering if Chrome developer candidates could ever explain their code, or maybe they only review it for running time but never for memory use.
@pawelhyzopski6456
@pawelhyzopski6456 2 ай бұрын
They hire those who can pass basic tests. All our top shelf soft is just that. Basic stuff for years, any update not changing anything meaningful and bugs kept for years marked as wont fix.
@rommellagera8543
@rommellagera8543 Ай бұрын
Kindly tell me when: a. Used a linked list in a real business application b. Reversed a linked list in a real application c. Why reverse if before hand you know you need to traverse backwards, just keep the first and last node
@thefart
@thefart 3 ай бұрын
so only 1-2 real life questions + a bunch of google-able stuff. man I love tech companies
@notsojharedtroll23
@notsojharedtroll23 3 ай бұрын
Im googlingACK
@zweibier42
@zweibier42 3 ай бұрын
because, apparently, the work in Google involves mostly reversing linked lists or doing other stupid exercises which everybody forgets once they leave the college and which can be looked googled up in seconds
@marylandman
@marylandman 2 ай бұрын
Can you request mock interviews with Google if you are interviewing somewhere else? Also, I have been an SDET for 5 years. I’m edging more on the sr side. At this level, data structures and algorithms escape me. How important is knowing this in interviews?
@rmcgraw7943
@rmcgraw7943 2 ай бұрын
Frankly, if you need to reverse a linked list then you have a bigger problem, since you shouldnt have used a linkedlist to start with if you need to reverse it. Probably should start to learn about data structures first.
@tyo007
@tyo007 16 күн бұрын
I am curious what would be the use case of reverse linked list? like in real software, not just "because it can be"
@you741sings
@you741sings 3 күн бұрын
i suck at leet code, and im much worse in the interviews. im more stressed so my brain works slower. do you have any advice on what to say when i have no idea what to do
@aviadsabag8193
@aviadsabag8193 22 күн бұрын
Maybe its a stupid question but if I apply to iOS position and I solve the "leetcode" problems with Javascript, is it okay and (maybe) shows that Im open to more programming languages(I know both swift, java script and actually also objective c).
@socialtrend1346
@socialtrend1346 3 ай бұрын
You are on the top our field. So you are in the best position to answer my question... What is best roadmap to get a good foreign internship by 2 nd years I mean skillwise
@AlexJordan
@AlexJordan Ай бұрын
it's CRAZY to me that you can't run the code. stepping through line by line is an enormous waste of time and means that the person spends their time doing that instead of showing you their debugging skills when the code doesn't work. i work at a series A startup and this is table stakes for our interview process.
@Someonner
@Someonner 3 ай бұрын
Did they fire u ??? Because I heard most leetcode people can't code !!!
@ci6516
@ci6516 2 ай бұрын
I have a question , I’m a CS major and I graduate in may , but my interest in cloud engineering , I’m good at coding but I’m wondering do any of my projects and efforts for cloud matter ? Does google do cloud internships ? I’m doing a cloud project now , but am working as network engineer now , and like coding yeah I can do leetcode easy and I’m making a blog in blazor , have done mobile apps in android studio , I do like coding . But my greater interest is in infrastructure and protocols and routing and memory bandwidth etc .
@ci6516
@ci6516 2 ай бұрын
Internship ATM .
@peeper2070
@peeper2070 26 күн бұрын
Sees thumbnail: Wtf is a linked list
@Floyd-df2uq
@Floyd-df2uq 3 ай бұрын
I might not be able to reverse a linked list and I've no desire to as well. Not once in 20 years as a dev did I need to do this. Imagine putting yourself through pointless leet code tasks and jumping through hoops just to get Google on your cv only to get laid off in a year or less. Google does not hold the same allure that or did even two years ago.
@jayrollo1352
@jayrollo1352 3 ай бұрын
Oh yo I seen you on linkedin lol. I saw on your moma that you left this year. Was a it layoff by any chance? Why didn't you just find another team?
@realalexnguyen
@realalexnguyen 3 ай бұрын
I'll make a video on it sometime
@johnnybender8298
@johnnybender8298 2 ай бұрын
define reverse list (return (if (empty? list) [ [ ] ] else [merge (reverse (tail list)) (head list)]))
@curiousintrovert1016
@curiousintrovert1016 2 ай бұрын
Does what you said about run time, also apply to space complexity?
@jasonfreeman8022
@jasonfreeman8022 3 ай бұрын
I question the value of the process. First, most developers are introverts and this kind of “code on demand” filters out genuinely good devs who vapor lock. Second, the leet code approach is not even remotely real. Actual daily development tasks are far more mundane and only occasionally do you even get to the detail level required by high-pressure leet-code puzzles. The reality is the interview process is gate keeping elitism. I could easily construct interviews that FAANG devs couldn’t pass if wanted to be an ass. And when everyone wants to work for you, you can pretend that your process is great. When I interview candidates, I’m looking for technical understanding and “comfort”. An experienced dev won’t have difficulty conversing about architecture, data structures, language quirks, tools, libraries, etc. None of that requires writing code that you would only ever write once and you’d take an hour or two to compose.
@notsojharedtroll23
@notsojharedtroll23 3 ай бұрын
Yep. It is to become part of a club. Tbf, my "tech interview" was exactly knowledge questions about ML and got most of them right and tadá. Now that I'm part of the club, the mundayne shit is much more appealing that the dreaded code problems of such interviews.
@krs1476
@krs1476 20 сағат бұрын
The 'mom: are you employed yet?' LOL
@JohnNguyen-x1w
@JohnNguyen-x1w 2 ай бұрын
Running Time only? How the about the trade-off between Time and Space?
@chandrap8391
@chandrap8391 2 ай бұрын
Being a DevBro myself, I can tell you 80% of Google DevBros never find a need to reverse a linked list in their career at Google.
@subtleamytraits
@subtleamytraits 3 ай бұрын
Hahah love the text message from mom 😂
@ahallock
@ahallock 2 ай бұрын
I think these technical questions are just being used as a candidate filter. I know what a linked list is, but I've never had to implement one at my job. It's a solved problem. Unfortunately you have to play the game to get the job.
@Gromov-jj8jf
@Gromov-jj8jf 3 ай бұрын
Great video, thanks!
@kimbapslayer1995
@kimbapslayer1995 3 ай бұрын
Ima stick to buffing floors
@Jabberwockybird
@Jabberwockybird 3 ай бұрын
(Before the loop, setup the initial location of the pointers and set prev.next to null or whatever the "end" code you're using) Loop start curr&.next = PREV* Prev* = curr* curr* = next* If(next&.next === null) { return next* // done and here is the new beginning } next* = next&.next Back to loop start I believe that shpuld reverse the linked list
@davidshipman5964
@davidshipman5964 2 ай бұрын
Very helpful video!
@chrisgast
@chrisgast 2 ай бұрын
I laugh inside when people look at me while I talk out loud, for example on what I'm having for dinner and should I buy those pumps to play in the football game.
@anmolsharma4049
@anmolsharma4049 3 ай бұрын
Idk what candidates you are interviewing, I have never received any Interview call despite applying a dozen times. I have 2.5 yo experience out of college Still gets rejected 🤔
@KoushikAnumalla
@KoushikAnumalla 3 ай бұрын
phone case with no phone in it
@realalexnguyen
@realalexnguyen 3 ай бұрын
exposed.
@elxakiltse8773
@elxakiltse8773 2 ай бұрын
01:50 you're welcome
@xubious
@xubious 2 ай бұрын
Tell google to stop personalizing my experience against my will I never asked for a personalized algorithm
@xubious
@xubious 2 ай бұрын
I’m gonna use a script to completely confuse the algorithm and make me as unpredictable as possible
@KeithRowley418
@KeithRowley418 2 ай бұрын
I find this scorporate approach appalling. Much of the skill set described for the interviews used to be acquired through experience. Companies hired bright, clever young people who graduated well and then trained them. They trained them by putting them into teams within which they could both contribute and learn, growing in skill over time and absorbing company practices and ethos. Putting graduates though this long and arduous process seems abusive to me. A friiend of mine once said 'a degree is an introduction to engineering' and he was right - a degree gets you to first base - after that it takes years to mature to the pro level.
@awesomeguy6427
@awesomeguy6427 3 ай бұрын
Thanks for the information.
@rishabhraj8233
@rishabhraj8233 3 ай бұрын
thanks for the great advice 💌
@gnaneswarilolugu2323
@gnaneswarilolugu2323 2 ай бұрын
I can reverse a linked list and do much more. I dont see anyone giving me a job😢. I wish its that easy. They want real world project experiences too which i lack
@DavidConnerCodeaholic
@DavidConnerCodeaholic 8 күн бұрын
See my problem is that I need to get up to speed on a language or interview before I do it, since I use a lot of esoteric tools… so I know I’m going to fail. The interview timeline is too quick to get up to speed. Most companies (only in the past 5+ years) allow you to use any language… but it’s still better if you learn their language & framework. That’s too much work. I try anyways. It disrupts whatever fucking projects I’m working on and ultimately wastes my fucking time (sorry, it does and I fucking hate JavaScript) Even though I should have the skill for many companies, since I haven’t had a job recently, my only exposures to technologies are KZbin, source code (using Google’s Repo tool) and self-exploration. I’ve been looking for something non-Microsoft and non-Java script for like 10 years now. I would just rather program for fun since office politics basically gave me PTSD.
@TheHighborn
@TheHighborn 2 ай бұрын
Linked lists are the bane of existence. I understand them in theory, but when the rubber meets the road, im fucked.
@jcy089
@jcy089 2 ай бұрын
Google: "Please please use Gemini's awesome coding functions!!" Google: "Also, reverse linked list manually"
@doesthingswithcomputers
@doesthingswithcomputers 3 ай бұрын
Yes a few selected questions from thousands of possibilities that were not taught at university…
@Chrischi_Z_GermanGUI
@Chrischi_Z_GermanGUI 10 күн бұрын
Guys, there is so much content from people telling you how this, what that, why something blablabla. Learn to code, start at some company and gain experience. Dont make it such a big science in how to get into being a software developer.
@AnupDangi-x7q
@AnupDangi-x7q 3 ай бұрын
But i can reverse linked List
@realalexnguyen
@realalexnguyen 3 ай бұрын
Plz teach me
@AnupDangi-x7q
@AnupDangi-x7q 3 ай бұрын
@@realalexnguyen 😂Sure
@Gr1mmActual
@Gr1mmActual 10 күн бұрын
Just because you can spit out code like a machine from memory in an interview does not make you a good programmer.
@labyrinth242
@labyrinth242 Ай бұрын
If I can give you advice. Learn to interview for the google interview and then go to a different company that pays similar so you don’t deal with this bs.
@Free-pp8mr
@Free-pp8mr 2 ай бұрын
When you are working on Google you are so cool and self confidence. But when you are loosing your jobs Google became not so good as your told and your confidence get out.
@andrewsheehy2441
@andrewsheehy2441 2 ай бұрын
It is thinking like this that got Google into the predicament that its now in. I can find solutions to all of these problems using AI. Pure coding skills, per se, are nowhere near as important as they were 3 years ago.
@Yavin4
@Yavin4 2 ай бұрын
Silly question. Doesn't AI make these such interviews completely pointless? AI can generate code to answer these questions. So what is the true value of knowing how to solve these problems. It's like interviewing an accountant and giving them a test in arithmetic.
@HoD999x
@HoD999x 2 ай бұрын
If everyone gets an advantage by doing x, no one doee
@doesthingswithcomputers
@doesthingswithcomputers 3 ай бұрын
If you did the interview right you wouldn’t need more than one round…
@XxXx-sc3xu
@XxXx-sc3xu 25 күн бұрын
Translation: I gatekeep
@ibuprofenPill
@ibuprofenPill 2 ай бұрын
I’m not a smart enough dev to work at Google.
@cliffordcheng5927
@cliffordcheng5927 2 ай бұрын
You need only 20% of the knowledge to do 80% of the work.
@stephenkolostyak4087
@stephenkolostyak4087 3 ай бұрын
"Why I fail candidates as a Google interviewer" Well, you thumbnail said it's because most people can't handle linked list traversals - something taught to high school students in entry computer science programs - is this true? If I watch your video am I going to learn that all of these people with degrees know less about basic bitch c++ than I did after one semester during K-12? ...that's fucking funny.
@RadenVijaya
@RadenVijaya 3 ай бұрын
I think google wanted real programmer!
@R7ram
@R7ram 3 ай бұрын
Nice insights Thanks buddy
@IffyEdem
@IffyEdem Ай бұрын
I’m understanding this; don’t work at big tech
@olagisrarikis
@olagisrarikis 2 ай бұрын
Nobody needs to know this anymore. This is just one prompt away... (I didn't watch the video)
Ex-Google Recruiter Reveals 8 Secrets Recruiters Won’t Tell You
13:57
Are Junior Developers Screwed?
11:20
A Life Engineered
Рет қаралды 70 М.
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 720 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 6 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 608 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
How I Interviewed Candidates at Google
5:09
NeetCodeIO
Рет қаралды 68 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,1 МЛН
How To Use Leetcode & Cracking the Coding Interview (ft. Google SWE!)
5:08
CareersTalks with Tamer
Рет қаралды 7 М.
a day in the life of an engineer working from home
8:42
Joma Tech
Рет қаралды 21 МЛН
How I Passed The Google Coding Interviews
18:50
Chris Jereza
Рет қаралды 55 М.
Medium Google Coding Interview With Ben Awad
51:27
Clément Mihailescu
Рет қаралды 1,3 МЛН
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 546 М.
I Asked Googlers How To Get Hired
9:44
Namanh Kapur
Рет қаралды 1,5 МЛН
Earn $1,350/Day with ChatGPT & Google Drive for FREE
17:03
Chad Kimball
Рет қаралды 666 М.
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 680 М.
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 720 М.