Source: https://www.selfstudys.com/gate/computer-science-engineering/online/exam/discrete-mathematics-book-ii/4-graph-theory.pdf