結果 : non deterministic algorithm examples