Chapter 1

1.1 Graphs:

Has two types:

  1. Undirected graph:

                    في النوع دا انت مش عارف مين رايح لمين 
    

autodraw 5_23_2023 (1).png

V = {1, 2, 3, 4, 5}, E = {(1, 5), (1, 4), (2, 3), (2, 4),(3, 5)}, G = ({1, 2, 3, 4, 5}, {(1, 5),

(1, 4), (2, 3), (2, 4),(3, 5)})

  1. Directed graph:

Screenshot 2023-05-23 190823.png