Pergunta de entrevista da empresa Meta

Ocean View Problem: Determine which buildings can see the ocean without any view being obstructed.