Google L4 phone interview
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-12-23Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
You are given undirected and unweighted graph of uppercase nodes. Alice is at A and Bob is at B. Both need to reach at D.
Both can go in same car from common edge.
Compute the min distinct edges required for Bob and Alice to reach D.
(F is connected to D)
A -- F
| \\
C -- E --D
|
B -- G -- H
Ans: 4
A-C-E-D
B-C-E-D
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
You are given undirected and unweighted graph of uppercase nodes. Alice is at A and Bob is at B. Both need to reach at D.
Both can go in same car from common edge.
Compute the min distinct edges required for Bob and Alice to reach D.
(F is connected to D)
A -- F
| \\
C -- E --D
|
B -- G -- H
Ans: 4
A-C-E-D
B-C-E-D