California interview questions | Glassdoor

Interview questions in California

Google Interviews in California /  HQ: Mountain View, CA

2,649 Interviews in California (of 10,402)

3.4 Difficult

Apple Interviews in California /  HQ: Cupertino, CA

1,653 Interviews in California (of 7,323)

3.2 Average

Facebook Interviews in California /  HQ: Menlo Park, CA

1,523 Interviews in California (of 5,317)

3.2 Average

Interview Questions in California

Sort: RelevancePopular Date

You have a birthday cake and have exactly 3 slices to cut it into 8 equal pieces. How do you do it?

39 Answers

Cut in half, stack, cut in half, stack, cut in half. All you have to worry about is the 45 degree rotation of one of the 4 pieces after the second cut. Blade can be kept in place, like a paper cutter, as to minimize the margin for error.

Slice it horizontally across the middle creating two equal halves top and bottom. Then simple two slice cross from above like normal.

Cut each slice into 3 slices. Then eat one of them.

You have a 100 coins laying flat on a table, each with a head side and a tail side. 10 of them are heads up, 90 are tails up. You can't feel, see or in any other way find out which side is up. Split the coins into two piles such that there are the same number of heads in each pile.

36 Answers

Write some pseudo code to raise a number to a power.

11 Answers

Find the second largest element in a Binary Search Tree

16 Answers

Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division.

8 Answers

Suppose you have a matrix of numbers. How can you easily compute the sum of any rectangle (i.e. a range [row_start, row_end, col_start, col_end]) of those numbers? How would you code this?

8 Answers

how do you attempt to sale when there are no customers in the sore?

4 Answers

You are in a boat in a pool with a rock in your hand. You throw the rock into the pool. Does the water level rise, drop, or stay the same?

10 Answers

What are the different ways you can you tell if this part is steel or aluminium.

4 Answers

Implement a binary tree and explain it's function

4 Answers
110 of 213,822 Interview Questions