結果 : space complexity in data structure with example