From 10,000 Interview Transcripts: The Real Python Questions Top Companies Ask

Jay Feng
Jay Feng
CEO, Interview Query
Binary Tree Validation
recently asked at Google
PythonPython
Matrix Rotation
recently asked at Apple
PythonPython
Longest Increasing Subsequence
recently asked at Amazon
PythonPython

Select a company

Choose a company to explore their specific Python interview questions and process.

Google

Google

Google tests your ability to use Python to reason at scale. Expect algorithmic problem-solving, data structures, and optimization questions, like parsing large datasets, designing efficient search logic, or simulating systems under tight performance constraints.

View Google Python Interview Questions
Google Data Interview
Average Data Interview
Step-by-Step Guide

The Google Interview Process

Understanding what to expect at each step helps you prepare effectively and increase your chances of success.

01

Resume Screen

A recruiter probes how you think, not just what you’ve done. They test clarity of reasoning, comfort with ambiguity, and whether you can explain complex ideas without hiding behind jargon.

02

Technical Assessment

You solve Python problems focused on algorithms, data structures, and efficiency. Interviewers push hard on edge cases, trade-offs, and why your solution scales— or doesn’t.

03

Panel Interview

Multiple engineers independently evaluate your problem-solving depth and communication. Expect follow-ups that deliberately invalidate your first solution to see how you recover.

04

Final Interview

A hiring committee reviews your performance holistically. Cultural alignment (“Googleyness”) and consistent reasoning across interviews matter as much as raw technical strength.

Don't just read about the interview process. Experience it.

Sign Up and Practice With AI Interviewer

Featured Interview Question

Practice with a real question asked at Google.

Complete Addresses

Asked by Google - Aug 2025

You’re given two dataframes. One contains information about addresses and the other contains relationships between various cities and states:

Example:

df_addresses

address
4860 Sunset Boulevard, San Francisco, 94105
3055 Paradise Lane, Salt Lake City, 84103
682 Main Street, Detroit, 48204
9001 Cascade Road, Kansas City, 64102
5853 Leon Street, Tampa, 33605

df_cities

city state
Salt Lake City Utah
Kansas City Missouri
Detroit Michigan
Tampa Florida
San Francisco California

Write a function complete_address to create a single dataframe with complete addresses in the format of street, city, state, zip code.

Input:

import pandas as pd

addresses = {"address": ["4860 Sunset Boulevard, San Francisco, 94105", "3055 Paradise Lane, Salt Lake City, 84103", "682 Main Street, Detroit, 48204", "9001 Cascade Road, Kansas City, 64102", "5853 Leon Street, Tampa, 33605"]}

cities = {"city": ["Salt Lake City", "Kansas City", "Detroit", "Tampa", "San Francisco"], "state": ["Utah", "Missouri", "Michigan", "Florida", "California"]}

df_addresses = pd.DataFrame(addresses)
df_cities = pd.DataFrame(cities)

Output:

def complete_address(df_addresses,df_cities) ->
address
4860 Sunset Boulevard, San Francisco, California, 94105
3055 Paradise Lane, Salt Lake City, Utah, 84103
682 Main Street, Detroit, Michigan, 48204
9001 Cascade Road, Kansas City, Missouri, 64102
5853 Leon Street, Tampa, Florida, 33605

More Google Python Questions

QuestionDifficultyAsk Chance
Find Bigrams
Easy
Very High

Write a function called find_bigrams that takes a sentence or paragraph of strings and returns a list of all its bigrams in order.

Note: A bigram is a pair of consecutive words.

Example:

Input:

sentence = """
Have free hours and love children? 
Drive kids to school, soccer practice 
and other activities.
"""

Output:

def find_bigrams(sentence) ->

 [('have', 'free'),
 ('free', 'hours'),
 ('hours', 'and'),
 ('and', 'love'),
 ('love', 'children?'),
 ('children?', 'drive'),
 ('drive', 'kids'),
 ('kids', 'to'),
 ('to', 'school,'),
 ('school,', 'soccer'),
 ('soccer', 'practice'),
 ('practice', 'and'),
 ('and', 'other'),
 ('other', 'activities.')]
N-gram Dictionary
Easy
Very High
Bucket Test Scores
Medium
Very High
Term Frequency
Easy
Very High

800+ more questions with detailed answer frameworks inside the guide.

Sign up to view all Python interview questions

This is how acing interviews feels like

Interview Query is by far the best resource for helping students learn how to transition from Masters and undergraduate programs into the data science industry!
I was out of a job for almost five months until I used Interview Query and landed a job at Apple.
They're super comprehensive, made the questions easy to understand, and I felt well-prepped going into my interviews.