Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python string count complexity

len(st)=n
len(sub_string) = k

O(st.scount(sub_string))=O((n-k)k)
 
PREVIOUS NEXT
Tagged: #python #string #count #complexity
ADD COMMENT
Topic
Name
5+6 =