Python String Indexing Time Complexity Chart