摘要: 2020-01-20 22:32:28 问题描述: 问题求解: 双指针 + 贪心。 public int bagOfTokensScore(int[] tokens, int P) { Arrays.sort(tokens); int res = 0; int curr = 0; int l = 0 阅读全文
posted @ 2020-01-20 22:45 hyserendipity 阅读(99) 评论(0) 推荐(0) 编辑