Google VO Interview Problem: Going to 7th Floor with 3 People

16 Views
No Comments

[A] [B]

1 2 3

| 4 5 6|

| 7 8 9|

[C] [D]

7?3 - going to 7th floor with 3 people

The problem presents a compact floor/elevator-style scenario and asks you to infer the state when reaching the 7th floor with 3 people involved. The main challenge is to abstract the diagram into states, then simulate the floor transitions or model them with search or dynamic programming while respecting the multi-person constraint.

END
 0