重點: two ends in original array bigger than center when a> 0
a<0 center bigger than two ends
實現(xiàn): declare 一個size n 的sorted array. 雙指針一個指向front, 一個end. 然后apply quartic function. 誰大誰去sorted array 的ending position.?
重點: two ends in original array bigger than center when a> 0
a<0 center bigger than two ends
實現(xiàn): declare 一個size n 的sorted array. 雙指針一個指向front, 一個end. 然后apply quartic function. 誰大誰去sorted array 的ending position.?