• 11

What will I practice?

Dynamic programmingSimulation

This puzzle makes you grasp the basics of queues and cycles of queues. You need to optimize your code to process a big dataset.

External resources

FIFO Queue


The goal of this puzzle is to simulate the ride of a queue of people on a rollercoaster. The queue forms a cycle so there is something to exploit there in order to speed up your simulation.

A higher resolution is required to access the IDE


We all like roller coasters. But there are people who like people who like roller coasters. Today, you are one of them, as you have to check the profit of an attraction in an amusement park. Let's hope there will be more ups than downs.

Online Participants