Cloudflare Interview Questions

Cloudflare Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(7)
SQL
(2)
Machine Learning
(2)
Behavioral
(1)
Forecasting & Time Series
(1)

Cloudflare Interview Questions

Practice for the Cloudflare interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

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
Data Structures & Algorithms
Easy
Data Structures & Algorithms
Medium
Loading pricing options

View all Cloudflare, Inc. questions

Challenge

Check your skills...
How prepared are you for working at Cloudflare, Inc.?

Cloudflare Salaries by Position

Product Manager*
$179K
$246K
Product Manager
Median: $213K
Mean (Average): $213K
Data points: 2
$116K
$198K
Software Engineer
Median: $148K
Mean (Average): $151K
Data points: 28
$122K
$171K
Data Scientist
Median: $138K
Mean (Average): $143K
Data points: 8
Business Analyst*
$135K
Business Analyst
Median: $135K
Mean (Average): $135K
Data points: 1
AI Research Scientist*
$133K
AI Research Scientist
Median: $133K
Mean (Average): $133K
Data points: 1
$109K
$158K
Data Engineer
Median: $125K
Mean (Average): $130K
Data points: 9
$80K
$133K
Data Analyst
Median: $90K
Mean (Average): $101K
Data points: 11

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Product Manager role pays the most with a $212,500 base salary while the Data Analyst role on average pays the least with a $101,327 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.