Sort A, B, C, D and E

Logic Level 2

There are 5 people, \(A, B, C, D, E \) that are standing in a line facing to the left. \(A\) can see no one, while \(E\) can see everyone. Starting with \(A\), each of them is asked "How many people standing before you are also taller than you are?". The replies from each of them were 0, 1, 1, 0 and 1 respectively.

Arrange these 5 people according to their height, starting with the shortest.

Note: Assume that no two people have the same height.

×

Problem Loading...

Note Loading...

Set Loading...