Coding Interviews Be Like

  Рет қаралды 5,877,126

Nicholas T.

Nicholas T.

Күн бұрын

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...

Пікірлер: 5 400
@nicholast
@nicholast 3 жыл бұрын
this was actually based on a personal experience
@nicholast
@nicholast 3 жыл бұрын
@@AndrewCheetah no way!
@firestarter000001
@firestarter000001 3 жыл бұрын
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.
@firestarter000001
@firestarter000001 3 жыл бұрын
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:)
@MillandeepSingh
@MillandeepSingh 3 жыл бұрын
Did you pass the other interview 🙄
@nicholast
@nicholast 3 жыл бұрын
@@MillandeepSingh im pretty sure i passed because i got the optimal solution, but didn't get the offer 😥
@bluegizmo1983
@bluegizmo1983 3 жыл бұрын
Bombshell: they're not actually interviewing you, they're just stuck on a code problem and want a free solution! 🤣
@nicholast
@nicholast 3 жыл бұрын
haha i've seen startups give take-home projects that just look like work they need someone to do for free😂
@BeanyB0b
@BeanyB0b 3 жыл бұрын
lol, they need help solving two sum for important business reasons. nobody else has been able to solve it to date
@ezraodole933
@ezraodole933 3 жыл бұрын
XD
@alan99yu
@alan99yu 3 жыл бұрын
LOL
@pokedart9001
@pokedart9001 3 жыл бұрын
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
@Sky4Jus
@Sky4Jus 3 жыл бұрын
"Do you think you could make it faster?" "Nah, I'm good"
@nicholast
@nicholast 3 жыл бұрын
“You’re hired!”
@ThiagoRibeiroo
@ThiagoRibeiroo 3 жыл бұрын
underrated comment lmaoo 🤣🤣
@nateF888
@nateF888 3 жыл бұрын
Your pfp fits ur comment perfectly 😂
@domr4879
@domr4879 3 жыл бұрын
Lmao
@errhka
@errhka 3 жыл бұрын
Me, a pragmatist: "get better hardware"
@peacelove6455
@peacelove6455 3 жыл бұрын
"That....should work?"- Every Programmer
@maxhughesgray2591
@maxhughesgray2591 3 жыл бұрын
Yeah, you go through every situation in your head and something still goes wrong.
@jeremysutherlin7565
@jeremysutherlin7565 3 жыл бұрын
99 little bugs in the code, 99 little bugs. Take one down patch it around, 437 little bugs in the code!
@maxhughesgray2591
@maxhughesgray2591 3 жыл бұрын
@@jeremysutherlin7565 99 bugs and a segmentation fault ain't one.
@Everydaywinz
@Everydaywinz 3 жыл бұрын
😂😂😂😂😂😂
@metehanfirat3446
@metehanfirat3446 3 жыл бұрын
We made a pong game in Python using the Turtle and Freegames libraries. kzbin.info/www/bejne/h4GugHWbg9yFmM0
@simonanikolova1719
@simonanikolova1719 2 жыл бұрын
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 Edit: Got the job, worked in the company then switched to a company where I feel better
@JohnDoe-yq9rt
@JohnDoe-yq9rt 2 жыл бұрын
great, have fun making apps to make some jewish guy rich :-)
@joonorganic
@joonorganic 2 жыл бұрын
HOW DID IT GO
@simonanikolova1719
@simonanikolova1719 2 жыл бұрын
@@joonorganic Thank you, It went perfectly. Also, I had one more interview with another company and a hashmap saved me again :D
@simonanikolova1719
@simonanikolova1719 2 жыл бұрын
Update : I got an offer from both companies. Learn your hashmaps and good luck to everyone!
@joonorganic
@joonorganic 2 жыл бұрын
@@simonanikolova1719 AYY WE SO PROUD OF U
@sb-jo2ch
@sb-jo2ch 3 жыл бұрын
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.
@nicholast
@nicholast 3 жыл бұрын
LOL good try tho
@waltwhitman7545
@waltwhitman7545 3 жыл бұрын
damn you should have
@kekag
@kekag 3 жыл бұрын
@@nisaerdagu00322 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.
@mxd1232
@mxd1232 3 жыл бұрын
Why would You do that though?
@Pharoah2
@Pharoah2 3 жыл бұрын
@@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”
@needmusicnow7
@needmusicnow7 3 жыл бұрын
Do I know programming? No. Do I understand the jokes? No Have I been marathoning all these videos and somehow loving them? Absolutely
@nicholast
@nicholast 3 жыл бұрын
glad you like them and hope you learned something from them haha :)
@alfonsopinto1859
@alfonsopinto1859 2 жыл бұрын
sneaker heads be like
@opatechnus
@opatechnus 2 жыл бұрын
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.
@Mothuzad
@Mothuzad 2 жыл бұрын
@@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.
@loganhh1043
@loganhh1043 2 жыл бұрын
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
@brunomillalaf8553
@brunomillalaf8553 2 жыл бұрын
I studied coding and struggled during the interviews. Now I’m a full time burger developer at McDonalds.
@rishitayadav9956
@rishitayadav9956 2 жыл бұрын
Oh god 🤣🤣
@Cie_lll
@Cie_lll 2 жыл бұрын
LMFAOO
@gyromatty691
@gyromatty691 2 жыл бұрын
And if you're stuck in an order, just throw a hash brown.
@devkirandass7930
@devkirandass7930 2 жыл бұрын
@@gyromatty691 haha lol
@anunknownperson4018
@anunknownperson4018 Жыл бұрын
😭 i might reconsider my career FML ill pray for a miracle
@milos5247
@milos5247 3 жыл бұрын
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.
@nicholast
@nicholast 3 жыл бұрын
facts
@titord6031
@titord6031 3 жыл бұрын
What is a hashmap?
@milos5247
@milos5247 3 жыл бұрын
@@titord6031 a collection of key-value entries, also known as just map or dictionary.
@Loachie90
@Loachie90 3 жыл бұрын
@@titord6031 hashmaps are like unordered sets in the mathematical world. Lookup times are O(1), but only unique key values are allowed.
@TheChangeYT
@TheChangeYT 3 жыл бұрын
But you have more data plus you need to hash everything right?
@anad.1594
@anad.1594 3 жыл бұрын
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.
@dianna9182
@dianna9182 3 жыл бұрын
feeling the same way lol !! it’s my first year and i’m watching all these
@Sid-xt3kt
@Sid-xt3kt 3 жыл бұрын
Same here haha
@gc1087
@gc1087 3 жыл бұрын
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!
@darthvader9851
@darthvader9851 3 жыл бұрын
Same 1st year cs here, i can barely comprehend the code lol,
@sumairakhan9980
@sumairakhan9980 3 жыл бұрын
@@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
@1314pankaj
@1314pankaj 2 жыл бұрын
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.
@MohammedIbrahim-sl4yv
@MohammedIbrahim-sl4yv 2 жыл бұрын
Hire me then lol
@dhruvpatel6604
@dhruvpatel6604 2 жыл бұрын
Can I work for you?
@sin3358
@sin3358 2 жыл бұрын
I'm so glad to hear that XD
@imperialchalice
@imperialchalice 2 жыл бұрын
You’re awesome
@TitaniumTronic
@TitaniumTronic 2 жыл бұрын
**Gasp** cool companies like these exist?!?
@ameyb9241
@ameyb9241 2 жыл бұрын
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.
@Pureperfect0123
@Pureperfect0123 9 ай бұрын
Have a good life then mate
@ggsap
@ggsap 8 ай бұрын
What was in your technical interview?
@dontforgettonerfthepig3322
@dontforgettonerfthepig3322 8 ай бұрын
And what's the name of a company?
@philinh9169
@philinh9169 6 ай бұрын
Which role did you apply for?
@LalahLoopsy
@LalahLoopsy 3 ай бұрын
Did u get fired right after the fake act
@kered13
@kered13 3 жыл бұрын
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.
@dhruvakhera5011
@dhruvakhera5011 3 жыл бұрын
nice
@nathanfisher9933
@nathanfisher9933 3 жыл бұрын
@@dhruvakhera5011 nice pfp
@djtecthreat
@djtecthreat 3 жыл бұрын
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.
@mdouet
@mdouet 3 жыл бұрын
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.
@whereDoCarrotsComeFrom
@whereDoCarrotsComeFrom 3 жыл бұрын
@@mdouet he never said brute force or slowest, the interviewer just asked for a solution
@haseebazam7164
@haseebazam7164 3 жыл бұрын
Don't forget the part where they say "Good, now we'll move on to a hard problem"
@nicholast
@nicholast 3 жыл бұрын
that would've been good
@creeks123
@creeks123 3 жыл бұрын
@@nicholast Teach me the ways.
@praharshsingh2095
@praharshsingh2095 3 жыл бұрын
:This is Fine meme
@metehanfirat3446
@metehanfirat3446 3 жыл бұрын
We made a pong game in Python using the Turtle and Freegames libraries. kzbin.info/www/bejne/h4GugHWbg9yFmM0
@coolgeYuhang
@coolgeYuhang 3 жыл бұрын
be like , let me find HARD one in the leetcode and this will be a problem for next interview
@meganlukes6679
@meganlukes6679 3 жыл бұрын
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 😭
@amaannii
@amaannii 3 жыл бұрын
I feel the same thing 😭
@RocketVet
@RocketVet 3 жыл бұрын
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.
@considerphi
@considerphi 3 жыл бұрын
Just practice with someone (who codes) watching you code. Practicing control of your anxiety and mind state is half the battle.
@Pulsed101
@Pulsed101 3 жыл бұрын
@@RocketVet What did you change too?
@RocketVet
@RocketVet 3 жыл бұрын
@@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!
@RealitaetsverweigererDerAmpel
@RealitaetsverweigererDerAmpel 2 жыл бұрын
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.
@shaunreich
@shaunreich 2 жыл бұрын
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)
@unutilisateurdeyoutube1256
@unutilisateurdeyoutube1256 2 жыл бұрын
Yes sir, I think you're right.
@armin3057
@armin3057 2 жыл бұрын
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
@shabsukkar
@shabsukkar Жыл бұрын
hello sir can i talk with you
@marinero.bengali2
@marinero.bengali2 Жыл бұрын
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
@Jokamutta
@Jokamutta 3 жыл бұрын
I thought it would end like "Thanks for fixing our coding problem. Thanks, bye!"
@nicholast
@nicholast 3 жыл бұрын
that would've been good 😂
@NotAMystery
@NotAMystery 3 жыл бұрын
Exactly what I was thinking!
@ieaturanium574
@ieaturanium574 3 жыл бұрын
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
@LaughingBearGames
@LaughingBearGames 3 жыл бұрын
I always imagine that’s how these go. You’re actually solving bug tickets for them in prod.
@Jokamutta
@Jokamutta 3 жыл бұрын
Wow so many likes! Ty guys hah :D
@isaiahdeck8747
@isaiahdeck8747 3 жыл бұрын
When you’re in your third year of being a computer science student and don’t understand a word being spoken🥲
@Brormable
@Brormable 3 жыл бұрын
Wait, im on my first and understood most of it without doing anything prior to uni
@vishrutaggarwal5090
@vishrutaggarwal5090 3 жыл бұрын
You must have not started with dsa
@nicholast
@nicholast 3 жыл бұрын
😳😳
@someguyslastname8487
@someguyslastname8487 3 жыл бұрын
Start doing problems NOW
@Baozahh
@Baozahh 3 жыл бұрын
Change majors lmao
@aaronsalenga3221
@aaronsalenga3221 2 жыл бұрын
I’m literally watching this right before a coding interview. May the power of the hash map be with me.
@guilhermepoleto4989
@guilhermepoleto4989 2 жыл бұрын
So, you did it?
@bapemanyo
@bapemanyo 2 жыл бұрын
u did it?
@alinaertsd
@alinaertsd 2 жыл бұрын
as a cs student, i need to know of you got the job
@kchannel5317
@kchannel5317 2 жыл бұрын
Ssssshhhhh guys, he's on his 69th interview. He doesn't know if he'll make it yet.
@hhao7310
@hhao7310 2 жыл бұрын
I’m having an tech interview in two days also, wish me good luck
@jeromesimms
@jeromesimms 2 жыл бұрын
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
@andrewhinson4323
@andrewhinson4323 Жыл бұрын
me too, but I sure as heck cant converse comfortably like that XD
@CallMeDeeWee
@CallMeDeeWee Жыл бұрын
This is me now, I hope to be back in 6-9 months to see the progress that I will have
@natasdabsi1138
@natasdabsi1138 Жыл бұрын
Give me 6months
@josephubi9096
@josephubi9096 Жыл бұрын
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.
@jeromesimms
@jeromesimms Жыл бұрын
@@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 KZbin) 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
@liechy
@liechy 3 жыл бұрын
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.
@nicholast
@nicholast 3 жыл бұрын
wow congrats!! so funny how the stories are so similar 😂
@jordan.j4064
@jordan.j4064 3 жыл бұрын
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?
@liechy
@liechy 3 жыл бұрын
​@@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.
@bigchungus6546
@bigchungus6546 3 жыл бұрын
@@liechy does gpa matter?
@liechy
@liechy 3 жыл бұрын
​@@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.
@jesselangham
@jesselangham 2 жыл бұрын
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.
@nicholast
@nicholast 2 жыл бұрын
they just wanna know if you've been grinding your leetcode 😂
@marcusbighouse
@marcusbighouse 2 жыл бұрын
I think I will just say that on my next interview, actually. Thanks!
@d3ly746
@d3ly746 2 жыл бұрын
@@marcusbighouse tell us if you got the job lol
@culhwch4168
@culhwch4168 2 жыл бұрын
Why did you quit the career?
@BigBrother4Life
@BigBrother4Life Жыл бұрын
God bless you, you seem to have a nice family.
@carlocorallini9090
@carlocorallini9090 3 жыл бұрын
Me who just started to learn about for loops: "I like your funny words magic man"
@kitcat2449
@kitcat2449 3 жыл бұрын
...what return new int[] {i, j} does...returns an array with... i and j? But what's that "{ }" :'D
@T355V
@T355V 2 жыл бұрын
@@kitcat2449 "i" and "j" are the elements in the array! the curly brackets just show that those are the elements
@kitcat2449
@kitcat2449 2 жыл бұрын
@@T355V thank you! I actually took java classes recently so now it makes sense, but I appreciate the clear answer 8)
@T355V
@T355V 2 жыл бұрын
@@kitcat2449 yeah no problem! glad you're taking classes haha~
@Flaming_Saturn
@Flaming_Saturn 2 жыл бұрын
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…
@thereasonableprogrammer4921
@thereasonableprogrammer4921 8 ай бұрын
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!
@prakriti7571
@prakriti7571 5 ай бұрын
can you tell me how you started leetcoding... it actually makes no sense to me and I am always afraid to start
@RoMD
@RoMD 3 жыл бұрын
I literally have no idea what he’s saying for this entire clip. 😂
@nicholast
@nicholast 3 жыл бұрын
me too
@paulimriss
@paulimriss 3 жыл бұрын
Just keep following the script
@brozobronze9821
@brozobronze9821 3 жыл бұрын
Same here....and im a 3rd year I.T student
@clarisse603
@clarisse603 3 жыл бұрын
First year Computer Engineering student here, and surprisingly I understood everything he said owo
@shaun1165
@shaun1165 3 жыл бұрын
@@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 😭
@pranjali1411
@pranjali1411 3 жыл бұрын
When you said "There's more??!!!! " I felt that 😢
@nicholast
@nicholast 3 жыл бұрын
there's always more :(
@MegaOfficeHours
@MegaOfficeHours 3 жыл бұрын
@@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."
@GrinFlash007
@GrinFlash007 3 жыл бұрын
@@MegaOfficeHours I'd rather be a fish if I'm gonna get gutted like that 😂
@MegaOfficeHours
@MegaOfficeHours 3 жыл бұрын
@@GrinFlash007 I got a CompSci degree and quit looking for jobs after a few of these.
@MegaOfficeHours
@MegaOfficeHours 3 жыл бұрын
@@Egg-vv8de which part lol. Wave 4 of interviewing or giving up on finding a software job?
@aylith663320
@aylith663320 2 жыл бұрын
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.
@tyranitarxd2819
@tyranitarxd2819 3 жыл бұрын
it was harder to come up with that 2nd solution than the hashmap solution
@michaelaramis1210
@michaelaramis1210 3 жыл бұрын
the other day i did a technicall interview, i felt ashamed to use a hashmap for both question, i thought i was being dirty
@superdingo9741
@superdingo9741 3 жыл бұрын
​@@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.
@michaelaramis1210
@michaelaramis1210 3 жыл бұрын
@American Hero yeah, heavily!
@michaelaramis1210
@michaelaramis1210 3 жыл бұрын
​@@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
@prateeksingh-hp4qd
@prateeksingh-hp4qd 3 жыл бұрын
@@superdingo9741 Wow that's reassuring 🤧
@RudyPhile
@RudyPhile 3 жыл бұрын
Fun Fact:- " _This guy just cracked the formula of making humour out of no humour_ " 😂😂
@nicholast
@nicholast 3 жыл бұрын
😎 😎
@afreentaj3648
@afreentaj3648 3 жыл бұрын
You mean _cracked the code_ ?
@NeostormXLMAX
@NeostormXLMAX 3 жыл бұрын
This is what you call kafkaesque, when the industry is so absurd that, that in itself is absurd
@الإسلامدينالحق-خ5ت
@الإسلامدينالحق-خ5ت 3 жыл бұрын
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-- kzbin.info/aero/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B-
@AmberyTear
@AmberyTear 3 жыл бұрын
Russian comedians: am I a joke to you?
@warrior100girl
@warrior100girl 3 жыл бұрын
The joke is. After this you will never ever do anything like this again. Because most of the time you will develop some restAPI.
@kern6365
@kern6365 3 жыл бұрын
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
@nicholast
@nicholast 3 жыл бұрын
*studies data structures + algorithms for months* gets paid to center divs
@soluna1679
@soluna1679 3 жыл бұрын
sorry but your div fucked up the whole site
@nicholast
@nicholast 3 жыл бұрын
bruh moment
@PaulMcCannWebBuilder
@PaulMcCannWebBuilder 3 жыл бұрын
@@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.
@pickledpenny604
@pickledpenny604 2 жыл бұрын
As someone who is only a couple months in to learning, this absolutely terrifies me lol
@superpantman
@superpantman 2 жыл бұрын
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.
@durza9390
@durza9390 2 жыл бұрын
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 :)
@maple_vanilla
@maple_vanilla 2 жыл бұрын
@@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 😭
@anunknownperson4018
@anunknownperson4018 Жыл бұрын
Same 😢 im a beginner in coding and it terrifies me
@ICxrsedII
@ICxrsedII Жыл бұрын
@@anunknownperson4018 sameee
@kungfungify
@kungfungify 3 жыл бұрын
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."
@nicholast
@nicholast 3 жыл бұрын
Smile and wave boys, smile and wave
@jonathanmilien9075
@jonathanmilien9075 3 жыл бұрын
This hit me on a cellular level. LOL
@nicholast
@nicholast 3 жыл бұрын
LOOL
@exodia_right_leg
@exodia_right_leg 3 жыл бұрын
This is what I've been saying. This guy doesn't miss bro
@MrBenny1010101
@MrBenny1010101 2 жыл бұрын
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.
@nicholast
@nicholast 2 жыл бұрын
My name’s NINO
@amyb2589
@amyb2589 2 жыл бұрын
This was actually just helpful for me to have some different ways to look at this problem! Thank you!
@bharat_thapa_
@bharat_thapa_ 3 жыл бұрын
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 😍🤩
@nicholast
@nicholast 3 жыл бұрын
😂😂
@dewdleart5177
@dewdleart5177 3 жыл бұрын
Seriously 😂
@carloversjaihind5772
@carloversjaihind5772 3 жыл бұрын
@Rohit Salunke Fat gyi 🙂ab toh easily kar paoge
@carloversjaihind5772
@carloversjaihind5772 3 жыл бұрын
@Rohit Salunke Mere ko emoji nahi dikh raha . Download nahi hai .
@carloversjaihind5772
@carloversjaihind5772 3 жыл бұрын
@Rohit Salunke Ok lol
@tylerfunnyman2532
@tylerfunnyman2532 3 жыл бұрын
I’ve been debating about going into coding for a couple months now. Thank you for this u-turn 😂
@nicholast
@nicholast 3 жыл бұрын
nah u should try it
@Tezzilove
@Tezzilove 2 жыл бұрын
😂😂😂
@PoeticComments
@PoeticComments 2 жыл бұрын
No the u turn 😭😂
@lalala-lt8fe
@lalala-lt8fe 2 жыл бұрын
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
@lalala-lt8fe 2 жыл бұрын
@@Joe-fj6dj A little frontend, mostly backend. Why?
@grantdong7746
@grantdong7746 3 жыл бұрын
I was expecting a joke of a video, but this was actually extremely helpful as a CS major.
@simplehonestmusic2261
@simplehonestmusic2261 Жыл бұрын
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!
@neil2300
@neil2300 3 жыл бұрын
Interviewer - MAKE A TIME MACHINE ME- What ? Interviewer - Too late, *Rejected*
@wonderstruck.
@wonderstruck. 3 жыл бұрын
"Just throw a hashmap at the problem" My algos professor: "Nope find an O(1) solution"
@mystic839
@mystic839 3 жыл бұрын
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.
@DeezNuts-zx3ih
@DeezNuts-zx3ih 3 жыл бұрын
“Fuckin uh… just take the first two and hope that its right”
@obamabinladen5055
@obamabinladen5055 3 жыл бұрын
use a hashmap, lol key = input, value = pre-programmed desired output.
@yulu1248
@yulu1248 2 жыл бұрын
3:09 that repetitive sentence is sooo realistic
@mdouet
@mdouet 3 жыл бұрын
That part where he didn't know what to do next and just kept saying "uh" over and over really hit home, lol.
@nicholast
@nicholast 3 жыл бұрын
why is youtube recommending this to so many people 4 months after i posted it??
@prasad1608
@prasad1608 3 жыл бұрын
Lol ...I once saw a 11 years old video in my recommendation
@kelton8852
@kelton8852 3 жыл бұрын
graduates bro
@mr6462
@mr6462 3 жыл бұрын
I just graduated and started my leetcode grind, and my KZbin feed become all cs videos and I got this video recommendation
@KennTollens
@KennTollens 2 жыл бұрын
My answer to any question that starts geeking out like that, is that I will google it.
@tannerbarcelos6880
@tannerbarcelos6880 3 жыл бұрын
Hashmaps really do save you though lmao
@nicholast
@nicholast 3 жыл бұрын
Facts
@prabeshhumagain1008
@prabeshhumagain1008 3 жыл бұрын
Yeah, basically a time-memory trade-off.
@placeholder_name321
@placeholder_name321 3 жыл бұрын
@@prabeshhumagain1008 is a hashmap like a Regular Expression
@ohtexankorean5567
@ohtexankorean5567 2 жыл бұрын
@@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
@lindh2126
@lindh2126 3 жыл бұрын
And from all us coders out there, here is the real answer: "No problem sir, let me just google that for you!"
@Eazy912
@Eazy912 3 жыл бұрын
😂😂😂
@aungkhantkyaw2054
@aungkhantkyaw2054 2 жыл бұрын
and Stackoverflow xD
@kibe2134
@kibe2134 3 жыл бұрын
I came for a quick joke and ended up learning about hashmasps and having a Big Time Rush nostalgia trip. Sub.
@nicholast
@nicholast 3 жыл бұрын
love to hear it!
@PorkShark
@PorkShark 2 жыл бұрын
"If you can't think of a solution, don't worry about it." is code for "You're not getting this job."
@elonlothbrok5991
@elonlothbrok5991 3 жыл бұрын
Yeah and after the second interview they just ghost you out and you never really get to know why. Been there so many times
@nicholast
@nicholast 3 жыл бұрын
f in the chat
@RebornAc3
@RebornAc3 3 жыл бұрын
@Elon Lothbrok, this one hits hard lmao
@kooxaldoxt5162
@kooxaldoxt5162 3 жыл бұрын
Really? F**k. Even after learning so many years of coding we might fail at this point 😑.
@firestarter000001
@firestarter000001 3 жыл бұрын
I think i hate this most , I had a few interview when im pretty sure i answered like at least 90% right and they still didnt hire me and got back with no or a weird feedback. IF the feedback would be reasonable , like what you did wrong, what did you lack, it would be so much more constructive and understandable. I remember one company after the interview as feedback told me "my talents lay in other direction" Wtf lol. Should i start ice skating or something, even tough i was professionaly programming for 5 years already at the time. Screw them.
@traugdor
@traugdor 3 жыл бұрын
I got ghosted because they had intended to give the job to someone else within the company and didn't tell the recruiters.
@WhatIsThis-zq4hk
@WhatIsThis-zq4hk 3 жыл бұрын
_*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.
@chichichichichichiOwO
@chichichichichichiOwO 2 жыл бұрын
Someone's been rejected a few times before
@eulr7915
@eulr7915 2 жыл бұрын
like this
@von...
@von... 2 жыл бұрын
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
@nicholast
@nicholast 3 жыл бұрын
5k likes for part 2 👀
@CyberMew
@CyberMew 3 жыл бұрын
Throw hashmap at the problem sometimes really work lol. Can't wait for next tip!
@SirMinelli
@SirMinelli 3 жыл бұрын
I'm beginning my coding journey and watching this scared the crap out of me.
@critio8824
@critio8824 3 жыл бұрын
Done
@dtr579
@dtr579 3 жыл бұрын
I absolutely didn't understand anything all of you were saying, so I guess I'll never get hired as a coder.
@firefly21111
@firefly21111 2 жыл бұрын
Perfect example of programming interview hell. "Draw me the Mona Lisa" they said, then you get the job and end up painting a fence.
@folou9199
@folou9199 2 жыл бұрын
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.
@von...
@von... 2 жыл бұрын
@@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.
@Kevin-James4.6
@Kevin-James4.6 2 жыл бұрын
You're hilarious!
@zhengyang1581
@zhengyang1581 2 жыл бұрын
In China we call it "building a rocket in the interview and twisting screws in the job" lol
@chrisaxis5043
@chrisaxis5043 3 жыл бұрын
To someone who just finished making the snake game, it's too much
@hectorg362
@hectorg362 3 жыл бұрын
Don’t give up.
@onedumbsloth5029
@onedumbsloth5029 3 жыл бұрын
Brooooo i just got done with html training😂
@webserververse5749
@webserververse5749 3 жыл бұрын
@@onedumbsloth5029 I am not sure I can consider HTML as "programing". . . By definition it is but IDK. HTML seems to be fundamentally different than say Java, C# or something else. Would say it is like "Anyone can build a house, but not everyone can code a program to build the house".
@do.xuantung
@do.xuantung 3 жыл бұрын
@Nicolás Agustín you and the guy above must be fun at parties
@paulvorderegger1522
@paulvorderegger1522 3 жыл бұрын
@@do.xuantung No at this point it's almost a meme... It's like in the real world... "I built houses with a big crane", "I build houses with two small cranes and a crew to lay the bricks" and "I build houses out of lego"
@ChiEKKUsama
@ChiEKKUsama 2 жыл бұрын
"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."
@nicholast
@nicholast 2 жыл бұрын
“That would be a cross-functional effort requiring 10 engineers and 4 weeks. Let’s keep it in the backlog for now”
@kevinpark4251
@kevinpark4251 2 жыл бұрын
As an average person, idk what he’s talking about
@おいしいパスター
@おいしいパスター 3 жыл бұрын
Me after learning the basics and OOP for Python: I guess I'm ready for at least an internship. Me after watching this video: What???????????
@FamiliarDraco
@FamiliarDraco 3 жыл бұрын
It's another language. Java from what I can see. Also, other languages are nothing to be afraid of. If you know the base concepts of Python, other languages like Java probably won't take long to get used to. :)
@mcstats5199
@mcstats5199 3 жыл бұрын
learn data structure and algorithm, dynamic programming
@jabjohn3784
@jabjohn3784 3 жыл бұрын
@@FamiliarDraco that’s completely wrong, like everything you said 1. Java is a lot more complicated than python and 2. Learning another programming language is like learning another language you should always start with the one you want to end up using
@perhapsso1909
@perhapsso1909 3 жыл бұрын
@@jabjohn3784 No? Learning another language once you are profecient in one is like a 2 week struggle. If you cant get used to a new language within the same paradigm within a month at most then you clearly do not understand your current language.
@jabjohn3784
@jabjohn3784 3 жыл бұрын
@@perhapsso1909 Ok I’ll agree on that basis but Java is a lot more complicated than python
@khosmo7097
@khosmo7097 3 жыл бұрын
I screamed at "I can't even invert a binary tree or invert a linked list." It's too relatable...
@Sky4Jus
@Sky4Jus 3 жыл бұрын
"Yup, that sounds like a good start" "That's my entire code" "Bruh"
@hunterh1033
@hunterh1033 3 жыл бұрын
As a developer at a small time company that doesn't do anything nearly complex enough to ever be asked stressful interview questions like this... I'm insanely curious what these companies actually have their devs doing on a day to day basis. lol
@Gopherborn
@Gopherborn 2 жыл бұрын
I am strongly against high pressure coding interviews because you end up losing a lot of good talent and personalities just because they couldn't come up with a solution on the fly in 10 minutes. I look for people who are excited to learn and passionate about their field. The rest will fall into place from there.
@BeefIngot
@BeefIngot 2 жыл бұрын
Same here my dude. A lot of people need to realize that this type of efficiency isn't often necessary and when it is you'll get a lot of time to make sure the real solution is decently planned out. That should give some comfort to people who feel like their hopes are dashed. There are plenty of business goals where the main goal is simply automating the task because for that application, computer time is cheap.
@gabrielredmund9994
@gabrielredmund9994 2 жыл бұрын
Generally not what they are asking during the coding portions of interviews. I was going for one job, a Ruby on Rails job with... I can't remember what they were doing, but it wasn't anything new or revolutionary. First interview went great and so it was on to the "coding challenge" which "will not be an arbitrary algorithm challenge." The challenge? Rotate a matrix 90 degrees counter-clockwise. Rails devs do not rotate matrices. They do not deal with binary trees. They do not build a brand new Set class. We have the stdlib and other gems for things like that. For some reason, though, the whole "here, have an obscenely complex code challenge that has nothing to do with your job, nor will you ever have to do anything remotely like it" coding challenge is the "in thing."
@silverstorm06
@silverstorm06 2 жыл бұрын
That's comforting. I'm pretty sure I just failed an interview where they asked more complex questions than this. After spending time and money to get a second bachelor's degree to change careers, I spent the evening thinking that maybe I'm just really bad at programming and will never be good enough at it.
@meekrab9027
@meekrab9027 2 жыл бұрын
When a bit of code executes a million times a second, performance problems actually start to matter. Going from O(n^2) to O(n) can mean huge cost savings.
@kolterdyx
@kolterdyx 2 жыл бұрын
"Throw a hashmap at the problem" is my standard first approach to any problem involving arrays. Now I know I'm not just weird
@princeelliot2836
@princeelliot2836 3 жыл бұрын
I'm currently studying for my exam in algorithms (mostly time complexity). Thank you for giving me shortcuts with this video.
@jeffwei
@jeffwei 4 ай бұрын
lmao bold of them to ask you the literal first question on LeetCode
@o1-preview
@o1-preview 3 ай бұрын
right... I wish code interview back in my days were this easy, I still got jobs, but it was never this easy
@jaquesadv
@jaquesadv 3 жыл бұрын
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!
@nicholast
@nicholast 3 жыл бұрын
thanks Jaques :)
@razatsutradhar7059
@razatsutradhar7059 2 жыл бұрын
I know this is a comedy video but I have an interview in a few days and this actually helped me study for it. Thanks!
@aaronsalenga3221
@aaronsalenga3221 2 жыл бұрын
Watching this right before a coding interview, and lemme say… this is FACTS
@UltraZTalks
@UltraZTalks 3 жыл бұрын
Fun Fact : "The Interviewer was actually an employee who was stuck at a task."
@MultiBillionaire_Motivation007
@MultiBillionaire_Motivation007 Жыл бұрын
This is way of showing people how tech interview works with kind of melodrama is brilliant idea wise, appreciated 👏
@blissfulmountain
@blissfulmountain 2 жыл бұрын
I had no idea what I was throwing myself into when I chose CS. Luckily, I'm really enjoying studying for interviews. It's a lot more fun than my classes at college. You could say that's either very nice or very sad, lmao
@squarerootof-1307
@squarerootof-1307 Жыл бұрын
Been a year since you commented, but how's it going?
@blissfulmountain
@blissfulmountain Жыл бұрын
@@squarerootof-1307 going well! Got an internship last year and a return offer another internship for this year with a returning bonus. The grind for full time jobs starts this summer!
@pev1293
@pev1293 Ай бұрын
Year late but, is there alot of math in CS? I\m thinking about becoming a software engineer or some kind of programmer, personally I don't feel like it's alot of math included when I program but I don't use these big languages such as C or C#.
@blissfulmountain
@blissfulmountain Ай бұрын
@@pev1293 yeah, more math than I expected. But it’s mostly discrete math, logic, proofs, etc not calculus or algebra and stuff. But be prepared for lots of probability, sets, graphs, etc etc
@mrpolarbearrrrr
@mrpolarbearrrrr 3 жыл бұрын
If there’s anything I learnt, English isn’t used in coding interviews. Rofl
@QuantCake247
@QuantCake247 3 жыл бұрын
lmao
@Victor-hg5sx
@Victor-hg5sx 3 жыл бұрын
true
@superdingo9741
@superdingo9741 3 жыл бұрын
But English is the most important knowledge in the real coding.
@ruzahel6287
@ruzahel6287 3 жыл бұрын
Yes.
@الإسلامدينالحق-خ5ت
@الإسلامدينالحق-خ5ت 3 жыл бұрын
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-- kzbin.info/aero/PLPqH38Ki1fy3EB-8xmShVqpbQw99Do2B-
@lordcrayzar
@lordcrayzar 2 жыл бұрын
Godamn, I’ll never get a programming job if this is what interviews are like.
@BeefIngot
@BeefIngot 2 жыл бұрын
Don't sweat it my dude. Despite what people are saying there are plenty of code jobs that don't require this sort of intensity, though that being said, they likely pay somewhat less.
@daymi7300
@daymi7300 7 ай бұрын
​@@BeefIngotlike web development?
@BeefIngot
@BeefIngot 7 ай бұрын
@@daymi7300 Depends on the web development really. Once you start hitting scale, intuitive knowledge of optimal ways of doing things matters. O(N) starts being a big deal.
@josuer4675
@josuer4675 7 ай бұрын
@@daymi7300This kind of interview is usually done for any kind of job nowadays, it doesn’t matter that is has nothing to do with the actual role
@daymi7300
@daymi7300 7 ай бұрын
@@josuer4675 thanks
@ashlar64
@ashlar64 Жыл бұрын
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.
@PeterPreeper
@PeterPreeper 3 жыл бұрын
This advice of throwing a hash map solved my problem today. Great advice.
@gradstudent584
@gradstudent584 3 жыл бұрын
1:18 I wanted to be an engineer. But, interviewing has made me an expert actor.
@nicholast
@nicholast 3 жыл бұрын
LOL 😂
@tc2241
@tc2241 3 жыл бұрын
Jokes on you, next interview is a gauntlet with at least 4 other engineers. Prepare to have your entire evening consumed only for some rando in QA to not like the way you wrote a given in one of your unit tests and eliminate your application
@AonyjsViolmlar05
@AonyjsViolmlar05 3 жыл бұрын
I usually don't bother about it. I just keep looking and hope for a more practical engineers that ask real world scenarios on how im able to handle it and give a solution.
@nicholast
@nicholast 3 жыл бұрын
😳😳
@blackboxbs8642
@blackboxbs8642 3 жыл бұрын
Unit tests?
@Subuzgreatest
@Subuzgreatest 3 жыл бұрын
@@donventura2116 Oh yeah.
@HappyHermitt
@HappyHermitt 2 жыл бұрын
Well that's encouraging 😂
@Crunchy_Nachos
@Crunchy_Nachos 2 жыл бұрын
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
@imperialchalice
@imperialchalice 2 жыл бұрын
Thanks 👍
@kantanathemtanon9007
@kantanathemtanon9007 3 жыл бұрын
accurate programming movie be like:
@Roxas13XIII
@Roxas13XIII 3 жыл бұрын
I was expecting "Yes that is the correct answer; however, you did not follow the instructions of assuming there will always be a solution, therefore we cannot offer you the job."
@Demodude123
@Demodude123 3 жыл бұрын
I wouldn't give him a second interview because I said you can assume there will always be a solution but you wrote an Exception and told me what would happen in the event that there was no solution. You can't follow directions, not FAANG worthy XD
@nicholast
@nicholast 3 жыл бұрын
you can never be too safe 👀
@michallasan3695
@michallasan3695 3 жыл бұрын
If some manager says it will not happen, it does not mean that it will not happen.
@nicholast
@nicholast 3 жыл бұрын
@@michallasan3695 it's like in my "software engineering interns be like" video (don't wanna spoil it, but you should check it out if you haven't already :))
@taaihone6881
@taaihone6881 3 жыл бұрын
What would you have done instead? There has to be a return or a throw, otherwise his code won't compile smartass.
@superdingo9741
@superdingo9741 3 жыл бұрын
@@taaihone6881 I'd put there different message, like: "shouldn't get here" and clarified to the interviewer this was added with the only intention to make the code compile.
@Trillykins
@Trillykins 2 жыл бұрын
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.
@BJTangerine
@BJTangerine 3 жыл бұрын
0:41 obligatory NPC walk towards wall and de-spawns after the scene ends
@nicholast
@nicholast 3 жыл бұрын
The wall is actually a paid actor
@derickfaith8038
@derickfaith8038 3 жыл бұрын
The amount of time we spend believing we can't is more than enough time to learn how you can. - my Brain
@michaelsamson3168
@michaelsamson3168 3 жыл бұрын
You're right
@petergideon5872
@petergideon5872 3 жыл бұрын
Stocks are good but crypto is better
@petergideon5872
@petergideon5872 3 жыл бұрын
Stock's are crashing, Bitcoin Investment right now will be at every wise individual list in a month you we be ecstatic with the decision you make today
@henrykatie4425
@henrykatie4425 3 жыл бұрын
2021 online stock is just difficult and unbelievable, I'll rather invest my money on crypto
@henrykatie4425
@henrykatie4425 3 жыл бұрын
People are ignorant of the profitability in bitcoin Investment and that had been their major issues limiting their Investment
@ivanmclennon
@ivanmclennon 3 жыл бұрын
Seems like all of the world only knows BTS, but this mans right here keeping it real by honoring BTR.
@nicholast
@nicholast 3 жыл бұрын
Make it count, play it straight Don't look back, don't hesitate When you go big time
@AcridDragoon
@AcridDragoon 3 жыл бұрын
@@nicholast big time rush supremacy
@corn1326
@corn1326 3 жыл бұрын
Big Time Shush
@chexblu
@chexblu 3 жыл бұрын
OH oh ooooh-oh
@lWaterFlowl
@lWaterFlowl 3 жыл бұрын
a man of culture
@greyhat_gaming
@greyhat_gaming 2 жыл бұрын
‘I’d look it up on stackexchange and modify it to my needs.’
@MasterHigure
@MasterHigure 2 жыл бұрын
Just a couple of hours ago I threw a hashmap at today's advent of code. Quickly checking if we've previously seen a certain value is pretty useful in many interview / competition style problems.
@cryp0g00n4
@cryp0g00n4 3 жыл бұрын
I thought this was going to be a joke but it was an actual interview
@KevinEontrainer381
@KevinEontrainer381 3 жыл бұрын
That moment when I had to pause the video for quite a long time to understand the initial problem.
@sheepyshard2253
@sheepyshard2253 2 жыл бұрын
Watching the full video without knowing a single meaning.
@ryujintatsuya6187
@ryujintatsuya6187 3 жыл бұрын
Honestly, this is a great learning experience for a newcomer like myself! Love the videos! Keep up the Amazing Work!
@nicholast
@nicholast 3 жыл бұрын
glad to hear it, thank you :)
@rkulla
@rkulla 3 жыл бұрын
The best is when it's a web dev job and they ask this instead of if you know anything about web development, configuration, security and other important practices, or even an ability to set up your dev stack to like do the actual job. smh.
@jrmontes1518
@jrmontes1518 3 жыл бұрын
As a 1st year IT student i'm already crying...
@tongtongqi1632
@tongtongqi1632 2 жыл бұрын
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.
@theprimecoder4981
@theprimecoder4981 3 жыл бұрын
This video was very interesting, I like his reaction at the ending when he heard he had a next interview
@nicholast
@nicholast 3 жыл бұрын
he is scared
@pushcapture2078
@pushcapture2078 3 жыл бұрын
I’m self taught, so I don’t know all the college vocabulary, but I totally understood all that. Feeling better about my progress.
@nicholast
@nicholast 3 жыл бұрын
:)
@bent3576
@bent3576 3 жыл бұрын
I am also self-taught but I've since gone back and am halfway to a BS in Computer Science. You can cheat some of the CS stuff by studying on Codility and Leetcode. This is how I learned about time and memory complexity. Also, feel free to go look up some of the CS courses at your local college, research what the textbooks are, buy a couple, and teach yourself what you would have learned in the course. Probably one of the most important basic CS classes is Data Structures-definitely worth reading a textbook if you're self-taught. At the end of the day, I'm glad I chose to go back to school to study Computer Science (I never would have taught myself Calculus or Linear Algebra-and the structure has been good for pushing me to learn). So, that's also worth considering. Btw, my community college system is actually really great and the classes are only $50/credits for residents (California).
@pushcapture2078
@pushcapture2078 3 жыл бұрын
@@bent3576 ha! That’s awesome! I did the exact same thing with my university. Looked up the courses and got the textbooks. Plus I took some classes from Microsoft, Google, and Udemy. Currently pursuing a few certs 👍🏻
@DisturbeD802
@DisturbeD802 3 жыл бұрын
inspiring
@kingcrimson_2112
@kingcrimson_2112 2 жыл бұрын
Keep going bruh 💪
@marioshobbyhq
@marioshobbyhq 3 жыл бұрын
Man, as another coding interviews' victim, you really made me laugh :D. Now to next interview ...
@nicholast
@nicholast 3 жыл бұрын
glad you enjoyed :)
@sorvoja
@sorvoja 2 жыл бұрын
They always prefer the hashmap solution even if there is a better solution, no matter what the problem is. Trust me on this.
@Reiva5
@Reiva5 3 жыл бұрын
XD You lucky though that the interviewer didn't ask you about how the case of the array isn't distinct but the solution is twin numbers (e.g. array = [2,2,2,2,2], target = 4).
@andreapuddu6893
@andreapuddu6893 3 жыл бұрын
you can do something like for i in range(len(arr)): if mp.contains(target-arr[i]): return (i, mp[target-arr [i]) mp[arr[i]]=i (no need to store both the 2s, when you find the second one you return)
@allen724
@allen724 3 жыл бұрын
This doesnt change the hashmap nor the sorting approach, unless youre asked to return all possible pairs of indexes.
@shirishvogga6046
@shirishvogga6046 3 жыл бұрын
It would still work coz u are not storing the array elements as the key in a hashmap or dictionary but u are actually storing the difference between the target and array elements as the key so that way even repeated elements works out
@Reiva5
@Reiva5 3 жыл бұрын
@@andreapuddu6893 Ah after re-watch the video I thought he storing the index first into the map, in fact he store the index on the fly and match with your solution XD
@wonderstruck.
@wonderstruck. 2 жыл бұрын
I conducted an interview where the candidate literally said “we could use a hashmap?” just like in this video. For a binary search problem. Couldn’t elaborate at all when asked how a hashmap would work. No they didn’t get the job lol
@Words-of-encouragement.-.
@Words-of-encouragement.-. 2 жыл бұрын
Lol
@TeamMD0
@TeamMD0 2 жыл бұрын
Well you wouldn’t need to search if you had all the values located in the hash map. You could just check if that value exists in the hash map .
@ashutoshvaish867
@ashutoshvaish867 2 жыл бұрын
@@TeamMD0 basically a cache
@dumguyawesome
@dumguyawesome 2 жыл бұрын
I don't even know what is a hashmap lol
@LuisSoto-fw3if
@LuisSoto-fw3if 2 жыл бұрын
@@dumguyawesome is a map with a hash. You are welcome
@sleepyfromstress6524
@sleepyfromstress6524 3 жыл бұрын
me watching this when i haven’t even finished a beginners coding course: 👁👄👁
@cheezo8
@cheezo8 3 жыл бұрын
Same
@clarke1274
@clarke1274 3 жыл бұрын
heres a tips for you : dont watach coding course just do a project you will be better!
@sleepyfromstress6524
@sleepyfromstress6524 3 жыл бұрын
@@clarke1274 i meant a coding course in school 💀
@TheIvyLens
@TheIvyLens 2 жыл бұрын
⛪️🧎🏽‍♀️📿
@Mikomori_
@Mikomori_ Жыл бұрын
It's amazing how much progress you can make in a relatively short amount of time The first time I saw it I was like "wtf is he talking about" and now, after seeing it again 1 year later I actually understand most of that stuff
@NatzoGAMING
@NatzoGAMING Жыл бұрын
I'm u from 1 year ago. I will understand this in 1 year ❤
@machavaramakhil6656
@machavaramakhil6656 3 жыл бұрын
Seriously I only know that the most optimized solution is by sorting and two-pointer approach but this video taught me another way🤣🤣 thanks man I'm ready to throw hashmap
@nicholast
@nicholast 3 жыл бұрын
glad you learned something new!
Google Coding Interview With A High School Student
57:24
Clément Mihailescu
Рет қаралды 4,1 МЛН
Doing LeetCode Be Like (Coding Interviews Be Like Pt. 2)
4:41
Nicholas T.
Рет қаралды 765 М.
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,3 МЛН
a day in the life of an engineer working from home
8:42
Joma Tech
Рет қаралды 21 МЛН
Is Computer Science still worth it?
20:08
NeetCodeIO
Рет қаралды 319 М.
Advice from the Top 1% of Software Engineers
10:21
Kevin Naughton Jr.
Рет қаралды 3,3 МЛН
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,4 МЛН
I tried using AI. It scared me.
15:49
Tom Scott
Рет қаралды 7 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 655 М.
What Meetings Sound Like to Interns
5:18
Nicholas T.
Рет қаралды 975 М.
Coding Interviews Be Like Pt. 3
3:02
Nicholas T.
Рет қаралды 399 М.
Most Tech Interview Prep is GARBAGE. (From a Principal Engineer at Amazon)
12:57
билеты без документов
1:00
RusRoflTime
Рет қаралды 2,9 МЛН
🤡 Wild Makeover Disaster! 🤡 #funny #shorts
0:14
SKITSFUL
Рет қаралды 3 МЛН
Anger Is A Good Emotion, It Helps Me Against Bullies😈🤫
0:21
Coo-Cool Reacts!
Рет қаралды 5 МЛН