Skip to main content
All Questions

Two teams each build a near and a far tower using dollies of bricks, one action a day. You win when both your towers beat the opponent's at the same site. How do you play?

Unlock detailed company stats for this questionUpgrade
You are team West, racing team East. Each team builds two towers, one at the west site and one at the east site. Both teams start with 5 bricks on their own near tower. Each day you pick one action: get a dolly; put one brick on every dolly you own; move all bricks on your dollies to your near tower; move all bricks on your dollies to your far tower, which takes two days; or look at how many dollies and bricks your opponent has. You win once your near tower is taller than the opponent's far tower and your far tower is taller than the opponent's near tower. How would you play against various opponent strategies?

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.