What will I practice?
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.
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
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!