You are given two sets of integers in the input. Subtract one from the other and return the size of the resulting set.
Set
Subtraction
Report a typo
Sample Input 1:
8 11 12 13
8 12Sample Output 1:
2Write a program in Kotlin
fun solution(numbers1: Set<Int>, numbers2: Set<Int>): Int {
// 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.