結果 : explain the min max algorithm working with an example