Back
Close
  • 1764

What will I practice?

Loops

Solving this puzzle makes you understand the concept of loops and the ways of retrieving the maximum value from a list of integers.

This puzzle can also be a playground to experiment the concept of lambdas in different programming languages. It's also an opportunity to discover functional programming.

Statement

A simple problem to try out the CodinGame platform: your program must find the highest mountain out of a list of mountains.

A higher resolution is required to access the IDE

63 FPS (55-63)

QUALITY

SPEED

0/0
0/0

Story

The Enterprise ship is in danger: drawn towards the surface of an unknown planet, it is at risk of crashing against towering mountains. Help Kirk and Spock destroy the mountains... Save the Enterprise!

Online Participants