結果 : explain space and time complexity of an algorithm