AlgoMaster Logo

Number of Visible People in a Queue

heights=[10, 6, 8, 5, 11, 9]
0 / 32
queue10685119012345resultstack(empty)how many people to the right can each person see?
algomaster.io
Step:Start of algorithm