Subtraction

Report a typo

You are given a Set of strings and a String as input. Remove the given string from the Set and return the result.

Sample Input 1:

Hello it's you me
you

Sample Output 1:

Hello it's me
Write a program in Kotlin
fun solution(elements: Set<String>, element: String): MutableSet<String> {
// put your code here
}
___

Create a free account to access the full topic