You are viewing a single comment's thread. Return to all comments →
kotlin: A.sort() B.sortDescending() return if ((A.indices).none { A[it] + B[it] < k }) "YES" else "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Permuting Two Arrays
You are viewing a single comment's thread. Return to all comments →
kotlin: A.sort() B.sortDescending() return if ((A.indices).none { A[it] + B[it] < k }) "YES" else "NO"