Breath-First Search


  • 一些基本性質 1.複雜度:O(m+n) 2.可找出任兩點間minimum path(最短路徑) 3.可找出simple cycle 4.用Queue 5.類似level order

results matching ""

    No results matching ""