← Real Code

Find the biggestPremium

This lesson is part of Premium

Which number in a list is the biggest? Keep a “best so far” variable, look at each number, and swap it whenever you find a bigger one. It's the same idea as finding the tallest person in a line!

Free lessons are marked on the lesson map. Premium unlocks the rest of the path, including the boss levels and all of the Game Projects.