Find All People Who Learn a Secret
Asked at Google · Coding Questions · Difficulty: Hard
There are `n` people numbered `0` to `n - 1`. Person `0` and person `firstPerson` both know a secret at time 0. You are given `meetings`, where `meetings[i] = [x, y, t]` means persons `x` and `y` meet at time `t`.
Loading the problem…
More Google interview questions
- LLM conceptual questions
- Implement a Nested Tic-Tac-Toe Game Engine
- ML Fundamentals Deep Dive (AI/ML & MLE Roles)
- Design a Real-Time Product Recommendation System
- Implement Scaled Dot-Product Attention
- Design a Multi-Tenant, Multi-Region API Rate Limiter