Google interview questions

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-06-11Added By Anonymous
Source: Link

Company: Google
Role: L5 (Machine Learning Engineer)
Interview Stage: Technical Interview
Location: unknown
Year: unknown

Original Post Content:

MLE L5

Q1: Design 80*80 chess board. In general, a chess board is of 8*8 size, but each square is of 10*10 pixels. The first row starts with 0 (being white), 1 (being black), so the pattern is 01010101. 0 is represented by pixels as:
00000000000
00000000000
00000000000
00000000000
00000000000
00000000000
00000000000
00000000000
00000000000
00000000000

1 is represented as:
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111

Q2: Two dice are thrown. What is the probability of getting a prime number sum?

Q3: Variation of the above (Q2) with 10 dice.

Solved all of the above questions as it was very intuitive and nothing much required other than thinking out loud and executing.

Decisions: Downlevel to L4 or LH

Comments