結果 : greedy algorithm and edge picking algorithm