摘要: Given an array of positive integers arr (not necessarily distinct), return the lexicographically largest permutation that is smaller than arr, that ca 阅读全文
posted @ 2021-08-16 22:55 CNoodle 阅读(41) 评论(0) 推荐(0) 编辑
摘要: You are given a 0-indexed integer array piles, where piles[i] represents the number of stones in the ith pile, and an integer k. You should apply the 阅读全文
posted @ 2021-08-16 02:44 CNoodle 阅读(317) 评论(0) 推荐(0) 编辑