Kotlin Collections


Kotlin Collections

Declaring, Initializing, and Using Key Functions of Kotlin Arrays

Introduces how to declare and initialize arrays.

Finding the Minimum and Maximum Values in a Kotlin Array

Introduces how to find the minimum and maximum values among the elements of an array.

Declaring and Initializing Kotlin Lists

Introduces how to declare and initialize lists.

Removing Duplicate Elements with Kotlin List Distinct

Converting a Kotlin List to a Set

Getting the Length of Kotlin Lists and Arrays

Introduces how to get the length, size, and total number of elements of List and Array.

Various Ways to Use Kotlin Map

Introduces various ways to use Map, including mapOf, keys, values, mapKeys, mapValues, toSortedMap, Comparator, and getOrPut.

Various Ways to Use Kotlin Set

Introduces various ways to use Set, including setOf, mutableSetOf, union, intersection, and minus.

Converting a Kotlin Set to a List