COURSE SCHEDULE II | LEETCODE # 210 | PYTHON TOPOLOGICAL SORT SOLUTION

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 13

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

    this solution is way better than official leetcode solution

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

    Thanks again for the excellent concise video!

  • @sarayarmohammadi3376
    @sarayarmohammadi3376 8 หลายเดือนก่อน +1

    You are a great teacher!

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

      Thanks for the kind words

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

    Great solution!

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

    Someone correct me if I am wrong but I am guessing we can also return the black set as a list, and the answer would be correct??

  • @YT.Nikolay
    @YT.Nikolay 2 ปีที่แล้ว

    Keep it up! I have seen the solution before, but your prev upload with white/grey/black sets improved my understanding, thank you sir! Love this channel and maybe you as well :D
    P.S. I am going to try to solve an alien dictionary problem right now!

    • @YT.Nikolay
      @YT.Nikolay 2 ปีที่แล้ว +1

      ok, I solved the problem today, but it took me 3hrs and I had to peek at the solution video >_< #feeldumb #iamhopeless

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

      Don’t feel bad. When I first saw alien dictionary I was like what the actual fuck is this bullshit. Then I read the solution and was still like wtf is this. Then I learned how to do topological sort and read it again and it clicked.
      Doesn’t always have to be that you get it right away, sometimes it’s better if you come back to it with a fresh mind and new perspective. At least you solved it, well done it’s not an easy question

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

      @@crackfaang Thanks for sharing your experiences, it is helpful and encouraging.

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

    I think you drew the arrows in the opposite directions.

  • @yatinsharma5637
    @yatinsharma5637 2 ปีที่แล้ว

    Hello sir , thanx for the amazing content . I have a request , as there are very few TH-camrs who solved leetcode problems in python ( i only know two youtubers , one is you and the other one is neetcode). Can u plz solve leetcode weekly challenges questions every week . I actively take part in weekly contest but can solve only 2 questions, and for other two questions I have to refer TH-cam after the contest , but content is very limited . So, it will be a great help of me .
    Thanks