@@yazidmo9399 Generic lists and hashmaps/sets cover around half the problems. Tree problems (mainly linked lists) and stacks/queues (more often stacks) are also fairly common. Knowing those data structures and string manipulation cover a large majority of all questions I've been asked. Heaps and non-tree graphs may also come up if you're at somewhere with tough interviews
You're the only person I see embed coding solutions into a Solution class, but you do it consistently, so there must be a reason. Could you make a video or short on the benefits of this? Online resources that you may have on hand also works.
Your questions are always more cryptic than the answers. If this is the state of interview coding questions then I am walking out, I won't work anywhere they can't describe the problem properly.
No, he's an algoritm scammer - you need to watch his shorts several times trying to figure out what the poorly described problem is, and then aim precisely to pause at the code visible for 0.5s. And YT algorithm LOVES THIS. Sriously fuck this guy.
I'm pretty sure it's a trick question and they're expecting you to think outside the box by thinking mathematically through the permutations. It's way faster, simpler, shows more knowledge, and can be done without a computer. The only thing is that you have to forget the context of the interview hence the difficulty of considering that solution.
@@GreatTaiwan Tesla is hiring researchers, not simple coders. If an engineer working with SOTA AI doesn't have the least beat of knowledge abour probability, then you know he's gonna be useless. And even if we ignored that fact, who's the one you'll hire in priority? The one who thinks the problem through and through to reduce the complexity as much as possible or the one who codes right away? My solution reduces the complexity by a factor of 3. You're gonna tell me that it is NOT what a good company would be looking for? If you've ever passed a coding interview, then you'll know that it's quite litteraly the onky thing that interests them.
Master Data Structures & Algorithms For FREE at AlgoMap.io!
I swear the solution is always to make a hash map and count occurrences
Cuz hash maps are incredibly efficient with constant look up for keys
To be fair there's only like 4 data structures you need for most interview questions
@CoolExcite and they are ?
@@yazidmo9399array, hashmap, queue, graph, maybe. Other can be implemented with these
@@yazidmo9399 Generic lists and hashmaps/sets cover around half the problems. Tree problems (mainly linked lists) and stacks/queues (more often stacks) are also fairly common. Knowing those data structures and string manipulation cover a large majority of all questions I've been asked.
Heaps and non-tree graphs may also come up if you're at somewhere with tough interviews
The description of the question premise could be a little better tbh
Sorry about that!!
You're the only person I see embed coding solutions into a Solution class, but you do it consistently, so there must be a reason. Could you make a video or short on the benefits of this? Online resources that you may have on hand also works.
Default on leetcode
It’s so leetcode can perform testing on it, this is the leetcode editor he’s displaying
That's how leetcode formats problems
If you remove it, you will see errors you have never seen in your life before
I dont know why i even watch your solutions, they're always suboptimal
Pretty sure you’re thinking of yourself when you’re saying suboptimal.
😂😂@@arsheyajain7055
Your questions are always more cryptic than the answers. If this is the state of interview coding questions then I am walking out, I won't work anywhere they can't describe the problem properly.
No, he's an algoritm scammer - you need to watch his shorts several times trying to figure out what the poorly described problem is, and then aim precisely to pause at the code visible for 0.5s. And YT algorithm LOVES THIS. Sriously fuck this guy.
In all fairness what client describes problem probably ?
How many times u work with jr who want help in something they can’t even describe ?
Nice
I'm pretty sure it's a trick question and they're expecting you to think outside the box by thinking mathematically through the permutations.
It's way faster, simpler, shows more knowledge, and can be done without a computer. The only thing is that you have to forget the context of the interview hence the difficulty of considering that solution.
So a coding / software engineer question goal is not to write code 😂
And no there’s no trick in it
@@GreatTaiwan Tesla is hiring researchers, not simple coders. If an engineer working with SOTA AI doesn't have the least beat of knowledge abour probability, then you know he's gonna be useless.
And even if we ignored that fact, who's the one you'll hire in priority? The one who thinks the problem through and through to reduce the complexity as much as possible or the one who codes right away? My solution reduces the complexity by a factor of 3. You're gonna tell me that it is NOT what a good company would be looking for? If you've ever passed a coding interview, then you'll know that it's quite litteraly the onky thing that interests them.
😂 were the e and k went ..