Ruby solution: Map to pairs, sort pairs array, map to element, slice first k elements. user9697N. Jul LeetCoding Challenge.
確定! 回上一頁