Google · Phone screen → Onsite
OfferGoogle, Datadog, LinkedIn SWE Intern Onsites: 1 Experience
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
- Process: Google: three interviews; Datadog and LinkedIn: onsite coding rounds; the candidate ended with an offer (report 01).
- Asked: Google: unique random numbers with three follow-ups; Datadog: repeated words, first common availability and a wildcard word dictionary; LinkedIn: factor combinations and list intersection (report 01, Oct–Nov 2024).
- Practise first: Generate Unique Random Numbers, Find First Common Availability and Word Dictionary with Wildcards.
Coverage: 1 candidate · SWE intern · Google (reported November 5, 2024), Datadog (November 14, 2024) and LinkedIn (October 14, 2024) · six coding questions.
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
| 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) |
| 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)
- 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.
- 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. - Word Dictionary with Wildcards: support
add_word(word)andsearch_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)
- Generate Unique Random Numbers: implement
gen(a, b, n)returningnunique numbers fromatob; the intended solution was a Fisher–Yates shuffle. - Follow-ups: make the running time deterministic; build a bingo card with the function once given the rules; generate
nbingo cards that are all different.
LinkedIn (reported October 14, 2024)
- 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.
- 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
- Google: Generate Unique Random Numbers and the Google question bank (sign-in needed).
- Datadog: Count Repeated Words, Find First Common Availability, Word Dictionary with Wildcards and the Datadog question bank (sign-in needed).
- LinkedIn: Factor Combinations, Intersection of Two Lists and the LinkedIn question bank (sign-in needed).
- Company pages: Google, Datadog and LinkedIn interview pages.
- More firsthand reports: the Experience feed.
Sources: Anywhere useful interview info can be found.
Comments
0No comments yet — be the first to share what you know.