RepostedGoogle logo

Google · Phone screen → Onsite

Offer

Google, Datadog, LinkedIn SWE Intern Onsites: 1 Experience

Software engineer · InternshipBachelor's degreeSep 2026
Shared by

One SWE intern candidate's fall 2024 onsite coding at Google, Datadog and LinkedIn: unique random numbers, three Datadog tasks and two LinkedIn tasks.

At a glance

Coverage: 1 candidate · SWE intern · Google (reported November 5, 2024), Datadog (November 14, 2024) and LinkedIn (October 14, 2024) · six coding questions.

Interview reference image

What came up

Classic medium coding with a twist at each company: a shuffle with bingo follow-ups at Google, strings, intervals and a trie at Datadog, and two shorter recollections at LinkedIn.

Questions we found

Google

Question Reports Last seen
Generate unique random numbers, then bingo cards 1 Nov 2024 (report date)

Datadog

Question Reports Last seen
Count repeated words 1 Nov 2024 (report date)
Find first common availability 1 Nov 2024 (report date)
Word dictionary with wildcards 1 Nov 2024 (report date)

LinkedIn

Question Reports Last seen
Factor combinations (best-fit reading of the note) 1 Oct 2024 (report date)
Intersection of two lists 1 Oct 2024 (report date)

1 detailed candidate timeline

01: six coding questions across three companies

Interview date: October–November 2024 · Role: SWE intern · Result: Offer (company not specified)

Datadog (reported November 14, 2024)

  1. Count Repeated Words: in a paragraph, count how many distinct words appear more than once, case-insensitively, with only periods and commas as punctuation. A word seen twice adds exactly 1.
  2. Find First Common Availability: implement find_first_availability(slots_a, slots_b, dur) to return the earliest interval free for both people that lasts the requested duration, or an empty list. Two intervals overlap from the later start to the earlier end, so two pointers over sorted lists work.
  3. Word Dictionary with Wildcards: support add_word(word) and search_word(word), where each period matches exactly one letter a–z. A trie fits: follow one branch for a letter, try every child for a period.

Google (three interviews, reported November 5, 2024)

  1. Generate Unique Random Numbers: implement gen(a, b, n) returning n unique numbers from a to b; the intended solution was a Fisher–Yates shuffle.
  2. Follow-ups: make the running time deterministic; build a bingo card with the function once given the rules; generate n bingo cards that are all different.

LinkedIn (reported October 14, 2024)

  1. A backtracking/DFS question the notes called "factorials"; FastPrep reads it as Factor Combinations (every way to write a number as a product of factors greater than one). The exact input and ordering were not kept.
  2. Intersection of two lists: the notes did not say whether duplicates or order matter; the FastPrep version returns each shared value once, in increasing order.

Common questions

What does Google ask SWE interns about random numbers?

Generate unique random numbers in a range (Fisher–Yates), then make it deterministic and build unique bingo cards (report 01).

What coding questions does Datadog ask SWE interns?

In this report: counting repeated words, the first common free slot for two people, and a word dictionary with single-letter wildcards (report 01).

Keep practicing

Interview reference image

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.