Given an integer array arr and an integer target, return the number of tuples (i, j, k) such that i < j < k and arr[i] + arr[j] + arr[k] is equal to target.
Since the result can be very large, return the answer modulo
Constraints:
arr.length
arr[i]
target
Given an integer array arr and an integer target, return the number of tuples (i, j, k) such that i < j < k and arr[i] + arr[j] + arr[k] is equal to target.
Since the result can be very large, return the answer modulo
Constraints:
arr.length
arr[i]
target