Challenging Google's Top Feeder College Students? Ft. UC Berkeley!

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มิ.ย. 2024
  • Aryender & I challenged UC Berkeley students with Google's most asked Leetcode question : Flood Fill. Find out how many students can do!
    👨‍🎓Checkout Our Live App Dev Course: singhinusa.com
    📲 Get premium wireless for as low as $15 a month with my partner at www.mintmobile.com/singh
    📈 Get 2 FREE Stocks in US (valued up to $1400): a.webull.com/i/SinghinUSA
    I use WeBull for stock trading which are legal.
    My Gear:-
    📕 Favorite Book for Software Engineers: geni.us/GT9jvz
    💻 My Gear Page: singhinusa.com/my-tech/
    📱iPhone: geni.us/J9c6GoY
    📸Sony Camera: geni.us/zShMGT4
    ⿍ Tripod: geni.us/iVsd
    🎙Vlogging & Podcast Mic geni.us/v915Z9H
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Follow me on -
    Instagram - / iharnoor
    Facebook - / singhinusa
    Twitter - / iharnoorsingh
    E-mail for BUSINESS INQUIRY & HELP- hello@singhinusa.com
    MUSIC CREDITS:
    Music From (Free Trial): www.epidemicsound.com/referra...

ความคิดเห็น • 1K

  • @dylanhopkins5282
    @dylanhopkins5282 ปีที่แล้ว +4255

    I was the dude with the crowd at the end. Thanks so much for the challenge dude, was a lot of fun!

  • @akankshitadutta8842
    @akankshitadutta8842 ปีที่แล้ว +418

    Loved the format of the video! I've seen countless videos with this concept for med students but watching one with Engineering students feels great cause it inspires me to do better at my job/field as a Data engineer!! Keep these coming thanks.

    • @kiisifelix2769
      @kiisifelix2769 ปีที่แล้ว +2

      I would appreciate if we could connect
      Am a techie although

    • @sytnoff1
      @sytnoff1 หลายเดือนก่อน

      ​@@kiisifelix2769 is ai gonna swap developer

  • @windgodscythe9922
    @windgodscythe9922 5 หลายเดือนก่อน +36

    This video is full of lessons. As a student, I was exposed to new terms and learned what they mean from searching. And I loved that you guys clarified asking for a hint is totally okay

  • @RyanScarbrough
    @RyanScarbrough ปีที่แล้ว +26

    It's both. You have to understand the problem/solutions and have the ability to converse about them. It's not just about confidence and conversation.

  • @ahmedhagrachid9427
    @ahmedhagrachid9427 ปีที่แล้ว +617

    As a 3rd year computer science student... I must say I'm nothing compared to these students... 😢

    • @ahmedabdelazim7110
      @ahmedabdelazim7110 ปีที่แล้ว +123

      You don’t have to be a leetcode expert as a student. I didnt look at leetcode until i graduated, now I have a good job. Slow and steady, keep your head up

    • @sarthakjain1824
      @sarthakjain1824 ปีที่แล้ว +95

      Do not compare yourself to anyone. Comparison builds pressure. Just keep working hard

    • @moverecursus1337
      @moverecursus1337 ปีที่แล้ว +17

      We live in third world lmao 🤣😭

    • @moverecursus1337
      @moverecursus1337 ปีที่แล้ว +26

      @@sarthakjain1824 you have to compare yourself bro, unless your are comfortable being mediocre

    • @mr.basketball4238
      @mr.basketball4238 ปีที่แล้ว +13

      You need to start looking into building your portfolio and craft. Just taking the required classes isn’t enough. I’ve met plenty of CS majors who never even bother getting an internship during their time as a college student. Big red flag.

  • @sarinaammiruddin254
    @sarinaammiruddin254 ปีที่แล้ว +34

    Good video to see students tested on IQ skills and their knowledge, brain storming. Each student came with different thinking skills sets to solve the matrix

  • @NoobTube4148
    @NoobTube4148 ปีที่แล้ว +209

    This was really good. Do more of these so we can see what success looks like without falsely feeling like we can’t do it either (given we’ve done enough homework).

    • @computer1889
      @computer1889 ปีที่แล้ว +4

      i'm very glad that i visited youtube app to watch a video while eating my lunch... and found this... it really gave me new insights and somehow it lights up another flame inside me!!! 😀🤯 i am excited now 🤩

    • @sivakumarkaliappan7447
      @sivakumarkaliappan7447 9 หลายเดือนก่อน

      Bro what is feeder college

    • @a996k
      @a996k 5 หลายเดือนก่อน

      ​@@sivakumarkaliappan7447 in which the maximum students are picked by silicon valley companies

    • @yiyingwang0423
      @yiyingwang0423 2 หลายเดือนก่อน

      @@sivakumarkaliappan7447like a target school?😊

  • @IMINTONIRVANA
    @IMINTONIRVANA ปีที่แล้ว +452

    The results were expected from them as they're students of UC Berkeley all Above that thanks to my man Harnoor for making this amazing video

    • @liquidityforyouhindi
      @liquidityforyouhindi ปีที่แล้ว +1

      Bhai me India se hu please reply my Comment apka video dekta hu or muje coding me bohat interest hu

    • @artibansal7406
      @artibansal7406 ปีที่แล้ว

      animated Box With CSS
      th-cam.com/video/gBmx3RmThDE/w-d-xo.html

    • @sunithabommera8350
      @sunithabommera8350 ปีที่แล้ว +3

      @@liquidityforyouhindi he q

    • @sunithabommera8350
      @sunithabommera8350 ปีที่แล้ว +1

      @@liquidityforyouhindi 1uuu8uuuuu

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @udit1159
    @udit1159 ปีที่แล้ว +131

    Do this challenge in stanford also bro. it's so interesting and motivating to see this kind of enthusiasm.❤️

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @redpug5042
    @redpug5042 ปีที่แล้ว +67

    the issue with recursion is that it takes up a lot of space on the stack
    a better way to do it is using a queue system that stores all the points that need to be checked, then do what you need with each of those. that way you only have one bit of code trying to run at a time vs waiting for a ton of functions to complete.
    i've found that you can reach recursion limits very quickly with recursion flood fill

    • @DuskyDaily
      @DuskyDaily ปีที่แล้ว +8

      A queue also takes up space, xD. Still O(M*N) space, both for using a stack or a queue. For recursion limit problem, use a custom stack then, since stacks are marginally faster than queues while growing.

  • @siddupatil2920
    @siddupatil2920 ปีที่แล้ว +25

    You are doing really good job Bro 👍
    Getting lot of knowledge from your vlog's

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @vice6153
    @vice6153 ปีที่แล้ว +150

    Motivation at level 100, bro can you plz make a video on how a new learner starts his career as a software developer without having degree to compete with Berkeley or any other elite institutions, by self learning.

    • @themichaeljoel
      @themichaeljoel ปีที่แล้ว +6

      coding bootcamps imo

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @kiisifelix2769
      @kiisifelix2769 ปีที่แล้ว

      @@themichaeljoel bro
      Lets connect please
      am an intermediate
      I actually find recursion difficult although
      Especially BFS and DFS

    • @TheCrowdsOpinion
      @TheCrowdsOpinion ปีที่แล้ว +1

      bootcamp man, its more intense but it will be enough to start as a junior. Many people i know went this route and most are fullfilled with solved real life problems with tech

  • @darkghost4523
    @darkghost4523 ปีที่แล้ว +214

    Harnoor's editing skills are getting much better... keep it up mate❤🙌

    • @bhavukchaudhary
      @bhavukchaudhary ปีที่แล้ว +6

      that's cause he hired an editor. lol.

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @aaravgulati2
    @aaravgulati2 9 หลายเดือนก่อน +27

    6:39 Bro we can use queue as well. Just push the source coordinates and then push its neighbouring coordinates into the queue after taking source out and so on. Time complexity will also be the same. Infact, we can use any from both stack and queue because LIFO and FIFO doesn't matter in this question as we only have to colour the matrix. Space complexity will also be the same in both dfs and bfs because in dfs you are also using recursive stack space

    • @berni303
      @berni303 8 หลายเดือนก่อน +2

      You're absolutely correct, and I lean towards BFS over DFS for this particular problem. I'm a bit surprised the author wasn't aware that BFS performs just as effectively in this context.

    • @ThePeteyGG
      @ThePeteyGG 8 หลายเดือนก่อน +2

      Yup, bfs and dfs are usually interchangeable in these interview questions. And since a queue is pretty much just a linked list, the one student that suggested that was also incorrectly marked as wrong. You can get bonus points for mentioning that depending on the structure of the data one may be slightly better than the other for amount of space they take up, but generally big O they are the same. FAANG SWE here btw.

    • @aaravgulati2
      @aaravgulati2 8 หลายเดือนก่อน

      @@ThePeteyGG I don't think so mentioning linked list is a wise decision( although queues can be implemented using linked list )because it's just not intuitive and will just make the code lengthy. By this logic, even array would be correct answer

  • @computer1889
    @computer1889 ปีที่แล้ว +34

    i very enjoyed this video... just seeing them solving the problem also gave me excitement, thrills, and joyness of solving it 😁

  • @Shivanand-79
    @Shivanand-79 ปีที่แล้ว +18

    This is very good work . In which we can compare ourselves with foreign students.

  • @kocengineering769
    @kocengineering769 ปีที่แล้ว +6

    Sir
    I am like breaking my head here
    Kindly bring more such videos
    Good work
    Keep it up

  • @xPussySlayerx69420
    @xPussySlayerx69420 ปีที่แล้ว +5

    you can use a queue/bfs too, nothing "wrong" about it, same time and space, matter of preference (I prefer the queue approach because it is easier to understand for me)

  • @amanat27
    @amanat27 ปีที่แล้ว +139

    That Philosophy student was spot on. 🔥

    • @artibansal7406
      @artibansal7406 ปีที่แล้ว

      animated Box With CSS
      th-cam.com/video/gBmx3RmThDE/w-d-xo.html

    • @messilionel7389
      @messilionel7389 ปีที่แล้ว

      can i talke with you

  • @sakshirathi3077
    @sakshirathi3077 ปีที่แล้ว +3

    Really enjoyed watching this kinda videos!!

  • @masoodali9048
    @masoodali9048 ปีที่แล้ว +4

    I am
    weak in maths that's why I took commerce one my friend in California I heard he is lecturer there for the last 28 years he was brilliant school I was just just govt boy. I met him in 2009.nice development .

  • @rajkamalm420
    @rajkamalm420 ปีที่แล้ว +6

    We are getting motivated by your videos , really

  • @usaammaa
    @usaammaa ปีที่แล้ว

    Loved it. We need more vids like this.

  • @hinata91659
    @hinata91659 ปีที่แล้ว +119

    That philosophy student is everything you want.. perfect.

    • @artibansal7406
      @artibansal7406 ปีที่แล้ว

      animated Box With CSS
      th-cam.com/video/gBmx3RmThDE/w-d-xo.html

  • @vk-cc8xl
    @vk-cc8xl ปีที่แล้ว +36

    Is it only me who doesn't have any tiny bit knowledge about computer sciences and still here enjoying the vedio to its fullest .

    • @napoleon1232
      @napoleon1232 ปีที่แล้ว +1

      nope im a commerce student and watching this vid with no knowledge about maths XD

    • @startfromend
      @startfromend ปีที่แล้ว

      I studied design lmao. Why am I here.

  • @shreyanshshekhar5952
    @shreyanshshekhar5952 ปีที่แล้ว +24

    What a amazing content... i will recommend this channel to everyone who is interested in tech 😍😍

  • @shivanshigupta
    @shivanshigupta ปีที่แล้ว +4

    The piece of motivation at the end was the best part♥️

  • @raj.2471
    @raj.2471 ปีที่แล้ว +10

    Singh is putting himself in the elite club of some of the best youtubers worldwide .

  • @hrishikeshgawde579
    @hrishikeshgawde579 ปีที่แล้ว +43

    When you see even at UC Berkeley mostly indian students are confident enough to take up challenge and solve it

  • @adityakheterpal3070
    @adityakheterpal3070 ปีที่แล้ว +11

    The lines in the end 100% true 💯🙌🏻🙌🏻🙌🏻
    It is More than just cramming an answer

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @aroundtheball953
    @aroundtheball953 ปีที่แล้ว +23

    For bfs approach we genrally use queue so that we can store the 1s in the same order while we are traversing

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @adityachandra1
    @adityachandra1 ปีที่แล้ว +54

    6:40 The question can be done using a queue as well, if we do BFS. It wasn't the wrong algorithm lmao. Both BFS and DFS have the same time and space complexity.

    • @anonymoussloth6687
      @anonymoussloth6687 ปีที่แล้ว +12

      Lol exactly
      I was wondering why that was wrong

    • @kamleshgarnayak8950
      @kamleshgarnayak8950 ปีที่แล้ว +1

      sahi baat bhai

    • @worldnews1545
      @worldnews1545 ปีที่แล้ว

      bfs and dfs have different time complexity.

    • @bimber8137
      @bimber8137 ปีที่แล้ว +1

      yup, singh is quite clueless

    • @IStMl
      @IStMl ปีที่แล้ว

      @@worldnews1545 no

  • @akash.ap.
    @akash.ap. ปีที่แล้ว +12

    you're doing really a great job... loved it... heart wants more😁 ..❤️

  • @aj-lan284
    @aj-lan284 ปีที่แล้ว +1

    We want more videos like this!!

  • @loggiic
    @loggiic ปีที่แล้ว +2

    You solve this by depth first search and recursion. I remember this type of problem was the first one that I had to look up the algorithm in order to solve it.

  • @traviss7740
    @traviss7740 ปีที่แล้ว +53

    Last year this would've sounded like a foreign language to me. Now I think I could come close to getting the same solution as these guys. Finally! Progress!

    • @mr.forever677
      @mr.forever677 ปีที่แล้ว +2

      I’m interested in learning more do you have some resources?

    • @traviss7740
      @traviss7740 ปีที่แล้ว +4

      @@mr.forever677 I've just been putting in 2-3 hours a day with either school, youtube, or books from the public library. Also took a Udemy class to learn Swift.

    • @mr.forever677
      @mr.forever677 ปีที่แล้ว +1

      @@traviss7740 what free resources would you recommend? I'm very interested in it.

    • @soumyasingh9684
      @soumyasingh9684 9 หลายเดือนก่อน

      Since you said last year this would’ve sounded like a foreign problem, I’m kind of in the same situation right now so would you mind sharing how you started like what TH-cam videos or what online course you took to begin with? Thanks

    • @jingyi-nq5vp
      @jingyi-nq5vp 9 หลายเดือนก่อน +1

      i dont even understand the question to behind with

  • @GaneshPrasadgnsp
    @GaneshPrasadgnsp ปีที่แล้ว +11

    I agree with the guy who said "leetcode is not the best way to learn, but we need jobs". I would hire him, out of respect for his understanding of problem solving.

  • @likeWeird
    @likeWeird 8 หลายเดือนก่อน +5

    Im a 3rd year and I remember practically nothing from my algorithms course, these kids crushed me

  • @yupadej4361
    @yupadej4361 ปีที่แล้ว +1

    You can do it with a queue as well. BFS and DFS both work

  • @xtzyrox2764
    @xtzyrox2764 ปีที่แล้ว +3

    The question is based on flood fill algo which can be solved using bfs or DFS algo👍

  • @user-gg3cv6wk2h
    @user-gg3cv6wk2h ปีที่แล้ว +99

    When he mentioned using a queue, I think he meant to solve using BFS, which is not a wrong solution. But DFS is indeed more efficient and more intuitive though.

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @rajvardhanthakare8648
      @rajvardhanthakare8648 ปีที่แล้ว +3

      even with BFS tc will be O(N)

    • @user-gg3cv6wk2h
      @user-gg3cv6wk2h ปีที่แล้ว +23

      @@rajvardhanthakare8648 both are linear graph algorithm by default…I meant that he should not be interrupted by saying using queue is wrong

    • @vanshitpatel5451
      @vanshitpatel5451 ปีที่แล้ว

      Time Complexity Would Be More

    • @slayerzerg
      @slayerzerg ปีที่แล้ว +6

      agreed, BFS/queue approach is not wrong, in fact most interviewers would prefer that solution

  • @kg_loves
    @kg_loves ปีที่แล้ว

    More of this please!!

  • @maryamihsan5952
    @maryamihsan5952 ปีที่แล้ว +1

    thus video made me feel so much better, i thought im pathetic and behind at cs but nope im the same pace as berkeley kids

  • @sunnypatilable
    @sunnypatilable ปีที่แล้ว +5

    the question is so simple. here is my answer below in c but i can also write in c++, java
    conside matrix name is A and then put a conditon
    if(A[i][j]==1) // i is for row and j is for column before that we need to put for loop for i and j.
    {
    printf("2");
    }

  • @animehub8194
    @animehub8194 ปีที่แล้ว +39

    Love your vlogs
    Inspiring us to work hard towards our goals

    • @wireghost897
      @wireghost897 ปีที่แล้ว +1

      This guy inspires you to work hard??? Seriously???

  • @softwaretestinglearninghub
    @softwaretestinglearninghub ปีที่แล้ว

    thank you for sharing this!

  • @vaishalikadam7845
    @vaishalikadam7845 ปีที่แล้ว +2

    super tensed with matrix in high-school... knowing that it'll carry on in cse makes me tense even more

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @IStMl
      @IStMl ปีที่แล้ว

      matrix carry on is most maths related fields

  • @YashPatil-tx4qt
    @YashPatil-tx4qt ปีที่แล้ว +68

    So many indian students out there. I wish one day their students would strive similarly to come and study in our country!!

    • @SY27196
      @SY27196 ปีที่แล้ว +34

      There is no culture here to come
      IIT are also degraded

    • @smarter_by_bit9346
      @smarter_by_bit9346 ปีที่แล้ว +2

      @@SY27196 Yes that's sad but true.

    • @sufiyanali9311
      @sufiyanali9311 ปีที่แล้ว +16

      There's no scope for deserving students in india and limited opportunities usa on the other hand has alot to offer

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @tofu8791
      @tofu8791 ปีที่แล้ว +2

      They try to get in but we kick em out

  • @matrix6794
    @matrix6794 11 หลายเดือนก่อน +66

    Watching this video i can confirm , there is a huge difference in Indian Universities and these ones. Total study system doesn't let people think off the bat. An avg. Student here will never be able to solve these problems.

    • @Banglar_kitchen
      @Banglar_kitchen 10 หลายเดือนก่อน +2

      Are you taking about india?

    • @matrix6794
      @matrix6794 10 หลายเดือนก่อน +1

      @@Banglar_kitchen yeah

    • @yogendrapawar1738
      @yogendrapawar1738 10 หลายเดือนก่อน +9

      Go to any better college in india youll definitely find students able to solve these questions for sure

    • @matrix6794
      @matrix6794 10 หลายเดือนก่อน

      @@yogendrapawar1738 don't talk like a arrogant idiot. Most of the colleges are out of this.

    • @MemeBro-jh7xq
      @MemeBro-jh7xq 10 หลายเดือนก่อน +1

      shashank is an indian bro

  • @michaelkaufman5119
    @michaelkaufman5119 ปีที่แล้ว +1

    You can solve with queue.. True, in this case for average memory usage you'd choose DFS, but both are correct.

    • @minnie-piano3969
      @minnie-piano3969 ปีที่แล้ว

      Yeah that's one thing I was wondering about the video. At 6:32 you can clearly see the student saying "wait, so do we just BFS..." and then at 6:39 he mentions a queue (presumably because he was going with the BFS approach), but the video marks him wrong when it's not even wrong, just a non-dfs approach.

  • @themohitmalviya
    @themohitmalviya ปีที่แล้ว

    Such a wholesome video ❤️❤️❤️

  • @heisenber.G
    @heisenber.G ปีที่แล้ว +41

    That philosphy + CS guy is rarest of rare combination. Imagine being logical and philosphical at the same time.

    • @DG-bb4ij
      @DG-bb4ij ปีที่แล้ว +23

      Philosophy is very logic heavy. Classical logic starts its development with Aristotle. And philosophers like Frege and Boole formalized modern logic, which fundamentally helped to develop computers. A lot of philosophers come from math, comp sci, and physics backgrounds. For example, Descartes developed the Cartesian plane helping mathematicians develop calculus and analytic geometry.

    • @critical_analysis
      @critical_analysis ปีที่แล้ว +1

      @@DG-bb4ij Philosophy gets you nowhere, because you cannot prove it.

    • @pietroazzalini
      @pietroazzalini 8 หลายเดือนก่อน +3

      @@critical_analysis Did you read the names he mentioned?

  • @alokkumarbag561
    @alokkumarbag561 ปีที่แล้ว +6

    It's funny that i watched the whole video without even understanding what everyone was scribbling! 😅

  • @188_rajdeepkarmakar4
    @188_rajdeepkarmakar4 ปีที่แล้ว

    Its really fun, I am Liam from the coding round. 6:03, thanks for making this video. hence I found this video, awesome!!!

  • @ApartmentAngelsFireStarters
    @ApartmentAngelsFireStarters ปีที่แล้ว

    the editing is jokes xD good work mate

  • @shristiminz2121
    @shristiminz2121 ปีที่แล้ว +4

    The Philosophy Guy stole the show.

  • @palashagrawal2343
    @palashagrawal2343 ปีที่แล้ว +8

    6:41 How queue is wrong?
    We can do bfs traversal via queue still and get the ans.

    • @sumitchoube3875
      @sumitchoube3875 ปีที่แล้ว +3

      Yes it can be solved using queue

  • @mumbaikachallenge5526
    @mumbaikachallenge5526 ปีที่แล้ว

    Loved it man

  • @thetechconsultant
    @thetechconsultant 9 หลายเดือนก่อน

    Awesome, kids. I can't wait until I provide tutorials on TH-cam for questions similar to these and the philosophy of code and mathematics.

  • @sastenashe2002
    @sastenashe2002 ปีที่แล้ว +11

    Even being a philosophy student 🤣🤣

  • @shubhamkumar-tm6qq
    @shubhamkumar-tm6qq ปีที่แล้ว +5

    i am freshman at iit kharagpur and this problem is taught in our first semester in a course named programming and data structures

    • @anees419
      @anees419 ปีที่แล้ว

      Are u in iit second semester now?
      Can u send me ur mail or whatsapp.
      I need some help regarding computer science.
      I am in bs cs.

  • @l00i03n3
    @l00i03n3 ปีที่แล้ว +2

    If you could come to India and test the brilliant students here.... Waiting for it !!!

  • @dkdksl7255
    @dkdksl7255 11 หลายเดือนก่อน +1

    The top 10 Silicon Valley "Feeder" Universities (Adjusted for Undergraduate Enrollment):
    1. Carnegie Mellon University
    2 Columbia University
    3 Stanford University
    4 Massachusetts Institute of Technology
    5 California Institute of Technology
    6 Harvey Mudd College
    7 Georgia Institute of Technology
    8 University of Southern California
    9 Rice University
    10 Harvard University

  • @imazsurve3290
    @imazsurve3290 ปีที่แล้ว +5

    Take this problem to some randomass uni in India and you'll get so many solutions 😭

  • @geekrishu172
    @geekrishu172 ปีที่แล้ว +164

    Harnoor bhaiya: You can write pseudocode.
    Guy at 6:50 : It's the same , it's Python dude
    😂😂😂😂

    • @trueknowledge1981
      @trueknowledge1981 ปีที่แล้ว +5

      LMAO

    • @ayushsharma045
      @ayushsharma045 ปีที่แล้ว +4

      i feel it

    • @liege1838
      @liege1838 ปีที่แล้ว +13

      java/c++ students crying in a corner

    • @Aryanthakur-yt9bc
      @Aryanthakur-yt9bc ปีที่แล้ว +16

      Meanwhile me thinking he said sudoku

    • @rajeshnajauri7642
      @rajeshnajauri7642 ปีที่แล้ว +8

      @@Aryanthakur-yt9bc 🙂 and me who just know matrices and deteminants

  • @sapsdcoaching456
    @sapsdcoaching456 ปีที่แล้ว

    confidence is so good, leave about problem solving very good

  • @yunsha9986
    @yunsha9986 8 หลายเดือนก่อน

    I've noticed that a lot of people in the IT world don't know how to calculate time complexity. It makes sense as 60% of developers don't actually create algorithms.

  • @helloji792
    @helloji792 ปีที่แล้ว +20

    It's to much better than bsc students in usa
    So even I wanna to share my experience 🔥

  • @freedom3040
    @freedom3040 ปีที่แล้ว +5

    Indian-American professors and PHD students & Top Industry company HR's from both nations should be collabed to form a Commitee and create academia subjects and update them every year.
    Only then Students will progress Faster and learn whats needed and avoid whats not needed, If not all are becoming graduates and still trying to do courses to get jobs in both nations.

  • @northeast_inspiration
    @northeast_inspiration ปีที่แล้ว +1

    Awesome really love your videos encourages me to study more
    Big love from Nagaland 🇮🇳 INDIA

  • @umairiqbal5172
    @umairiqbal5172 ปีที่แล้ว +2

    Iterative bfs with queue works too idk why I would forcibly use a stack.

  • @minnie-piano3969
    @minnie-piano3969 ปีที่แล้ว +8

    I am friends with the guy at 0:00 who said leetcode is a waste of time, and let me just say that this guy is beyond cracked even if it looks like he didn't get the problem fully correct in the video.

    • @minnie-piano3969
      @minnie-piano3969 ปีที่แล้ว

      Oh and the guy at 5:55, he's crazy smart too

  • @sashankmathamsetty8979
    @sashankmathamsetty8979 ปีที่แล้ว +13

    "It's not about cramming leetcode questions". -All Indians bhaiyas and didis left the chat.

    • @betsy5078
      @betsy5078 ปีที่แล้ว

      🤣🤣🤣🤣🤣

    • @IStMl
      @IStMl ปีที่แล้ว

      whats a didi

  • @ankitupadhyay918
    @ankitupadhyay918 ปีที่แล้ว +2

    Well the first question is a variation of rotten oranges question on leetcode 😁🙂 , can also be done by recursion .

  • @jainishpatel6539
    @jainishpatel6539 ปีที่แล้ว +1

    Any resources to learn what are data structures, recursive/iteratively methods, and time complexity? Any math involved? Great video btw!

    • @pranavg.9811
      @pranavg.9811 ปีที่แล้ว

      Yeah its called a comp sci degree

    • @naqiabedi
      @naqiabedi ปีที่แล้ว

      You can learn all of those free of cost on youtube but you need to be very smart in choosing right tutor

  • @l00i03n3
    @l00i03n3 ปีที่แล้ว +4

    We want challenges for Indian students too.... Come here for it!!!

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

  • @sumitchoube3875
    @sumitchoube3875 ปีที่แล้ว +5

    6:41 harnoor bhaiya It can be solved by using queue too .

  • @priyanshuthakur8947
    @priyanshuthakur8947 3 หลายเดือนก่อน

    you said in your video that we can't use queue for this question but we can use queue and implement using bfs algorithm

  • @rushikeshkadam78
    @rushikeshkadam78 ปีที่แล้ว +1

    Nice video Harnoor bhaiya... 👍🏻

  • @supercellheloo2657
    @supercellheloo2657 ปีที่แล้ว +352

    I expected more from them, well I felt more confident after this😏👍

    • @souvik70
      @souvik70 ปีที่แล้ว +35

      Exactly.. UC berkley really dissapointed our hope

    • @rubalmalik5250
      @rubalmalik5250 ปีที่แล้ว +13

      Fr bro
      Although I design ux ,but then also I am disappointed

    • @sarveshreddy9717
      @sarveshreddy9717 ปีที่แล้ว +74

      But some of them are still 1st year students and I don't know atleast what is data structures in my first year 😐

    • @ZaidIrfanKhan
      @ZaidIrfanKhan ปีที่แล้ว +8

      bro they are students

    • @cboi7450
      @cboi7450 ปีที่แล้ว +18

      Bro they teach the same shit as any other school I also go there first for CS. If you put in the work don’t matter where you go

  • @avinashnadendla7869
    @avinashnadendla7869 ปีที่แล้ว +12

    I have just completed the flood fill question 😂😂😂

  • @Mortalphil
    @Mortalphil ปีที่แล้ว +1

    I wish smn did such challenge videos for physics too

  • @aaravgulati2
    @aaravgulati2 9 หลายเดือนก่อน +1

    7:15 creating new matrix is better because we should avoid altering the input

  • @STAR.NTech999
    @STAR.NTech999 ปีที่แล้ว +23

    Being a class 12th non medical science student, your videos inspire me a lot. Thanks Love from INDIA 💖

  • @cpwithsundar
    @cpwithsundar ปีที่แล้ว +129

    The problem was damn easy. I should have taken the challenge.
    Surprised many didn't mention BFS traversal instead, everyone went for Recursion(DFS). Also none talked about how the mere Brute Force recursion gets automatically optimized due to different coloring without keeping track of a separate visited array.
    Here is the C++ Implementation:
    class Solution {
    public:
    int dx[4]={1,0,-1,0};
    int dy[4]={0,1,0,-1};


    void dfs(int x, int y, vector &v, int c, int color)
    {

    v[x][y] = color;
    for(int i=0;i=0 && x1=0 && y1

    • @trendtrollchannel
      @trendtrollchannel ปีที่แล้ว +5

      🥳

    • @artibansal7406
      @artibansal7406 ปีที่แล้ว

      animated Box With CSS
      th-cam.com/video/gBmx3RmThDE/w-d-xo.html

    • @IndianBoho
      @IndianBoho ปีที่แล้ว +27

      Nerd

    • @shaikirfanameer359
      @shaikirfanameer359 ปีที่แล้ว +21

      yes.One guy mentioned about queue which is bfs approach hanoor asked him to code with stack.don't know why

    • @Sanket_8808
      @Sanket_8808 ปีที่แล้ว +8

      Copy paste 🤣

  • @rajvardhanthakare8648
    @rajvardhanthakare8648 ปีที่แล้ว +2

    when he mentioned queue, he meant BFS. BFS is also a right approach

  • @nachiketkanore
    @nachiketkanore ปีที่แล้ว

    Dude mentioning heavy light decomposition. Wow, rare scenario!

  • @shk161
    @shk161 ปีที่แล้ว +20

    Philosophy student was amazing.....like so motivating... I am right in middle of practicing some code for interview tomorrow but feeling so down so exploring videos :(

    • @minnie-piano3969
      @minnie-piano3969 ปีที่แล้ว

      Good luck and keep up the motivation! Hope your interview went well, but regardless keep up the practice :D

    • @shk161
      @shk161 ปีที่แล้ว +1

      @@minnie-piano3969 yoo , between the time of this comment and now a lot has changed in IT landscape.
      Everything is looking so cloudy, still waiting for some concrete offer even after nailing interviews 😢

    • @minnie-piano3969
      @minnie-piano3969 ปีที่แล้ว

      @@shk161 Dang that's rough :(

    • @sk-sm9sh
      @sk-sm9sh ปีที่แล้ว +1

      If I had a chance to go back in time I'd do philosophy deg too. Philosophy degree is the best shortcut there is towards developing well rounded thought process that can be applied towards any problem. Physics or math degrees comes pretty close to that too. Everything else is too specialised and develops knowledge without helping much to develop thought process.

    • @shk161
      @shk161 ปีที่แล้ว

      Guys after few rejection which should have been a offer letter mail...finally got offer and joined one company...
      All others in same boat...stay strong guys for me it took almost 70+ days to land a offer..cleared many last rounds but offer was not getting rolled out.

  • @newshhh
    @newshhh ปีที่แล้ว +3

    TBH I was surprised that there were CS students at Berkeley who can't solve this problem. This is like algorithm 101 stuff.

    • @loldoctor
      @loldoctor ปีที่แล้ว +2

      To be fair, some of them were first-semester freshman who haven't had a chance to finish any 101 courses yet.

    • @newshhh
      @newshhh ปีที่แล้ว +1

      @@loldoctor fair enough

    • @IStMl
      @IStMl ปีที่แล้ว

      @@loldoctor and some were struggling 3rd year students

    • @loldoctor
      @loldoctor ปีที่แล้ว

      ​@@IStMl You did see that I referred to "some" students in my comment, right? You can criticize the third-year all you want, but you can't expect a student to be knowledgable just because they were accepted to a reputable university. There's a reason the best STEM departments also have the highest dropout rates.

  • @AnalyticalHarry
    @AnalyticalHarry ปีที่แล้ว

    love it, thanks for video

  • @Vegetasinghyadav
    @Vegetasinghyadav ปีที่แล้ว +1

    Love from india bro. These kind of videos are much needed. Its entertainment.

  • @Knockoutkorner
    @Knockoutkorner ปีที่แล้ว +3

    Hi! Harnoor,
    Can you please give a tour and review of Arizona State University, I am in grade 12th and planning to apply for fall 2023.
    it will be really nice of you if you do so,
    Thank you

  • @gamingnon-stop8167
    @gamingnon-stop8167 ปีที่แล้ว +12

    I am studying in 11th STD and i am a cs student when harnoor ask her the q i was like wait wtf is he talking about flood filled flood filled 💀😂

    • @weirdo8199
      @weirdo8199 ปีที่แล้ว

      😂

    • @samiksha8018
      @samiksha8018 ปีที่แล้ว +1

      Bro explain me, I'm in 11th too, I didn't even understand the question 😥

  • @NoorkaSafar
    @NoorkaSafar ปีที่แล้ว

    excellent bro ❣️

  • @kirtishukla4505
    @kirtishukla4505 9 หลายเดือนก่อน

    as i am very new to coding i hvae learnt python till now in the first problem i will be choosing multilist of pyhton as after
    i will use nested loops till list elements under which i will be giving if condition where if li[i][j] element is equl to 1 then insert one at its place i think this will work idk about their but according to my mind level i will be using this
    without using dsa stack or graph

  • @noone-iq4eq
    @noone-iq4eq ปีที่แล้ว +3

    Bro please make a video for non tech ppl..high paid part time jobs for non tech (m a civil engineer) ...or can we also do tech job..(as in india)

  • @matthewnguyen2380
    @matthewnguyen2380 ปีที่แล้ว +6

    One of the best schools for computer science

    • @ravijohn-nl8kh
      @ravijohn-nl8kh ปีที่แล้ว

      th-cam.com/video/o-yJLABxoZo/w-d-xo.html

    • @IStMl
      @IStMl ปีที่แล้ว

      based on the video absolutely not

  • @nguyen2135
    @nguyen2135 ปีที่แล้ว

    Idk about these guys but recursion , induction , flood fill , a* then backtrace to find a path. I've learnt all since i was on highschool ,and they're basic of computer science 4 sure. Flood fill kinda oldschool but it's efficient in education, we use a* most cuz searching path is faster

    • @wireghost897
      @wireghost897 ปีที่แล้ว +1

      The difference is you (and most other Indian students) memorize a list of ways of attacking a certain type of problem while these guys have a lot of time for creative thinking. This is why we are good at non creative laborious work, while they are good at inventing and thinking new stuff.

  • @BoopathiS-zw2gm
    @BoopathiS-zw2gm ปีที่แล้ว

    Inspired.. 1.trying to find answer. 2. Asking help/hint

  • @pranavpoojary6474
    @pranavpoojary6474 ปีที่แล้ว +7

    Your editing skills have been upgraded, great work!