Great points! I agree I don’t think CCI was ever really meant for beginners to learn material. I always thought it was for review after you already knew most of the material. I think it should be advertised as such if it’s not already.
Only recently started watching your videos. Keep going bro, your videos are super informative and valuable. The way you present information is really approachable and you come across real genuine. Just keep it consistent like you've been doing and I'm confident your channel will grow. All the best.
I agree! I bought CTCI book and it was useless during my job search. The content of the chapters is easy enough to follow, but the questions are much more complex! I went from reading about Arrays and Strings to having to solve Complicated Matrix and Permutation problems! For someone who has never grinded leetcode problems before, this change of pace was too harsh! I gave up on it and used other (better) resources instead.
@@panzach I bought a Data Structures and Algorithms course on Udemy. I think it was by ZeroToHero. It cover the fundamentals. For Leetcode, I used a TH-cam channel called Neetcode. This was very helpful! I highly recommend the Easy and Blind-75 Playlist
Yeah I dunno. I'm glad CTCI skims over stuff b.c. that's exactly what I'm trying to do. I don't have the time or retention to spend several months or more preparing/reviewing for interviews. IMO, learning DSA's from scratch and applying them may be an entirely different problem than just "preparing/reviewing for interviews". The type of problem that doing several side projects or just going to school usually solves. And hey, if I get rejected, so be it; I'll try to adapt and move forward.
@@saurabhbasak9545 For people like me who don’t have a background in computer science, this book was my first introduction to DSA. I found that needed more explanation about time and space complexity. Supplementing the book with other resources greatly increased the value I got from the book. I’m sure I’m not the only one in this boat.
Oh My Dear, The book is for those people who wants to appear for coding interviews why would a beginner directly appear for the interview unless he is god gifted or on NZT.
For reason number 1 I think there's a good reason to why that is. It's entitled "Cracking the Code Interview" because it's not meant for beginners but for coders who actually think they're already good at coding and would like to understand how code interviews work. Probably if you don't understand trees and graphs or haven't encountered them before, then probably you don't have the knowledge to even take the interview yet.
Great video. Thank you for the insight. A little note on the editing. The video did cut you off mid-sentence, which was kind of abrupt. I'd recommend you introduce an outro segment where you point to other videos of your which expand on the same topic. Like here for example you could have redirected some attention to other videos in which you say more about EPI. Again. Thank you for the video. The way you deliver information is appealing, not monotonous and lack of any filler. Keep up the good work.
I definitely think there's a tonne of resources out there nowadays and its good to try out different options especially if some aren't working for you. I use Python for interviews too since its a lot faster to code with and that can ease stress. But I'd recommend going with whatever language you're most comfortable with!
Literally bought EPI in Python from your recommendation in all your videos LOL. And I like it so far! You should be getting some kind of money for all the promo you are giving them.
I'm thinking of switching to your Python book. The problem is I love to solve these problems in C# and the Java examples are closer to C#. I am only interviwing for C# roles.Also, I personally find the more verbose Java a little bit better at drilling the concepts into my skull than Python. Perhaps, I am wrong and should just start using Python.
You’ll probably suffer writing things out in Java during interviews. But I don’t know, things have changed quite a bit now that interviews are mostly done online now.
Thanks...I felt quite the same about CCI..... I will try with EPI. Hope it helps. And is there much to lose, if I prefer python over java, though java gets complicated in terms of code bulkiness
EPI is not beginner friendly either despite what this guy says. He seems to push it a lot in his videos. I'd recommend finding a sample online first and check out the various subreddits that exist that talk extensively about it
Great video you can have more clips about those learning material , pros and cons. And for books or even academic video course (not cousera), those are very wordy. but i will say they're referenced book and theoretical enough. mastering 100 Leetcode Questions + 1 skilled Language + Detailed reference material = crack the coding interview
Hey KC, did you know Python before picking up that Python book? I'm a bit concerned about switching from Java to Python because it'll take a lot more investment time to learn a new language just for interviews and some mental effort on not mixing the behavior/syntax with the languages I use day-to-day.
don't listen to every advice on the internet. use whatever language you are comfortable in for interviews. interview is not a race. The interviewers are looking for your thought process while solving the problem so the language used shouldn't matter
There's Elements of Programming Interviews in Java, same author. So you can buy this version and use the language you are more comfortable and confident. I'm a C# developer and consider to buy the Java version just because it's very similar to C# in this aspect(data structures and algorithms)
I have three editions of this book, all thrown into recycle bin last year; I've read maybe 15-20 pages total. Reasons: thick, heavy, and most important it doesn't have "Search" feature LOL ;) I am asked coding questions during interview in only 10% cases, and always just basic, sometimes Codility, HackerRank, etc; sometimes I am asked such on phone (for example, "how to multiply numbers without using 'multiplier' operator?"). Back to basics... you can study pages related to Big-O from this book for many hours if not days, and you can also find nice video on TH-cam and understand it in 15-20 minute. Needless to say that all material is available for free at TH-cam, from many, *many* instructors, who really understands what they are talking about!
yeah the trees and graphs chapter is insane how much the author packed in there. i thought it was just me who thought that. i've been doing CTCI problems for 2 months and that's the only ds chapter I've struggled to complete the questions for. even after implementing trees and graphs from scratch and their search algorithms, im still struggling with doing the questions on my own without looking at the solution. at least for the arrays, linkedlists, stacks and queues chapters i was able to gradually get better as i did the problems. but man the trees/graphs chapter is too densely packed and the questions randomized makes it harder to pick up patterns.
@@free-palestine000 whats your progress so far? did you start doing CTCI questions as your first problem solving set? i am kinda taking a bit long to get basics of Data structures and algorithms .
can you please make a video with the solution of all the problems in the EPI in python book .. especially for the graphs and trees part .. or a video helping us with the main things to learn when you have 1 week to prepare
First of all this book is not at all meant for beginners, if you wanna learn the fundamentals this book is definitely not meant for that. Secondly this book is just a mear collection of all the most common interview questions so it's best to acknowledge in that way. And technically this book contains all the foundation questions, you can alove all the problems in the books and the move to leetcode you'll see that all the problems are either alternates or maybe a combination of the problems mentioned in the book. Beginners will hate it for not being beginner friendly Intermediates will love it as it will act a roadmap for them to follow Pro's well they don't need it anyway......xoxo
I think the question - "Which language is best for interviews?" has no answer. I personally can think way faster when I code in JAVA compared to python. The reason ? I have more experience in JAVA. If you are starting from scratch and you don't know ANY programming language, then I think Python is the right starting point. However, I would highly recommend to use the language that you are most comfortable with in an interview. When I interview in JAVA, I don't even have to think while coding. But when I code in Python, I have think of soo many things that just don't work the same as I am used to :)
Maybe Python isn't such a good idea. Depends on what position you are applying for. Python is great for data scientist but not so good for developing large scale programs.
I've been learning javascript for a while now. And would love to start preparing for interviews. Do I stop learning js and focus on python? And please does anyone know any good resource to sstudy and practice ds and Algorithms questions using js ?
Here's a list of the CTCI problems that are available through leetcode leetcode.com/discuss/general-discussion/1152824/cracking-the-coding-interview-6th-edition-in-leetcode
I thought I was the only one thinking I will never get through this book but really it’s not a good recommendation for beginner at all. Don’t know why it’s so popular without saying anything else.
I don’t hate this book. I hate this whole industry. When a job requires you to be on the level of a very top athlet you know something is wrong with the whole industry
I'm convinced to start referring to EPI when I start prepping DSA. Although, I've heard from a lot of people that Java is a better language because of some abstraction layer something compared to python, and that java can be used more for open source contributions. What's that about?
Java is very abstract that makes it easier to manage on a large scale because it also has encapsulation. Haven't used it for open source but Java's use has been declining in recent years. A lot the Java jobs now are about keeping code up to date rather than creating something new.
Java is one of the worst languages you can choose for doing programming interviews. Assuming you're targeting a FAANG type company, you will be graded on your solve time. Java has a lot of overhead syntax that will eat into that time.
in India, for software interviews, it is recommended that we should be proficient in CPP or Java rather than Python. Also about this book, i used this book for doing questions after learning all the necessary data structures and algorithm. So i liked it in that way.
I'm a web developer with 1.5 yr experience (only done JavaScript and php). I wonder how much time will it take to learn oops and other stuff to even land an interview.
Hey KC! Love the content. Do you think a new developer should learn Python just for interviewing and whiteboarding for their first job in the industry? I've been learning Javascript and web dev for 3 months now, and want to start applying for entry jr roles after 3 more.
You’re critiquing the book for not being beginner friendly when the book doesn’t set itself out to be a beginner friendly book. I’m sure there’s much better resources out there now, but I’m sure many people have benefited from that book. I think you can make your list “better” resources without tearing down a book that helped many people in their time. Which is why they probably still recommend it. BTW, I haven’t used the book, this video just seems very one sided and tearing into the book needlessly
I agree with most of your criticisms of CTCI. There are much better prep materials available in 2022 now than this book. You've gained a new sub from me.
This book is not supposed to be for absolute beginners, right? You are going for a software job, you should already know many of the stuff; if not, you should already have other materials where you can review these stuff.
I'm sorry but 95% of interviews are NOT asking about trees. You need to rethink that comment. 95% of FAANG-like companies are. I went to plenty of interviews that are not FAANG and none of them asked any complex algorithmic questions.
Wow, imagine people actually learn this stuff, and then they try to get a job... A profession that needs more than just briefly reviewing a single problem set. Shocking, isn't it?
You're talking about EPI and don't really introduce what the heck it is. Also, if I'm asked to use a "language" in a whiteboard session, I'd walk right out because it would be obvious that the intervieweres are noobs and don't understand the reason whiteboard questions exist. An algorithm has nothing to do with a computer language. If an interviewer insists that it does, then they need to be fired and you should not take that job because it is likely a toxic workplace.
Gaayle Laakman McDowell did a series of videos for HackerRank's official TH-cam channel that were so terrible I immediately knew to avoid her book and anything she did like the plague.
Also, NO, you're not a high performance athlete. You're a problem solver and problem solving has NOTHING to do with writing code faster. People with very little software engineering experience talk like that.
@@Terracraft321 i gave you the exact code on leetcode and it is only 6 lines in C++ python is not the best language to start with, it is either java or c++, your goal is to understand programming , not to get away with it....
I see no different in both implementations. Declare the map, put num in the map if the sum - num not there or return if there is sum - num. How do you claim that it is better in terms of time, space complexity and number of operations?
Great points! I agree I don’t think CCI was ever really meant for beginners to learn material. I always thought it was for review after you already knew most of the material. I think it should be advertised as such if it’s not already.
I use Python because Python is the closest you can get with a pseudo code. So you don’t have to worry about implementation too much.
Only recently started watching your videos. Keep going bro, your videos are super informative and valuable. The way you present information is really approachable and you come across real genuine. Just keep it consistent like you've been doing and I'm confident your channel will grow. All the best.
Seeing that book is traumatizing for me. I hate coding interviews.
❤❤❤ same here
I agree! I bought CTCI book and it was useless during my job search. The content of the chapters is easy enough to follow, but the questions are much more complex! I went from reading about Arrays and Strings to having to solve Complicated Matrix and Permutation problems! For someone who has never grinded leetcode problems before, this change of pace was too harsh! I gave up on it and used other (better) resources instead.
Which (better) resources did you use instead?
@@panzach I bought a Data Structures and Algorithms course on Udemy. I think it was by ZeroToHero. It cover the fundamentals.
For Leetcode, I used a TH-cam channel called Neetcode. This was very helpful! I highly recommend the Easy and Blind-75 Playlist
@@panzach +1 on this, I wanna know too!
Yeah I dunno. I'm glad CTCI skims over stuff b.c. that's exactly what I'm trying to do. I don't have the time or retention to spend several months or more preparing/reviewing for interviews. IMO, learning DSA's from scratch and applying them may be an entirely different problem than just "preparing/reviewing for interviews". The type of problem that doing several side projects or just going to school usually solves. And hey, if I get rejected, so be it; I'll try to adapt and move forward.
I bought the book and it's waaaaaay overrated, I was kinda surprised everyone was recommending it, great video!!
It isn’t meant to be used alone
@@thetruthsayer8347 the truth sayer indeed
@@thetruthsayer8347 genuinely curious why isn't it meant to be used alone
@@saurabhbasak9545 For people like me who don’t have a background in computer science, this book was my first introduction to DSA. I found that needed more explanation about time and space complexity. Supplementing the book with other resources greatly increased the value I got from the book. I’m sure I’m not the only one in this boat.
Oh My Dear, The book is for those people who wants to appear for coding interviews why would a beginner directly appear for the interview unless he is god gifted or on NZT.
For reason number 1 I think there's a good reason to why that is. It's entitled "Cracking the Code Interview" because it's not meant for beginners but for coders who actually think they're already good at coding and would like to understand how code interviews work. Probably if you don't understand trees and graphs or haven't encountered them before, then probably you don't have the knowledge to even take the interview yet.
Everyone knows this book is for proficient programmers, not the newbies. It got a great review from those who already know the stuff.
Nah, an Data structures and algorithms class is enough.
PS why the heck this video keeps coming on my feed 💀
Oh... I didn't know that
I didn't know that. 😂
I disagree, this book is more like a reference for junior and senior devs but not for entry-level devs noobs fresh out of college like us.
Great video. Thank you for the insight.
A little note on the editing. The video did cut you off mid-sentence, which was kind of abrupt. I'd recommend you introduce an outro segment where you point to other videos of your which expand on the same topic. Like here for example you could have redirected some attention to other videos in which you say more about EPI.
Again. Thank you for the video. The way you deliver information is appealing, not monotonous and lack of any filler. Keep up the good work.
Creating test cases is not a waste of time. Productivity isn't about getting through as many problems as possible, but optimizing for learning.
Finally someone said it. And also hated the fact that it's only in Java
What books do you recommend for beginners and jr devs?
I definitely think there's a tonne of resources out there nowadays and its good to try out different options especially if some aren't working for you. I use Python for interviews too since its a lot faster to code with and that can ease stress. But I'd recommend going with whatever language you're most comfortable with!
Literally bought EPI in Python from your recommendation in all your videos LOL. And I like it so far! You should be getting some kind of money for all the promo you are giving them.
i know basic c++ and adv java as part of my uni curriculum should i go with Epi?
I really like your videos! Thanks for sharing your perspectives!
im a cs student and i love your tips. thanks a lot
I'm thinking of switching to your Python book. The problem is I love to solve these problems in C# and the Java examples are closer to C#. I am only interviwing for C# roles.Also, I personally find the more verbose Java a little bit better at drilling the concepts into my skull than Python. Perhaps, I am wrong and should just start using Python.
You’ll probably suffer writing things out in Java during interviews.
But I don’t know, things have changed quite a bit now that interviews are mostly done online now.
This video earned my subscription! God bless you for making simplified recommendations for newbies.
Thanks...I felt quite the same about CCI..... I will try with EPI. Hope it helps. And is there much to lose, if I prefer python over java, though java gets complicated in terms of code bulkiness
EPI is not beginner friendly either despite what this guy says. He seems to push it a lot in his videos. I'd recommend finding a sample online first and check out the various subreddits that exist that talk extensively about it
@@MrGTFOplz thanks
Great video you can have more clips about those learning material , pros and cons. And for books or even academic video course (not cousera), those are very wordy. but i will say they're referenced book and theoretical enough. mastering 100 Leetcode Questions + 1 skilled Language + Detailed reference material = crack the coding interview
CTCI has solutions on the back, which never made sense to me.
What library do you import for heaps in python?
Hey KC, did you know Python before picking up that Python book? I'm a bit concerned about switching from Java to Python because it'll take a lot more investment time to learn a new language just for interviews and some mental effort on not mixing the behavior/syntax with the languages I use day-to-day.
don't listen to every advice on the internet. use whatever language you are comfortable in for interviews. interview is not a race. The interviewers are looking for your thought process while solving the problem so the language used shouldn't matter
There's Elements of Programming Interviews in Java, same author. So you can buy this version and use the language you are more comfortable and confident. I'm a C# developer and consider to buy the Java version just because it's very similar to C# in this aspect(data structures and algorithms)
@@ankitg6454 actually, interviews are absolutely a race. Your solve time is one of the core metric that factors into grading
I have three editions of this book, all thrown into recycle bin last year; I've read maybe 15-20 pages total. Reasons: thick, heavy, and most important it doesn't have "Search" feature LOL ;)
I am asked coding questions during interview in only 10% cases, and always just basic, sometimes Codility, HackerRank, etc; sometimes I am asked such on phone (for example, "how to multiply numbers without using 'multiplier' operator?"). Back to basics... you can study pages related to Big-O from this book for many hours if not days, and you can also find nice video on TH-cam and understand it in 15-20 minute.
Needless to say that all material is available for free at TH-cam, from many, *many* instructors, who really understands what they are talking about!
Where did you, talk about using python over other languages?
Great video show us how to use those practice questions you used with book
still Many companies don't give option to code in Python in Interviews and even in Online coding round only c++ or java
I was looking for I video like this, I though I was going crazy for not liking the "best coding interview book" Thanks bruh
yeah the trees and graphs chapter is insane how much the author packed in there. i thought it was just me who thought that.
i've been doing CTCI problems for 2 months and that's the only ds chapter I've struggled to complete the questions for. even after implementing trees and graphs from scratch and their search algorithms, im still struggling with doing the questions on my own without looking at the solution.
at least for the arrays, linkedlists, stacks and queues chapters i was able to gradually get better as i did the problems. but man the trees/graphs chapter is too densely packed and the questions randomized makes it harder to pick up patterns.
one thing that helped me is to get familiar with dfs and bfs traversals, can solve lot more questions now.
can i ask you some questions?
@@nokibulislam9423 sure what questions do u have
@@abhisheksingh97729 thanks, I'll work on that
@@free-palestine000 whats your progress so far? did you start doing CTCI questions as your first problem solving set? i am kinda taking a bit long to get basics of Data structures and algorithms .
Can you do short videos of EPI chapter Study Guides? Walk us through so dummies can study it faster 😄
Is there a way I can use a programming language I know better like Kotlin with python related DSA book Elements Of Programming With Python
can you please make a video with the solution of all the problems in the EPI in python book ..
especially for the graphs and trees part ..
or a video helping us with the main things to learn when you have 1 week to prepare
First of all this book is not at all meant for beginners, if you wanna learn the fundamentals this book is definitely not meant for that.
Secondly this book is just a mear collection of all the most common interview questions so it's best to acknowledge in that way.
And technically this book contains all the foundation questions, you can alove all the problems in the books and the move to leetcode you'll see that all the problems are either alternates or maybe a combination of the problems mentioned in the book.
Beginners will hate it for not being beginner friendly
Intermediates will love it as it will act a roadmap for them to follow
Pro's well they don't need it anyway......xoxo
I think the question - "Which language is best for interviews?" has no answer. I personally can think way faster when I code in JAVA compared to python. The reason ? I have more experience in JAVA. If you are starting from scratch and you don't know ANY programming language, then I think Python is the right starting point. However, I would highly recommend to use the language that you are most comfortable with in an interview. When I interview in JAVA, I don't even have to think while coding. But when I code in Python, I have think of soo many things that just don't work the same as I am used to :)
Exactly. This is why I do all my interviews in x86 assembly.
@@YeetYeetYe 🤣
@@YeetYeetYe if it works it works 😂
Maybe Python isn't such a good idea. Depends on what position you are applying for. Python is great for data scientist but not so good for developing large scale programs.
@@Isaac-eh6uu Instagram is not large scale?
5 min video, hours of frustration time saved. Thanks
The book is not for beginners. Simple as that
I f*cking hate coding interviews.
Hope you have a great weekend Kevin ✊🏾
I've been learning javascript for a while now. And would love to start preparing for interviews. Do I stop learning js and focus on python? And please does anyone know any good resource to sstudy and practice ds and Algorithms questions using js ?
Hey KC. Any decent books for beginners to learn data structure and algorithms before working on interview questions?
I like "A Common-Sense Guide to Data Structures and Algorithms" by Jay Wengrow
@@stephanbranczyk8306 but it's more theoretical
@@imran-potter They were asking for a DSA book. Do you know of a "DSA book" that is not theoretical?
@@stephanbranczyk8306 It's very good.
Can you link the offline grader that you used for the book?
TLDR
1. Guy doesn’t understand the role CTCI plays
2. Cos of 1, goes on to talk shit about CTCI.
Here's a list of the CTCI problems that are available through leetcode
leetcode.com/discuss/general-discussion/1152824/cracking-the-coding-interview-6th-edition-in-leetcode
I thought I was the only one thinking I will never get through this book but really it’s not a good recommendation for beginner at all. Don’t know why it’s so popular without saying anything else.
I don’t hate this book. I hate this whole industry. When a job requires you to be on the level of a very top athlet you know something is wrong with the whole industry
I'm convinced to start referring to EPI when I start prepping DSA. Although, I've heard from a lot of people that Java is a better language because of some abstraction layer something compared to python, and that java can be used more for open source contributions. What's that about?
Java is very abstract that makes it easier to manage on a large scale because it also has encapsulation. Haven't used it for open source but Java's use has been declining in recent years. A lot the Java jobs now are about keeping code up to date rather than creating something new.
Java is one of the worst languages you can choose for doing programming interviews.
Assuming you're targeting a FAANG type company, you will be graded on your solve time. Java has a lot of overhead syntax that will eat into that time.
Thanks a lot for the comparison !
I know javascript. Do I start with python or Java ? For dsa
This is such a good video.
Great informative content 👍👍👊
in India, for software interviews, it is recommended that we should be proficient in CPP or Java rather than Python. Also about this book, i used this book for doing questions after learning all the necessary data structures and algorithm. So i liked it in that way.
I wonder why is it so in india?
@@De1n1ol python is relatively new and interviewers are mostly proficient in these languages, basically communication gap reduces
It's hard for a beginner? That book is not for beginners.
I'm confused. Why would a beginner who doesn't know anything about programming be going to a coding interview?
Hey KC, would you say the Java version of this book is just as good?
I'm a web developer with 1.5 yr experience (only done JavaScript and php). I wonder how much time will it take to learn oops and other stuff to even land an interview.
Oops is basic stuff and you need to know a lot more then that for interviews
Subscribed and getting all notifications.
Hey KC! Love the content. Do you think a new developer should learn Python just for interviewing and whiteboarding for their first job in the industry? I've been learning Javascript and web dev for 3 months now, and want to start applying for entry jr roles after 3 more.
No, not at all unless the company you are applying for doesn't have your language in the preference options they give to candidates before interview
Make an amazon affiliate account and link the books you recommend
Thanks for the video. Think you missed an opportunity to like to EoP for sale.
Finally someone fucking said it. Fuck that book.
i bought both books 😂 gonna sell ctci off when i succeed in my career switch
I mean lc is all you need
Great content but you gotta work on your ending cuts. The ends of you videos are so abrupt, often in the middle of a sentence you are saying.
LOL i rewatched my ending and yeah that was hilariously abrupt 🤣
@@CreatedByKC NBD! Love the content! Keep up the great work!
CTCI is not medium rare, it's rather too well done for my taste
You’re critiquing the book for not being beginner friendly when the book doesn’t set itself out to be a beginner friendly book. I’m sure there’s much better resources out there now, but I’m sure many people have benefited from that book. I think you can make your list “better” resources without tearing down a book that helped many people in their time. Which is why they probably still recommend it. BTW, I haven’t used the book, this video just seems very one sided and tearing into the book needlessly
I agree with most of your criticisms of CTCI. There are much better prep materials available in 2022 now than this book. You've gained a new sub from me.
Better prep materials like?
EPI is much harder than this one
This book is not supposed to be for absolute beginners, right? You are going for a software job, you should already know many of the stuff; if not, you should already have other materials where you can review these stuff.
I'm sorry but 95% of interviews are NOT asking about trees. You need to rethink that comment.
95% of FAANG-like companies are. I went to plenty of interviews that are not FAANG and none of them asked any complex algorithmic questions.
😂
Python is slower than Java. In many cases, Python will give a time limit exceeded.
Go for Assembly, should be even faster)
😂 dude
Wow, imagine people actually learn this stuff, and then they try to get a job... A profession that needs more than just briefly reviewing a single problem set. Shocking, isn't it?
That book isn't for you. It's for CS grads.
You're talking about EPI and don't really introduce what the heck it is. Also, if I'm asked to use a "language" in a whiteboard session, I'd walk right out because it would be obvious that the intervieweres are noobs and don't understand the reason whiteboard questions exist. An algorithm has nothing to do with a computer language. If an interviewer insists that it does, then they need to be fired and you should not take that job because it is likely a toxic workplace.
Many interviewers don't allow using python in interviews as it makes things lot easier to implement.
What do they let you use then?
@@urdarkside1 Most of them C++ or Java ... and few interviewers python
Gaayle Laakman McDowell did a series of videos for HackerRank's official TH-cam channel that were so terrible I immediately knew to avoid her book and anything she did like the plague.
Is this satire?
Also, NO, you're not a high performance athlete. You're a problem solver and problem solving has NOTHING to do with writing code faster. People with very little software engineering experience talk like that.
This video is spot on. There is not enough detail and sort of feel that writer lady doesn't want you to succeed. EPI book is way better
3:50 my solution in cpp is more efficient and even less code than your python
show it bro
@@Terracraft321 here you go bro
class Solution {
public:
vector twoSum(vector& nums, int target) {
unordered_map myMap;
for(int i=0; i < nums.size(); i++)
{
if(myMap.count(target - nums[i]))
{
return{myMap[target - nums[i]] , i};
}
myMap[nums[i]] = i;
}
return{};
}
};
@@Terracraft321 i gave you the exact code on leetcode and it is only 6 lines in C++
python is not the best language to start with, it is either java or c++, your goal is to understand programming , not to get away with it....
I see no different in both implementations. Declare the map, put num in the map if the sum - num not there or return if there is sum - num. How do you claim that it is better in terms of time, space complexity and number of operations?
This book is trash for web dev specific roles.
no thanks you're the last person i wanna hear talk about software
why?🤣
@@deepaksanaka his experience is just like any other college student + he speaks bulllshit