You are given a Set and a MutableList of strings as input. Combine them into a MutableSet and return the result.
Mutable Set
Combination
Report a typo
Sample Input 1:
A B C
A B B D CSample Output 1:
A B C DWrite a program in Kotlin
fun solution(setSource: Set<String>, listSource: MutableList<String>): MutableSet<String> {
// put your code here
}
___
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.