Interview Question: Build Order

  Рет қаралды 20,124

Byte by Byte

Byte by Byte

Күн бұрын

Пікірлер: 34
@shachari3339
@shachari3339 9 ай бұрын
This is really good. Thank you!
@amellperalta
@amellperalta 8 жыл бұрын
Great tutorial! Can you please make a video about the following interview question: Implementing autocomplete? I think you need to use a trie data structure.
@ByteByByte
@ByteByByte 8 жыл бұрын
that sounds really interesting actually. thanks for the suggestion
@amellperalta
@amellperalta 8 жыл бұрын
Thanks.
@tanthole0306
@tanthole0306 3 жыл бұрын
this video is awesome. Thank you for the detailed explanation.
@revdevstudios
@revdevstudios 6 жыл бұрын
Beautiful job. This is really well done to help me improve in the interview process. Thanks!
@ByteByByte
@ByteByByte 6 жыл бұрын
That's awesome!
@mcreyfonacier1982
@mcreyfonacier1982 5 жыл бұрын
Is it fine to ask the interviewer to add "List neighborList" in the data structure, instead of 2d array?
@guardianangel4514
@guardianangel4514 4 жыл бұрын
Could we use Kahs algorithm for this?
@mayankmicky5
@mayankmicky5 8 жыл бұрын
thank you, life saviour ....can you plz make a video on Finding loop in a linked list
@ByteByByte
@ByteByByte 8 жыл бұрын
you're welcome! and sure, I'll take a look at that
@Pooja_and_Abhay
@Pooja_and_Abhay 6 жыл бұрын
Amazing !! What an explanation :) :)
@ByteByByte
@ByteByByte 6 жыл бұрын
thanks!
@vishalgawade94
@vishalgawade94 5 жыл бұрын
Can’t we just return permMarks set,instead of keeping one more set results!
@TheNoNameUsername
@TheNoNameUsername 5 жыл бұрын
if im not mistaken, set doesn't guarentee the order of which you add elements like list does, and in this problem the end result relies on the order of which you add the processes
@vishalgawade94
@vishalgawade94 5 жыл бұрын
Yup, you are right.That makes sense.Thanks a lot!
@shilpita87
@shilpita87 7 жыл бұрын
Is this topological sort?
@ByteByByte
@ByteByByte 7 жыл бұрын
yep
@Gerald-iz7mv
@Gerald-iz7mv 2 жыл бұрын
@@ByteByByte can you use a queue and do it iteratively too or a stack?
@karthikk5895
@karthikk5895 6 жыл бұрын
Nice explanation! Which keyboard do you use?
@ByteByByte
@ByteByByte 6 жыл бұрын
I have a Das mac keyboard with blues
@scarrevision6371
@scarrevision6371 4 жыл бұрын
should 2 be pointing to 1 and not 0 based on the example you provided
@Abhishek-gl2pd
@Abhishek-gl2pd 6 жыл бұрын
at 21.45 why are we starting at 3 when i is iterating from 0??
@ByteByByte
@ByteByByte 6 жыл бұрын
We're just testing that it works for some arbitrary input iirc
@Abhishek-gl2pd
@Abhishek-gl2pd 6 жыл бұрын
Okay Thank you, please keep making these videos its very helpful while interview prep.
@Bhavya0409
@Bhavya0409 8 жыл бұрын
Great videos as always! Question: In an interview, when you're stressed and pressed for time, is it ok if you just find a solution, even if its not very good? Like, I can find simple solutions (like either the first or second solution you suggest in every video) but I'm literally never able to find the best solution. Is that fine?
@ByteByByte
@ByteByByte 8 жыл бұрын
Absolutely. That's always the best place to start and then you can also try to optimize your solution from there if you have time. Check out this post I wrote: www.byte-by-byte.com/brute-force/
@krish0007
@krish0007 5 жыл бұрын
awesome
@jaydipbarvaliya
@jaydipbarvaliya 3 жыл бұрын
I had skipped plethora of problem which is similiar to that., However after watching your tutorials and mainly this tutorial, my interest towards DS & Algo is really really escalating..
@vibekdutta6539
@vibekdutta6539 5 жыл бұрын
Sir, you're gr8, but I think there's some bug, I don't know if there is but please Sir could you please video conference with me on Skype or anything, I really want to learn coz I have some questions, I would really appreciate that, a big fan of your book and channel.
@vibekdutta6539
@vibekdutta6539 5 жыл бұрын
The code surely works, but there are some duplicate values like 0,1,0,2,0,1......
@AbhriyaRoy
@AbhriyaRoy 5 жыл бұрын
Hi your algo wont work if there are multiple nodes without any dependencies.
@ca3502
@ca3502 5 жыл бұрын
dynamic programming better than recursion
@ihopethiscommentisntabusiv4670
@ihopethiscommentisntabusiv4670 4 жыл бұрын
Thanks for the video but instead of saying "Go research topo sort on your own" over and over again, it'd be more helpful if you explained it. Thats the point of people watching your video.
Interview Question: Palindromes
16:43
Byte by Byte
Рет қаралды 29 М.
Interview Question: Find All Duplicates
18:51
Byte by Byte
Рет қаралды 41 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Interview Question: Autocomplete
31:37
Byte by Byte
Рет қаралды 37 М.
Interview Question: Sort Stacks
17:10
Byte by Byte
Рет қаралды 20 М.
Interview Question: Longest Consecutive Branch
20:05
Byte by Byte
Рет қаралды 9 М.
Interview Question: Random Linked List
26:26
Byte by Byte
Рет қаралды 17 М.
Interview Question: Anagrams
12:07
Byte by Byte
Рет қаралды 55 М.
Interview Question: Random Binary Tree
21:52
Byte by Byte
Рет қаралды 15 М.
Interview Question: String Deletion
26:19
Byte by Byte
Рет қаралды 14 М.
Interview Question: Three Sum
27:13
Byte by Byte
Рет қаралды 61 М.
Interview Question: Shortest Path
23:10
Byte by Byte
Рет қаралды 33 М.
Interview Question: Lowest Common Ancestor
27:07
Byte by Byte
Рет қаралды 14 М.