RepostedGoogle logo

Google · OA

In process

Google New Grad OA, Tokens and Digit Codes: 1 Experience

Software engineer · New GradBachelor's degreeOct 2025
Shared by

Google new grad SWE OA, October 2025: score tokens on a board with an adjacency bonus, and count four-digit codes whose digits sum to S.

At a glance

Coverage: one Google software engineer new grad candidate; reported October 2025.

What came up

Topic Reports Last seen
Arrays and strings 1 of 1 Oct 2025
Counting 1 of 1 Oct 2025

Questions we found

Algorithms / Data Structures

Question Reports Last seen
Score Points 1 Oct 2025
Count Four-Digit Codes With Sum S 1 Oct 2025

1 detailed candidate timeline

01: Tokens and four-digit codes

Report date: October 2025 · Role: Software Engineer, New Grad · Result: OA completed

  1. Question 1: an integer array points and a string tokens describe N cells (T = token, E = empty). Score = the sum of points[i] for token cells, plus one for every adjacent pair of token cells. Example: points = [3,4,5,2,3], tokens = TEETT gives 9: Score Points.
  2. Question 2: across all four-digit codes with digits 0–9 (leading zeros allowed), count those whose digits sum to S, with 0 <= S <= 36; for example S = 4 gives 35 and S = 2 gives 10: Count Four-Digit Codes With Sum S. The screenshot's list for S = 35 repeated 9899, a typo.
  3. Hidden tests were used, and the candidate warned about equality edge cases.

Common questions

What questions are on the Google new grad OA?

Report 01 had a token-board score with an adjacency bonus and a four-digit code count by digit sum.

Keep practicing

Sources: Anywhere useful interview info can be found.

0 total reactions. Your reactions: none.
0 comments

Comments

0

No comments yet — be the first to share what you know.