Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,568 questions · 341 companies · 1,114 reported by candidates
Showing 11,568 results
Every package passing through a sort center is scanned exactly twice (inbound and outbound) except one package that was scanned only once. Given the list of scanned package IDs as integers, return the ID of that package using O(1) extra space.
A merchant settlement file stores amounts as strings like "$1,234.56", "(45.00)" and "12.50 CR", and dates in mixed formats. Write pandas code that parses them into numeric amounts and datetimes and flags rows that failed to parse.
Design the chat system for live shopping shows: viewers post messages, sellers and moderators can pin, delete, and mute, and every viewer sees new messages with low delay even when a show suddenly has a very large audience.
Item i on a packing line becomes ready on day ready[i]. A gift set needs k adjacent ready items, and each item can belong to only one set. Return the earliest day on which m gift sets can be made, or -1 if impossible.
You are given 500 daily profit and loss values for a bond desk's current positions, revalued under historical market moves. Compute the one-day 99% historical VaR, explain what it means, and say what it does not tell you.
Design the limits on how many friend requests a Facebook user can send per day and week, with lower limits for new or suspicious accounts and a warning flow before a temporary block.
A nightly job submits Direct Debit collections for every bill due that day, and it sometimes crashes or is re-run. Explain how you would guarantee each bill is collected at most once, and sketch the code.
On a grid where 2 marks clusters already showing a breaking story on Toutiao, 1 marks clusters that have not, and 0 marks empty cells, the story spreads to 4-adjacent clusters each minute; return the minutes until all clusters have it, or -1 if some never will.
Tell me about a time you disagreed with a designer about the implementation of a UI. How did you reach a resolution?
Given a list of boarding passes (from, to) that together form one trip starting at a known airport, return an itinerary that uses every pass exactly once, choosing the lexicographically smallest one when several exist.
Google Cloud wants to become the default cloud for venture-backed startups in Southeast Asia. Design the go-to-market strategy.
Regions are connected by links, each with a probability of delivering a packet. Find the highest end-to-end delivery probability from a source region to a destination, where a path's probability is the product of its link probabilities.
Given a string containing non-negative integers, the operators + - * /, and spaces, evaluate it with standard precedence. Integer division truncates toward zero, and you may not use eval or a library parser.
You have 3,000 labeled support tickets to adapt a large pretrained language model into a Google Cloud ticket router. Explain the overfitting risks and the techniques you would use to fine-tune without destroying what the model already knows.
Tell me about a time different teams were using inconsistent definitions of the same metric, and how you drove the organization to one definition.
Given an ordered list of CODEOWNERS rules (glob pattern, owners) and a file path, return the owners for that path, where the last matching rule wins. Support `*` and `?` within a segment, `**` across segments, a leading `/` anchoring to the repo root, a trailing `/` meaning a directory, and bare names matching at any depth.
Human evaluation of Google Translate is slow and expensive. Design a quality metric from user behaviour signals that can be tracked daily, and explain how you would make sure it reflects real translation quality.
Implement a limit order book for one trading pair that matches incoming limit orders by price then time priority, rests any unfilled remainder, supports cancel, and prevents an account from trading against its own resting order by cancelling the resting order.
A warehouse grid has walls '#', open floor '.', a start '@', lowercase keys 'a' to 'f', and uppercase locked doors that need the matching key. Return the fewest steps to collect every key, or -1.
Design the pipeline that lets employees upload meeting recordings and videos to Microsoft Stream, transcodes them into adaptive bitrate renditions, generates thumbnails and transcripts, and makes them playable quickly.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.