Pyramid Transition Matrix at Airbnb

Medium60.6% acceptance

This problem has 75.0% frequency at Airbnb.

Problem Description

You are stacking blocks to form a pyramid. Each block has a color, which is represented by a single letter. Each row of blocks contains **one less block** than the row beneath it and is centered on top. To make the pyramid aesthetically pleasing, there are only specific **triangular patterns** that...

Read full problem and hints

Topics

Also asked at 2 companies


More Airbnb Questions

View all Airbnb questions