What's the difference between foo.sort() and sorted(foo) where foo is a list? — foo.sort() changes the list to its sorted state sorted(foo) doesn't change foo, just returns a sorted list.
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university