개발챙 AI study
/
Python
/
자료구조에 따른 복잡도 차이
/
List
/
Slice
Search
Share
Slice
Big-O
O(b-a)
Example
l[a:b]
Notes
l[1:5]:O(l)/l[:]:O(len(l)-0)=O(N)