• 39822

What will I learn?

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.

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.


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!

codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
Online Participants