結果 : derive time complexity of min max algorithm