You are given two integer arrays, technique1 and technique2, each of length n, and an integer k.
There are n tasks. For each task i, you can choose to complete it using technique technique1[i] points, or using technique technique2[i] points.
You must complete at least k tasks using technique
Return the maximum total points you can accumulate after completing all n tasks.
Constraints:
technique1.length technique2.length
technique1[i], technique2[i]
k
You are given two integer arrays, technique1 and technique2, each of length n, and an integer k.
There are n tasks. For each task i, you can choose to complete it using technique technique1[i] points, or using technique technique2[i] points.
You must complete at least k tasks using technique
Return the maximum total points you can accumulate after completing all n tasks.
Constraints:
technique1.length technique2.length
technique1[i], technique2[i]
k