Toggle navigation
JUPYTER
FAQ
View as Code
Python 3 Kernel
View on GitHub
Execute on Binder
Download Notebook
Python-for-Algorithms--Data-Structures--and-Interviews
Reflect Notes.ipynb
Notebook
Array
¶
Python use reference when slide or extend an array. (Because python uses immutable value for integers and strings)
Dynamic Array Implementation
¶
The array has an initial size and will expand twice when extending.
In [ ]:
" "
.
join
()
reversed
()
s
.
split
()
len
(
set
(
s
))