Introduction

Welcome to the next unit of this course!

Before we delve deeper into Scala essentials for interview preparation, we'll revisit some Scala features — specifically, Scala collections like Lists and Strings. These collections allow Scala to group multiple elements, such as numbers or characters, under a single entity.

Some of these concepts might already be familiar to you, so feel free to breeze through the beginning until we reach the main topics.

Understanding Scala's Collections

As a starting point, it's crucial to understand what Scala's collections are. They help us manage multiple values efficiently and are categorized into various types such as Lists, Sets, and Maps.

We will focus mainly on Lists and Strings. An interesting point is that Lists are immutable by default, meaning they are unchangeable after creation. However, Scala offers mutable collections if changes are required. Let's see some examples:

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal