Graph Representation in C++

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 29

  • @arjunnatarajan9406
    @arjunnatarajan9406 Рік тому

    Best content ever. No one explained the implementation of graphs using C++ in such detail. Thanks a lot, Mr. Ari 👌

  • @patrickclarke9625
    @patrickclarke9625 4 роки тому +9

    Best Explanation of Graphs in C++ I've seen. Thorough and easy to understand. The complexities were the icing on the cake, you've saved me a lot of time and research! Better than many of my university lectures.

    • @deandreemmitt5346
      @deandreemmitt5346 3 роки тому

      I guess I'm pretty randomly asking but do anybody know a good place to stream new movies online ?

    • @edisonmorgan9199
      @edisonmorgan9199 3 роки тому

      @Deandre Emmitt flixportal :P

    • @deandreemmitt5346
      @deandreemmitt5346 3 роки тому

      @Edison Morgan thanks, I signed up and it seems like a nice service =) Appreciate it !!

    • @edisonmorgan9199
      @edisonmorgan9199 3 роки тому

      @Deandre Emmitt You are welcome =)

  • @Heomi9905
    @Heomi9905 3 роки тому +4

    This video is phenomenal! What an underrated channel. Keep up the good work!

  • @algorithmdatastructures9244
    @algorithmdatastructures9244 4 роки тому +1

    These are treasures. You explained almost every concept that I found missing on other youtube videos. Really looking forward to your other Algorithm videos sir. Maybe Greedy Strategy next?

    • @arisaif
      @arisaif  3 роки тому

      Glad you like them!

  • @ugrig
    @ugrig 4 роки тому +1

    Thank you, Ari for the video. This is exactly what I was looking for.

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

    Excellent content, thanks for putting this up!

  • @swarnendurc
    @swarnendurc 3 роки тому

    Excellent video Asif. I always struggled with graph theory n you have made that go away. Thanks a lot

    • @arisaif
      @arisaif  3 роки тому

      Happy to help :)
      Please consider subscribing to my channel.

    • @swarnendurc
      @swarnendurc 3 роки тому

      @@arisaif already subscribed. Saif, can you please some videos about various searching methods in C++ as per your convenience? That would be very helpful.

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

    Thank you Arif. Your explanation was great! It helped me a lot.

  • @baharehnaderizand922
    @baharehnaderizand922 3 роки тому

    I want to create a graph G = ( V , E ) be a network, being V the set of nodes (| V | = n ), and
    E the set of edges in C++ and read my instances including a various number of nodes ( n=10 , n=15 , n=20, ....) . On the other word it should generate automatically a graph with a given number of nodes. How can I do that?

  • @yawsokpor3061
    @yawsokpor3061 4 роки тому +1

    I am happy the way you teach

    • @arisaif
      @arisaif  4 роки тому +1

      Glad you liked it!

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

    thanks for nicely presented content. Can you maybe write some articles or videos on the std::string and its various encoding, e.g. wchar_t etc?

  • @the.comedypie
    @the.comedypie 2 роки тому

    Can you please tell me ( :)Colon sign is used for what

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

      Which part are you referring to?

  • @Veso266
    @Veso266 3 роки тому

    what about representing graphs with incidence matrix and distance matrix?
    do you have a video about them as well?
    iirc if you transpond incidence matrix vertexes turn around (I only read that in an exam and remembered it, never saw it done :) )

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

      Distance matrix is very similar to adjacency matrix except that instead of 0, 1, the entries take the weights of the edges between the two nodes.
      In an incident matrix the rows are the nodes and the columns are the edges, so the size would be |V|.|E| compared to |V|^2 in adjacency matrix. When |E| is small, it takes less memory than the adjacency matrix. However, I have not really seen that many practical applications for incidence matrix.

    • @Veso266
      @Veso266 3 роки тому

      @@arisaif wait so distance matrix is only for weighted graph then, you cannot represet normal graph with it?
      It appears you cannot even represent undirected graph with it?

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

    Thanks mate. Btw do you recommend any book about graph theory from the implementation point of view ?

    • @arisaif
      @arisaif  3 роки тому

      Thanks! If you liked my contents, please consider subscribing to my channel :)
      I don't know any book that is focused on the implementation. I tried to gather various alternatives in this video. Most books that I know focus on the graph theory itself not necessarily on the implementation.

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

    The video is really cool, but it is imposible to have an odd nuber of odd-degree verticles

  • @user-xr5rq6ci6q
    @user-xr5rq6ci6q 2 роки тому

    I think it is incorrect.hey how do you put an argument in a vector.

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

      Which part are you referring to?