結果 : write non deterministic algorithm for sorting and searching