Match the parts of definitions for collections in Scala.
Modifying collections
Matching collection definitions
Report a typo
Match the items from left and right columns
Set(1, 2, 3).
List('a', 'b')
Map('a' -> 1).
.map(c => 'd')
filter(i => i > 2)
filter(pair => 'a' -> pair._2)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.