# Zoox Software Engineer - 2019

Status: 2 years experience
Position: Software Engineer

Online round (90 mins)

Phone Screen (60 mins):
Design an image processor system. You are given a list of image objects and a list of commands as strings with parameters. How would you design? Write code.

Onsite (5 rounds):
Round 1: Loads of math questions.

1. Drew a moon on wall, calculate distance of moon
2. Given 2 bags with 2 dice. One with 6 sides and another with 8 sides. I tell you I got a 3, what’s the probability that it was from the dice numbered 6
3. Given 2 spheres. Big sphere diameter is 50% more than smaller one. Weight of smaller one is 8 kg. What’s the weight of the smaller one?
4. What is the number of Friday the 13th we can get in an average year?
5. Given a 3d tic tac toe, how many ways can you win it?
6. Why is it hotter in summer?
7. Given a hexagon’s area, what is it’s perimeter?
8. Given a 1080p video… how many minutes can you store in a 1TB hard disk?
9. Boat in water. You add a ball of some weight, does the water level rise or fall or stay same…lots of follow up on that

Round 2:

2. Buy and sell stock - 1 and follow up scale it
3. Find min path from top of column to bottom in 2d matrix and scale follow up
4. https://leetcode.com/problems/median-of-two-sorted-arrays

Round 3:
Lot of resume questions and questions about scaling a system, horizontal partitioning, vertical partitioning, load balancing, database sharding, different bugs and how to solve them, microservice vs monolithic services and other design concepts

Round 4:
System design related questions and 2 coding questions.
Question 1: https://leetcode.com/problems/single-number
Question 2: https://leetcode.com/problems/single-number-iii Do it in O(n) time and O(1) space complexity

Round 5:
Director asked questions on how to go about debugging an issue he gave with him adding constraint after constraint and changing the scenarios. Very real life based issues.