一、 請說明動態規劃(Dynamic Programming)與分治法(Divide and Conquer)兩 種程式撰寫方法之異同。