[7.2] Graph Adjacency List in Python | Data Structures in Python

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 17

  • @kleinff7792
    @kleinff7792 22 дні тому

    Better explanation then university

  • @sachinmaurya3259
    @sachinmaurya3259 3 роки тому +3

    Nice video!!
    Are you using Vim editor?

  • @jyotirmoymondal7640
    @jyotirmoymondal7640 2 роки тому +1

    Just one confusion, in the while condition we should use [while tmp is not None:] instead of while tmp

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      You can use both but while tmp is not None is more accurate and explanatory👍🏻

  • @alexanderthelost49
    @alexanderthelost49 2 роки тому +1

    oh man !! This is what i am looking for.Thanks man

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      Glad that it was helpful. Like & share😄

  • @aishwaryaautkar1728
    @aishwaryaautkar1728 2 роки тому

    Very nice tutorials...💯

  • @hymap5400
    @hymap5400 2 роки тому

    We have initialized graph with 5 vertices but how could for loop(for i in range(self.nV)) will loop through 4 times ?

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      It will loop 5 times but using if case we will return out of the loop when last element is reached

  • @siriuseneegy4484
    @siriuseneegy4484 3 роки тому +1

    Hi bro ! I'm willing to do a project on resume building app ...and if you have experience or knowledge regrading this project ...i would genuinely like to get your guidance!

    • @ThinkXAcademy
      @ThinkXAcademy  3 роки тому +1

      I do not have much experience in Python i am a Java Developer.

  • @BlueSky-kp3rk
    @BlueSky-kp3rk 2 роки тому

    Broo Can't we add vertices like A B C instead of integery

    • @BlueSky-kp3rk
      @BlueSky-kp3rk 2 роки тому

      I mean without dictionaries

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      Yes we can but in that case you need to create nodes using classes and form a adjacency list.

    • @BlueSky-kp3rk
      @BlueSky-kp3rk 2 роки тому

      @@ThinkXAcademy So what changes I should do to create this type of code