結果 : min max recursive algorithm