Python For Interviews:

Python Reference

This section is a quick reference for Python tools that show up again and again in interviews: what they do, how to use them, and the gotchas that trip people up. Unlike the data structure chapters, these pages are not about a single concept like a list or a heap. Each one covers a specific built-in tool.

Note

Start with Counter. Counting occurrences of something is one of the most common building blocks in interview problems.