Software Engineer Interview
If you have a square room with no roof, and you had four flagpoles you had to plant on the walls so that each flagpole touched two walls, how would you do it?
Not sure if this would be allowed, but I thought put each flagpole horizontal instead of vertical. Then they are fixated to the wall and touch two sides (assuming the flagpoles are long enough).
The answer was that by planting them on the corners, each one is touching two walls because each corner is part of two walls. I wanted to pierce two walls with a pole horizontally too. They said it was an innovative solution.
Anonymous (Original Poster) on
paint one half of the flag pole on one wall and the other half on the other wall, so that you are touching two walls.
lola duke on