Given a MutableList of Strings in the input, convert it to Set.
Set
Conversion
Report a typo
Sample Input 1:
A B C D ASample Output 1:
A B C DWrite a program in Kotlin
fun solution(strings: MutableList<String>): Set<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.