結果 : explain efficiency and complexity of algorithm with its types