This series of tutorials helps you learn about arrays, lists, sets, and maps in Kotlin.
- 1Introduction to Collections in Kotlin
- 2Kotlin Immutable vs Mutable Collections: Key Differences
- 3Choosing the Right Collection Type in Kotlin
- 4Converting Between Arrays, Lists, Sets, and Maps in Kotlin
- 5Sorting Collections in Kotlin: Built-in Methods
- 6Transforming Collections with `map`, `flatMap`, and `mapNotNull` in Kotlin
- 7Using Sequences for Lazy Evaluation in Kotlin
- 8How to Get the Size or Length of a Collection in Kotlin
- 9Checking if a Collection is Empty in Kotlin
- 10Creating Arrays in Kotlin: Basics and Use Cases
- 11Kotlin: Accessing and Updating Elements in an Array
- 12Kotlin: Iterating Through Arrays with Loops and `forEach`
- 13Kotlin: Finding the Index of an Element in an Array
- 14Checking if an Array Contains a Specific Value in Kotlin
- 15Filtering Arrays with `filter` and `filterNot` in Kotlin
- 16Sorting Arrays in Kotlin: Ascending and Descending
- 17Combining Arrays: Merging and Zipping in Kotlin
- 18Converting Arrays to Lists, Sets, or Maps in Kotlin
- 19Using `binarySearch` with Sorted Arrays in Kotlin
- 20Reversing an Array in Kotlin
- 21Finding the Minimum and Maximum in an Array in Kotlin
- 22Working with Multidimensional Arrays in Kotlin
- 23Creating Immutable Lists with `listOf` in Kotlin
- 24Kotlin - Working with Mutable Lists Using `mutableListOf`
- 25Adding and Removing Elements in a List in Kotlin
- 26Accessing Elements by Index in Lists in Kotlin
- 27Sorting Lists in Kotlin: Natural and Custom Order
- 28Filtering Lists with Conditions in Kotlin
- 29Kotlin: Finding the First, Last, or Specific Element in a List
- 30Calculating the Sum, Average, and Median of List Elements in Kotlin
- 31Removing Duplicate Elements from a List in Kotlin
- 32Partitioning Lists into Groups in Kotlin
- 33Transforming Lists with `map` and `flatMap` in Kotlin
- 34Grouping Lists by a Property in Kotlin
- 35Reversing and Shuffling Lists in Kotlin
- 36Checking if a List Contains a Given Value in Kotlin
- 37Introduction to Sets in Kotlin
- 38Creating Immutable and Mutable Sets in Kotlin
- 39Adding, Removing, and Updating Elements in a Set in Kotlin
- 40Kotlin: Checking for Unique Elements and Duplicates in Sets
- 41Kotlin Set Operations: Union, Intersection, and Difference
- 42Sorting and Filtering Elements in a Set in Kotlin
- 43Converting Sets to Other Collection Types in Kotlin
- 44Checking if a Set Contains a Value in Kotlin
- 45Iterating Over Set Elements in Kotlin
- 46Understanding Maps in Kotlin: Key-Value Pairs
- 47Creating Maps with `mapOf` and `mutableMapOf` in Kotlin
- 48Adding, Updating, and Removing Entries in a Map in Kotlin
- 49Accessing Values by Key in a Map in Kotlin
- 50Using Default Values with `getOrDefault` in Kotlin
- 51Checking if a Map Contains a Key or Value in Kotlin
- 52Sorting Maps by Keys or Values in Kotlin
- 53Iterating Through Maps in Kotlin: Keys, Values, and Entries
- 54Merging Two Maps in Kotlin
- 55Kotlin: Grouping and Counting Elements in Maps
- 56Kotlin: How to Search for an Element in a Collection
- 57Kotlin: Finding an Element’s Index in Arrays, Lists, or Sets
- 58Kotlin: Using `find` and `findLast` to Locate Elements
- 59Kotlin: Filtering Elements with `filter` and `filterNot`
- 60Kotlin: Advanced Filtering with `filterIsInstance`
- 61Using `first`, `last`, and `single` in Kotlin
- 62Performing Aggregations in Kotlin: Sum, Count, and Average
- 63Calculating Variance and Standard Deviation in Kotlin
- 64Using `reduce` and `fold` for Custom Aggregations in Kotlin
- 65Finding the Minimum and Maximum in a Collection in Kotlin
- 66Counting Elements That Meet a Specific Condition in Kotlin
- 67Combining Collections with `zip` and `plus` in Kotlin
- 68Flattening Nested Collections with `flatten` in Kotlin
- 69Using `chunked` to Split Collections into Smaller Parts in Kotlin
- 70Removing Elements with `removeIf` and `drop` Functions in Kotlin
- 71Shuffling and Randomizing Collections in Kotlin
- 72Joining Collections into Strings with `joinToString` in Kotlin
- 73Building a To-Do List App with Kotlin Collections
- 74Using Collections for Data Processing in APIs in Kotlin
- 75Sorting User Data Using Built-in Collection Methods in Kotlin
- 76Creating Nested Collections for Complex Data Structures in Kotlin
- 77Efficiently Managing Data with Kotlin Collection Utilities
- 78Real-World Applications of Kotlin’s Collection Framework