State Farm Interview Questions

State Farm Interview Guides

Click or hover over a slice to explore questions for that topic.
Machine Learning
(24)
Statistics
(11)
SQL
(9)
Product Sense & Metrics
(8)
Data Structures & Algorithms
(8)

State Farm Interview Questions

Practice for the State Farm interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Easy

You are given two rectangles a and b each defined by four ordered pairs denoting their corners on the x, y plane. Write a function rectangle_overlap to determine whether or not they overlap. Return True if so, and False otherwise.

Note: If the two rectangles border one another, or share a corner like two diagonally adjacent positions on a chessboard, they are said to overlap.

Note: The lists of ordered pairs are in no particular order. The first entry in list a could be the top left corner while the first in list b is the bottom right.

Example:

Input:


a = [(-3,5), (-3,2),(0,5),(0,2)]
b = [(-1,4), (3,4), (3,1), (-1,1)]

Output:

def rectangle_overlap(a, b) -> True

As point (0,2) is fully contained in rectangle b and point (-1,4) is fully contained in a rectangle a.

Statistics
Easy
Business Case
Easy
Loading pricing options

View all State Farm questions

Challenge

Check your skills...
How prepared are you for working at State Farm?

State Farm Salaries by Position

Data Analyst*
$99K
Data Analyst
Median: $99K
Mean (Average): $99K
Data points: 1
$72K
$131K
Software Engineer
Median: $93K
Mean (Average): $96K
Data points: 54
$80K
$104K
Data Engineer
Median: $99K
Mean (Average): $94K
Data points: 3
$85K
$99K
Data Scientist
Median: $91K
Mean (Average): $92K
Data points: 4
ML Engineer*
$79K
$97K
ML Engineer
Median: $88K
Mean (Average): $88K
Data points: 2

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

From the graph we can see that on average the Data Analyst role pays the most with a $99,000 base salary while the ML Engineer role on average pays the least with a $88,000 base salary.

Discussion & Interview Experiences

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