Working with groups of values is part of almost every program, and the Kotlin standard library gives you a rich toolkit for it. You'll learn the three main collection types, List, Set, and Map, and the difference between read-only and mutable collections such as MutableList.
You'll also learn to transform data with functions like map and filter, and how sequences evaluate those operations lazily, so large or chained operations avoid building intermediate collections. By the end you'll know when to reach for a plain collection and when a sequence is the better choice.
Watch the lessons in order, then continue on to Generics & Extensions.
Introduces the main Kotlin collections, List, Set, and Map, and how each one works.
Covers the basics of lists, sets, and maps, and the difference between immutable and mutable collections.
Explains how to use map on a collection to transform one list into another.
Shows how Kotlin sequences use lazy evaluation for efficient collection processing.