Coding Interviews Be Like
Vložit
- čas přidán 15. 02. 2021
- Coding interviews are hard. But why grind LeetCode, study data structures and algorithms, and read Cracking the Coding Interview when you can simply "throw a hashmap at the problem"?
This video may or may not be based on a personal experience...
This is a different type of video from my usual content, let me know what you think about it!
If you're reading this, comment "Facezongoogappflix"
#codinginterview #softwareengineering
Sub Count: 424
Check out these videos:
Computer Science Majors Be Like- • Computer Science Major...
First Semester of Waterloo Computer Science- • First Semester of Wate...
It's Finals Season- • It's Finals Season | U... - Komedie
this was actually based on a personal experience
@@AndrewCheetah no way!
The code looks like Java, do the questions in your area for Java Developers really look like this? Im from Poland, but I often aslo apply to international companies, and those mathematical problem solving seems a thing of the past here , assuming we are talkign about bussiness software. 10 years ago it could happen (i remember when Codility was very popular here, many problems were a variation on quicksort...) , but nowadays its usually just a lot of knowledge checking : some basic Java questions,.Java 8 constructs alwys, design patters, frameworks (Spring , hibernate etc.), webservices,SQL and no SQLdb , javascript, coding theory SOLID etc. , maybe they give you some code to review. I actually think its a better approach because that relates much more to what you will do at work with bussiness software. Unless you apply for games software or some niche science projects, I guess, but its rare with Java.
But as to the point, yeah, the mutistage interviews are really frustrating:). You tought you made it , but it turns out it was just the mid level boss:)
Did you pass the other interview 🙄
@@MillandeepSingh im pretty sure i passed because i got the optimal solution, but didn't get the offer 😥
Bombshell: they're not actually interviewing you, they're just stuck on a code problem and want a free solution! 🤣
haha i've seen startups give take-home projects that just look like work they need someone to do for free😂
lol, they need help solving two sum for important business reasons. nobody else has been able to solve it to date
XD
LOL
No shit this is actually kinda what one of the questions I was asked for my current position was - he basically just wanted my input on how I might go about solving a real problem he was working on, it was actually pretty neat
Don't forget the part where they say "Good, now we'll move on to a hard problem"
that would've been good
@@nicholast Teach me the ways.
:This is Fine meme
We made a pong game in Python using the Turtle and Freegames libraries. czcams.com/video/QPKOBeNwRbk/video.html
be like , let me find HARD one in the leetcode and this will be a problem for next interview
In my coding interview, I realized I could use a hashmap to solve one of the tasks. Then I remembered this video. I smiled and became less nervous. I passed the interview. Next week is my second interview. It is for my dream intern position. Wish me luck, guys
great, have fun making apps to make some jewish guy rich :-)
HOW DID IT GO
@@joonorganic Thank you, It went perfectly. Also, I had one more interview with another company and a hashmap saved me again :D
Update : I got an offer from both companies. Learn your hashmaps and good luck to everyone!
@@simonanikolova1719 AYY WE SO PROUD OF U
I studied coding and struggled during the interviews. Now I’m a full time burger developer at McDonalds.
Oh god 🤣🤣
LMFAOO
And if you're stuck in an order, just throw a hash brown.
@@gyromatty691 haha lol
😭 i might reconsider my career FML ill pray for a miracle
"Do you think you could make it faster?"
"Nah, I'm good"
“You’re hired!”
underrated comment lmaoo 🤣🤣
Your pfp fits ur comment perfectly 😂
Lmao
Me, a pragmatist: "get better hardware"
"That....should work?"- Every Programmer
Yeah, you go through every situation in your head and something still goes wrong.
99 little bugs in the code, 99 little bugs. Take one down patch it around, 437 little bugs in the code!
@@jeremysutherlin7565 99 bugs and a segmentation fault ain't one.
😂😂😂😂😂😂
We made a pong game in Python using the Turtle and Freegames libraries. czcams.com/video/QPKOBeNwRbk/video.html
I got hired for my first job in an IT company on my first try a few months ago. The interview guys were very chill. The HR asked about my life experience s and my side hustles along with studies. The technical guy asked questions about Java, Android development stages and later on, Angular (which I didn't know much about). Moved to a new city now and the working environment is great. Such interviewers are awesome.
Simple Application Enter your details
czcams.com/video/DWn5-Ej8R-M/video.html
Have a good life then mate
What was in your technical interview?
And what's the name of a company?
Which role did you apply for?
This was actually just helpful for me to have some different ways to look at this problem! Thank you!
Do I know programming? No.
Do I understand the jokes? No
Have I been marathoning all these videos and somehow loving them? Absolutely
glad you like them and hope you learned something from them haha :)
sneaker heads be like
i think interviewing candidate just based on algorithm solving is just stupid. In work 90% of employees will never encounter this. And things you want to test are untouched.
@@opatechnus That's a strange reply to the root comment.
Anyway, if it's a good interview, the algorithm skills aren't meant to be a reflection of practical work, but rather, it demonstrates fundamental skills that are required to do good programming in general. A typical coder shouldn't spend much time optimizing, but they should at least not write code that's absurdly inefficient, and avoiding those pitfalls should be so natural that there's never even a conversation about it. That's why these kinds of technical questions are seen as a bare minimum for hiring.
Sad thing is I understand a bit like I can read the code and know what it’s doing but I didn’t do hash map or at least do it enough to remember a damn thing on it
I was literally asked the same question that I had solved the previous night, word for word. I deliberately started writing a naive approach, then halfway through that, pretended like I had just got a revelation, commented out the naive code and barfed up the O(n) solution like a freaking genius. Code worked.
Didn't get the job.
LOL good try tho
damn you should have
@@hebariaz6134 It's not very difficult to tell when people act like they don't know something. The interviewer is generally more concerned about the thought process and ability to solve a problem they don't already know the answer to.
Why would You do that though?
@@kekag yep. Theyre not testing memory. If you’re going to pretend you havent seen the problem (which is a good strategy) you cant just “have a revelation”. Sell the thought process. Write up the pseudocode for the naive approach and then say there’s definitely optimizations that can be made. Sit and think. Think aloud. Walk through logic that would lead to those “revelations”
This was my real experience, started interviews past 2 weeks rejected by 3 and counting. Each rejection is an experience and become better I am sure I will get through this phase.
Glad to inform got 3 offers and played salary matching game. I got my expected salary but not landed in tier 1 companies. I will continue preparing leetcode and land in tier 1 company. My salary increased more than 30%(TC - 210K).
@@personxyz1840 Congrats! So you already had some experience as a developer and was just switching companies?
@@Ryan-ul7dy Yes!! Lots of Experience I was out of job search market for long time.
@@personxyz1840 Hey could you please tell a little bit about what you said for the salary matching part
I first saw this video a couple of years ago. I had never solved a leetcode problem and it was all gibberish to me.
Now, every single thing makes sense and are intuitive solutions. Never give up, keep up learning and trying with your Leetcode!
can you tell me how you started leetcoding... it actually makes no sense to me and I am always afraid to start
Dude when the interview started I felt like I was the one being interviewed. I felt that fear in me
😳😳 coding interviews are so nerve wracking that they can be felt through a screen 😂
I share that feeling
@@nicholast your video just scared me for my future , I m gonna start my term in fall this year in computer science major
@@AmanDeep-rk6je Don't be scared. There are other companies besides Google etc.
Cam??
I'm a german software engineer working at a big company developing MASSIVE software (over 80 million lines of code) and i've never had a "coding interview" lol. Also i think that understanding problems quickly and knowing where to find the information you need is a far more important skill than explaining a sorting algorithm when you've done nothing else but learning them for the last couple of days. When you work and don't refesh your sorting algorithm knowledge you forget 95% of it after a few weeks anyways and even then you can just google it. Not something to differentiate good coders from bad coders imo. Using the best optimal runtime algorithms possible is pretty important but as i said.. you can just google it, it's just important to have heard it once and to know that it is a thing.
The funny part is, for 90% of the use cases, you're doing it wrong. It's the same thing with security, don't reinvent the wheel, your wheel won't be as round, the stdlib of any language you're using has a much better sorting algorithm than you will be able to make (they actually use a combination and heuristics and can even run in parallel)
Yes sir, I think you're right.
yeah but in germany its hard to get a job without a degree, in the US you can at least do that with one bootcamp
hello sir can i talk with you
100%, if you are on your third or second year of your degree you probably are going to remember this better than somebody that got the degree 7 years ago and has 10 years of experience xD
I remember the first time I watched this video over 6 months a go as a CS freshman I didn't even know what a HashMap was much less anything regarding time or space complexity but now I have been pleasantly surprised that I understand everything in this video now
me too, but I sure as heck cant converse comfortably like that XD
This is me now, I hope to be back in 6-9 months to see the progress that I will have
Give me 6months
Could you please help with materials or a guide on how to learn these things in their order of
importance and according how I will need them to advance my learning.
I just started out and have not being making enough progress because I don't have a streamlined
learning pathway to teach myself all the necessary things I need to become a software engineer.
Please kindly help with resources if you can, I can't afford college.
@@josephubi9096 Hey, sure. It really depends on where you're at currently and what you are trying to do within the field of computer science; whether it is web development, game development, data science And AI, or becoming a back end web developer.
However regardless of what you want to do, having a good foundation is very important. So I'm order to learn the basics of how to program I would recommend learning python as it's quite beginner friendly, although personally my first programming language was C and looking back it was definitely a great foundation but extremely hard to pick up at first. So in order to learn the basics of programming with python I would recommend the course Python for Everybody (you can find it on Coursera, edX and even CZcams) because it will start off slowly introducing you to simple topics but by the end of it you will know how to use python to parse a web page and make requests to an external API.
After you learn the basics of programming with python, I think you should switch gears and learn a bit of web development by learning html, css, and JavaScript. A good resource for that is freecodecamp.org or even the Odin project which you can find online. Once you do that you should have a good feel for the basics of programming. Reading computer science textbooks can also help too and then you can decide what you would like to build next. I hope this helps you.
In fact, here is a link to a GitHub repository that gives an alternative line of courses for you to take: github.com/ossu/computer-science
Throwing a hashmap at the problem when you're stuck is actually pretty good advice, it's a powerful structure that will save your ass many times.
facts
What is a hashmap?
@@titord6031 a collection of key-value entries, also known as just map or dictionary.
@@titord6031 hashmaps are like unordered sets in the mathematical world. Lookup times are O(1), but only unique key values are allowed.
But you have more data plus you need to hash everything right?
As an interviewer: This is 100% accurate. However, don't waste time coding the slow solution. It's fine to mention it, but if you know a faster solution go straight to that before coding.
nice
@@dhruvakhera5011 nice pfp
Came for this comment. Put your best foot forward, I'm looking at you as a complete candidate who tries to solve problems the best way you know how. Much better than a fake crappy approach just because you know the "can you improve this?" question comes next.
While I agree with this, that was the interviewer's fault for asking him to code a brute force solution instead of asking for an optimal solution before he started coding.
@@mdouet he never said brute force or slowest, the interviewer just asked for a solution
This is way of showing people how tech interview works with kind of melodrama is brilliant idea wise, appreciated 👏
Dude! This intro is priceless!!! Just getting into web development wanted to know what coding interviews are like and this is the first video yt recommended!
I own an IT company. When we take interviews we allow candidates to use Google or any other resource. We hire people even though they failed technical. The most important thing for us is willingness to learn.
Hire me then lol
Can I work for you?
I'm so glad to hear that XD
You’re awesome
**Gasp** cool companies like these exist?!?
New comp sci student here. I either will be back in a few years to say “haha, true” or I’ll have changed careers. Regardless, great vid.
feeling the same way lol !! it’s my first year and i’m watching all these
Same here haha
Lol. After I graduated and tried to get a job. I changed career fields and went to IT/Engineering. Software developer interviews are so garbage. Good luck!
Same 1st year cs here, i can barely comprehend the code lol,
@@gc1087 i was thinking of going into project management. i think its where my skills r best applied n i know im not gonna be a genius coder prob j average
This is a great video ! Not only funny, but I actually learned something too.
I wouldn't have thought of that hashmap solution
So the trippiest thing is one year ago I watched this video when I was researching pursuing a career in coding, and now one year into learning to code I am slowly learning about Hash maps, and watching this video again, I actually, to an extent, understood what you were talking about!
I thought it would end like "Thanks for fixing our coding problem. Thanks, bye!"
that would've been good 😂
Exactly what I was thinking!
If solving one problem for free for them would be annoying, imagine working for them making maybe tens of thousands while they potentially make billions off of your work, and you're not even allowed to work anywhere else
I always imagine that’s how these go. You’re actually solving bug tickets for them in prod.
Wow so many likes! Ty guys hah :D
When you’re in your third year of being a computer science student and don’t understand a word being spoken🥲
Wait, im on my first and understood most of it without doing anything prior to uni
You must have not started with dsa
😳😳
Start doing problems NOW
Change majors lmao
The main thing to take away from these interviews is that you will always be questioned on your solution to the problem. Invariably you will be able to improve it to some degree, the interviewer just wants to see if you know how. From my experience when I didn't know something it wasn't a bad thing, it was just a way to find the extent of my knowledge. I got good feedback about my solution after the interview and got the job. So when you are in this situation be calm, do the best you can and if you don't know something then don't worry about it, worst case scenario is you don't get the job and you never see that interviewer again.
was first watching for leisure before my technical interview. and I did get stuck, and that line came into my mind - "Throw a HashMap to the problem" and it worked! Coming back here to say Thank You as the HashMap solution really saved my ass!
I’m terrified of the coding interview. I’ve always had horrible performance anxiety, once someone’s watching me my mind goes blank. During a practice coding interview with an instructor he had to remind me that for loops are a thing 😭
I feel the same thing 😭
I was in a pricey bootcamp and didn't have much further to go with it. I wasn't enjoying it at all. Learned to hate coding when trying to make it a more serious career. Once I found out how the interview process worked and what to expect I was done - dropped out and went and changed careers again to something else I like better. Happy I did! Landed one of my other dream jobs.
Just practice with someone (who codes) watching you code. Practicing control of your anxiety and mind state is half the battle.
@@RocketVet What did you change too?
@@Pulsed101 I hold certifications in personal training, health, coaching/CBT. I went into social work doing life coaching classes and case management. Feels great helping people again!
I know this is supposed to be for entertainment but as a CS student this just makes me wanna die and dread having to do an interview like this lmao
Bro I thought I was the only one 🤣😭
I'm only freshman and worries always filled me
Only FAANG does this. For Junior positions, smaller companies ask you more about logic, some questions about CS knowledge like polymorfism etc. They also ask you to solve real-life problems so they can see if you're willing to learn and if you actually ever wrote a line of code. Don't worry too much ;)
for junior engineers i recommend practicing easy - medium problems leetcode (they have filter for top interview questions) as you work on harder problems you will learn more neat techniques. don't wait till you graduate, especially if you're aiming for top companies, though if u aim for small companies I'd still recommend you practicing in case you change your mind (never a bad thing to keep options open).
@@aduhaneh1057 even though i already have experience as developer this kind of stuff will surely improve my skill. Thanks for the idea.
Good job Nick. Always a easy way out of all the problems
Since the day I started to work with you, I know I've changed a lot which really helped me to become a better person inside and out. You are one of the reasons why I'm always trying my best. Thank you so much You know I appreciate you so much.
I’m literally watching this right before a coding interview.
May the power of the hash map be with me.
So, you did it?
u did it?
as a cs student, i need to know of you got the job
Ssssshhhhh guys, he's on his 69th interview. He doesn't know if he'll make it yet.
I’m having an tech interview in two days also, wish me good luck
I literally have no idea what he’s saying for this entire clip. 😂
me too
Just keep following the script
Same here....and im a 3rd year I.T student
First year Computer Engineering student here, and surprisingly I understood everything he said owo
@@clarisse603 Basically just data structure and algorithm plus something like dynamic programming ?CE major here too, and I only got to these during my second year cuz I didn't take useful APs 😭
Wow can't believe you are actually going through the real solutions! Nice!
Wow, your video is awesome.
Not boring like other tech videos.
Me who just started to learn about for loops:
"I like your funny words magic man"
...what return new int[] {i, j} does...returns an array with... i and j? But what's that "{ }" :'D
@@kitcat2449 "i" and "j" are the elements in the array! the curly brackets just show that those are the elements
@@T355V thank you! I actually took java classes recently so now it makes sense, but I appreciate the clear answer 8)
@@kitcat2449 yeah no problem! glad you're taking classes haha~
I’m currently on my final exam for Java as we speak! I’m deciding to do a choose your own adventure game, but it’s a bit hard for me to make the user go from a separate choice to a preexisting choice. Definitely easier said than done though, eheheh…
I've been a software developer for 16 years. I've been through plenty of code interviews and I've almost never given the best solution. Know why? Because nothing I've done of any quality is done inside 45 minutes. I just don't stress the first pass. If they're looking for perfection after 45 minutes, they're just looking for people who probably already got the correct answer online beforehand.
they just wanna know if you've been grinding your leetcode 😂
I think I will just say that on my next interview, actually. Thanks!
@@marcuscasagrande7596 tell us if you got the job lol
Why did you quit the career?
God bless you, you seem to have a nice family.
Man, by this video you helped me to pass my own code interview, really
I got this question in my interview today and your video suggestion earlier. Should have watched then.
why is youtube recommending this to so many people 4 months after i posted it??
Lol ...I once saw a 11 years old video in my recommendation
graduates bro
I just graduated and started my leetcode grind, and my CZcams feed become all cs videos and I got this video recommendation
I swear I thought I was watching myself here, I was literally asked this same question a few weeks ago during my last interview. My approach was pretty similar and I ended up throwing a hashmap at the problem as well. I was able to move on to the next round of interviews because of it, and then later on I eventually got the job.
wow congrats!! so funny how the stories are so similar 😂
Dude how did you make it through lol, im having a hard time passing the 1st tech interview, did you study some data structures beforehand?
@@jordan.j4064 Pretty much yeah. Before I got my first job I had a hard time with tech interviews too. I kept failing and failing them but with each failure I learned more about the areas I was weak in and focused in on that. Soon enough I was able to get more comfortable with interviews and I ended up managing to land my first job with a lot of effort. Honestly though, just keep sending out applications, keep pushing yourself to improve and learn from your mistakes, and soon enough you'll be able to make it through.
@@liechy does gpa matter?
@@bigchungus6546 honestly it doesn't really matter. What really does matter though is actual experience. If you're still in school, shoot for an internship. If you've already graduated, start building out side projects and work on your interview skills.
Love the video...i just got a new software developer position. It just took 1 HR phone screen. Two code tests on a coding test websites. Three brutal technical interviews where I created 2 mobile apps and I finally got the position after a total of three weeks. I have a friend who is a nuclear physicist and it took a single 30 minute phone interview to get a position at a nuclear power plant. I do not know any other career field where the interviews are as tough as in software developing.
Wow this is so accurate, ive had like 3 interviews for the same company before finally getting the job.
The best tip I could give is to not be sad if you dont ace your interview. Always try to learn from failiures and never say you know something that you cannot explain.
:)
Good luck
Thanks 👍
Fun Fact:- " _This guy just cracked the formula of making humour out of no humour_ " 😂😂
😎 😎
You mean _cracked the code_ ?
This is what you call kafkaesque, when the industry is so absurd that, that in itself is absurd
My friends, search for your life purpose, why are we here?? I advise you to watch this series 👇 as a beginning to know the purpose of your existence in this life--
czcams.com/play/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B-.html
Russian comedians: am I a joke to you?
Me pretending I know what he's talking about: "Ahh yes...The ol' indexing the corresponding indices for the core value of zero sum. Brilliant."
Smile and wave boys, smile and wave
Lol, when he mentioned to throw a hashmap at it I immediately thought back to one interview question I got where I bongled it because I didn't think to use a hashmap to get linear runtime until after the interview was over and it was this exact problem. I hate code interviews for the same reason I hate oral exams. If you don't immediately know the solution you're just fucked and if you're the type of person who gets nervous at oral exams you're just at a huge disadvantage compared to someone who doesn't get nervous. I mean, it's not like you'll ever be in a situation at your job where you have five and only five minutes to conjure up and code up a solution to an algorithm. Anyway. Fun and relatable video.
As someone who is only a couple months in to learning, this absolutely terrifies me lol
I’m new to coding but I honestly doubt unless you’re going into a very lucrative role they would ask this type of question under pressure. As others have said, no decent code is produced in 5 minutes and certainly not under pressure.
Don't stress it luv, plenty of opportunities to learn and do not be affraid of failures. Simply learn from them and continue your journey :)
@@durza9390 lol is it a failure if I can't even get hired for IT support/office work. Can't find shit for an entry level job 😭
Same 😢 im a beginner in coding and it terrifies me
@@anunknownperson4018 sameee
The joke is. After this you will never ever do anything like this again. Because most of the time you will develop some restAPI.
well thats only for backend, as a FE, I never built a single API endpoints in company tasks lol, neither did I encounter and stuff like interview questions again in my years of career
*studies data structures + algorithms for months*
gets paid to center divs
sorry but your div fucked up the whole site
bruh moment
@@nicholast As a CSS specialist, I've been centering div's for 20 years. Except these days the styles are declared somewhere in a HashMap.
in school: 2+2 = 4
in exam: What is the mass of Sun?
in coding interview: solve complex problems.
in job: data entry 😅🤣😬😬😒😒
Edit: WOW so many likes!
Thank you guys 😍🤩
😂😂
Seriously 😂
@Rohit Salunke
Fat gyi 🙂ab toh easily kar paoge
@Rohit Salunke
Mere ko emoji nahi dikh raha . Download nahi hai .
@Rohit Salunke
Ok lol
I watched this video about a year ago. Coming back and watching it now on a whim I realized I understand what they're talking about now. Feels good :)
A year ago I watched your video. Didn’t understand a word you said. Now when I watch this video I understand and have done exactly what he did!🎉🎉
5k likes for part 2 👀
Throw hashmap at the problem sometimes really work lol. Can't wait for next tip!
I'm beginning my coding journey and watching this scared the crap out of me.
Done
I absolutely didn't understand anything all of you were saying, so I guess I'll never get hired as a coder.
When you said "There's more??!!!! "
I felt that 😢
there's always more :(
@@nicholast Wave 4 of interviewing... Interviewer: "Wow, looks like its been 6 weeks since our first meeting. Unfortunately, at this point in time we will be moving forward with other candidates."
@@MegaOfficeHours I'd rather be a fish if I'm gonna get gutted like that 😂
@@GrinFlash007 I got a CompSci degree and quit looking for jobs after a few of these.
@@Egg-vv8de which part lol. Wave 4 of interviewing or giving up on finding a software job?
"Throw a hashmap at the problem" is my standard first approach to any problem involving arrays. Now I know I'm not just weird
I have really learnt alot from this video, Nick 😃👍
"Just throw a hashmap at the problem"
My algos professor: "Nope find an O(1) solution"
this was actually a solution that was desired from me once: the best answer was to generate a lookup table beforehand, and just use that in the live code.
“Fuckin uh… just take the first two and hope that its right”
use a hashmap, lol key = input, value = pre-programmed desired output.
This hit me on a cellular level. LOL
LOOL
This is what I've been saying. This guy doesn't miss bro
I love the linear time solution. Is the perfect example of a simple, clean and clever idea
I love it too
When I saw the question I paused it and came up with using a map, love that you came up with the same solution
I’ve been debating about going into coding for a couple months now. Thank you for this u-turn 😂
nah u should try it
😂😂😂
No the u turn 😭😂
I've been working as a programmer for nearly 10 years and I've never had an interview like this. It's an extremely broad field, it isn't all like this.
@@lalala-lt8fe let me guess you doing front end?
I was expecting a joke of a video, but this was actually extremely helpful as a CS major.
Lol. I really like these videos. This is exactly like the engineering interviews. Especially the oh I just did this problem last night but I will pretend this is my first time seeing it.
That very famous two sum problem from leetcode. haha. I would have directly jump into the Hash Map for sure. Thanks bro for teaching me this ninja technique. :D
I love how the guy just awkwardly walks away without further explanation, even though the person he was explaining to was clearly still confused. And he literally is walking to nowhere.
My name’s NINO
Interviewer - MAKE A TIME MACHINE
ME- What ?
Interviewer - Too late, *Rejected*
Software engineer here - I didn't follow all of that.
I have been writing code for almost a decade now across several large companies using a variety of frameworks and languages. All I can say is that not once in my career have I ever had to solve anything like this.
I've also hired developers in on my post as a dev manager and scrapped the tech test as my first move. I care more about their ability to learn and attitude than how well they can remember academic-type questions and answers. They need to understand code and how to solve problems, but I'd rather have a someone on the team that can pick that up quickly and can demonstrate some fundamentals than someone who can rattle off 'coding exercises'. The reality is, most jobs are bug fixes and you'll likely never encounter such BS
You've never worked for big tech like Google, Twitter or Facebook. I agree with you. Im a senior software engineer for about 7 years and a database administrator before that. When I interview, I throw out a couple feelers to make sure you can code but never anything like this. I usually stick to past experiences and let them know what our past current and future projects might be and ask them for insight on how they would handle some of the issues I've had or foresee. I have never had a bad hire using those methods (I've hired 10 developers in my career all have been with me over a year and did fantastic work)
@@USFighter I'm 27 years old, haven't held a job in years and got a bit lost in life. I feel like I want to go the software developer/engineer route. Where would you suggest someone like me with near to none experience should start?
@@GrantH2606 first off, what are your interests?
@@howardbaxter2514 I do not know what my interests are career-wise, I just know labour isn't it. Idk how I'm supposed to know what my interests are...
@@GrantH2606 Ideally, you’d find a career in something that interests you. So what do you like doing? How do you spend your free time? If the answer is “playing video games,” it’s unlikely you’ll get a job doing that, though it is possible, but maybe you want to get into video game design. You have to do a lot of research, find CZcams videos on careers in fields that interest you, and see what the jobs are like. I know people in their 50s that still haven’t figured out what the hell they’re doing. Try not to stress about it too much, and try different things if you can.
😁 I have no idea about coding but enjoy your video, also share this to a friend
who is learning to code and going to interview for boot camp or something, not sure
I came for a quick joke and ended up learning about hashmasps and having a Big Time Rush nostalgia trip. Sub.
love to hear it!
I had the "throw a hashmap at the problem" awakening only yesterday. Code works in mysterious ways.
Good. One more video to show for my students about why Data Structures are maybe the most important topic of efficient Software development
I'm glad I've been working at the same company since I graduated 22 years ago because I would not be able to code up something with someone watching over my shoulder in an interview setting. But I do agree... whenever you're stuck the solution probably involves a HashMap.
No idea what anything you said meant but I was very invested into the video. 10/10 acting, would recommend
Lmaooo thank you Jason :)
That part where he didn't know what to do next and just kept saying "uh" over and over really hit home, lol.
Loved the Big Time Rush Outro at the end 👌🏼
Just came back here for your explanation of how the two pointer approach works for Two Sum, thanks :D
it was harder to come up with that 2nd solution than the hashmap solution
the other day i did a technicall interview, i felt ashamed to use a hashmap for both question, i thought i was being dirty
@@michaelaramis1210 the other day I interviewed a guy and he didn't even know how a regular array works and how writing to a variable happens under the hood. And he had a year of expirience as a software ingeneer. So if you know what the hash map is and able to apply it in suitable places, you are a better than many out there and have nothing to be ashamed of.
@American Hero yeah, heavily!
@@superdingo9741 i was refering that i felt dirty on using my hammer to nail every problem :P but i do get your point, it has taken many years for me to validate myself as a developer and still theres plenty of room to grow
ive done cloud apps, mobile, desktop, architected backend and frontend software, lead small teams of developers...
still to this day i dont feel that i could fit on a large company
@@superdingo9741 Wow that's reassuring 🤧
And from all us coders out there, here is the real answer: "No problem sir, let me just google that for you!"
😂😂😂
and Stackoverflow xD
2 years ago when this video first came out, I had no clue what he was talking about nor the problem at hand. Now I can't believe I can now actually understand everything that's being talked about in this video!
That's pretty advanced knowledge from where I'm sitting
Nice video
That “hmm good question. Uh, I, uh, well instead of doing what we did…” was one of the most relatable things I’ve ever heard. I don’t do coding anymore since I’m ass at it and straight up don’t like it and this video was so accurate
I'm currently studying for my exam in algorithms (mostly time complexity). Thank you for giving me shortcuts with this video.
thanks for advices 🙏
Just watching this video at the beginning of learning my first language. Going to watch again in 6 months to see how much more I understand.
"Could you make it faster?"
"I'm sure we could, let's discuss it during tomorrow's stand-up; I'm sure the team will have some input. After all, this won't go into production for 3 months, so we have lots of time to refine it."
“That would be a cross-functional effort requiring 10 engineers and 4 weeks. Let’s keep it in the backlog for now”
Interviewer: And... you can just assume that the solution always exists.
Nick: I'll pretend I didn't hear that.
Just saw this now and this is making me motivated lol
Start d learning some coding yesterday. Have no clue what the fuck you are talking about in this vid but I like it!
_*5 minutes later *_
After careful consideration of your impressive resume and interview performance, we have decided to make the difficult and gut wrenching decision to move forward with other candidates whose skills more closely align with the needs of this position at this time. We greatly appreciate your time and we hope that you continue to follow our posted job opportunities in the future.
Someone's been rejected a few times before
like this
tbh I would rather them fully vibe check me & read every single 'less than ideal' comment from the interviewer.
like "Honestly, this guy uses the term 'ostensibly' & 'thus' far too frequently. I will quit if you hire him on my team" & being somewhat petty, is something I would prefer to corporate nice-speak.
Oh btw for anyone who reads this & thinks "same": I have had good luck in getting real feedback by reaching out to interviewers via linkedin or github (note: not their @work emails), but I am careful to not be weird about it lol
Man, congratulations for your achievements!!! Only you know how really hard it was for you to get to be where you are now! 🙏🏽 God keep blessing you and your goals!
thanks Jaques :)
I had no idea what you were talking about the whole time, but now I wanna learn
I felt dumb af because my brain started kind of blurring some of the stuff you were saying, but hearing pairs and my first thought being HashMap and it coming up actually made my day. We take these wins, no matter how small....
Lol, at least you did better than me, up until I saw this video I only knew Hashmaps as Dictionaries
Perfect example of programming interview hell. "Draw me the Mona Lisa" they said, then you get the job and end up painting a fence.
Guess that's why you just learn to draw Mona Lisas as per usual for these types of interviews to prepare for fence painting jobs, like everyone else. Sad, but true for a lot in life.
@@folou9199 me rn.
99% leetcode + 1% cramming to remember:
The details of my own significant side-projects, various role & language specific info, & how to actually talk to a new person while constantly switching between high-level general overviews & low-level explanations while being concise.
ADHD has been good to me while I am actually writing code, but boy is it rough when interviewing & prepping for interviews... I also am afraid to mention I have it just in-case someone lowkey passes on me because of it.
You're hilarious!
In China we call it "building a rocket in the interview and twisting screws in the job" lol
Hashmaps really do save you though lmao
Facts
Yeah, basically a time-memory trade-off.
@@prabeshhumagain1008 is a hashmap like a Regular Expression
@@placeholder_name321 no, hashmaps store keys and value pairs. Keys can be mostly anything, but in the interview he stored the complement integer as a key and the index as a value. You can look up keys in constant time. Regular expressions is used to find things in a certain format you specify. Regular expression do not store anything you found
I got into programming when, If you could do it - you get you the job.
I actually understand the O-notation he's referring to. Measures of algorithm complexity. Woo Hoo!
Love to interview these guys.
Very nice you're a genius!
"Yup, that sounds like a good start"
"That's my entire code"
"Bruh"
I’m literally a nursing major, idk how I ended up here or what you’re saying but it sounds about right 😂
You like it?😭
I feel you, I study biochemistry and this sounds foreign to me.
hahahahahahha
I’m taking a veterinarian course how did we get here
HAHAHA lol, there's one thing you could understand about us just study ABOUT US HAHA
Just fyi, there is actually a trade-off between the 2 solutions; neither is more optimal than the other. The second solution, even though faster, takes extra space. A better script can be asking the clarification question first ("Is the array sorted?") and then propose both solutions depending on different conditions.
This video actually helped me in an assessment i got stuck and threw a hashmap at the problem and it worked