개발챙 AI study
/
Python
/
자료구조에 따른 복잡도 차이
/
Set
/
check ==, !=
Search
Share
check ==, !=
Big-O
O(len(s))
Example
s != t
Notes
same as len(t); False in O(1) if the lengths are different