思路 網(wǎng)上一張比較清楚的圖 創(chuàng)建桶。 將元素放入桶狈邑。(桶之間是有序的) 對(duì)桶內(nèi)元素進(jìn)行排序婚惫。 桶的劃分和桶內(nèi)排序都是可以改動(dòng)的封断。盡量使每個(gè)桶的數(shù)...
題目地址 https://leetcode-cn.com/problems/distribute-candies-to-people/[http...
題目地址 https://leetcode-cn.com/problems/maximum-absolute-sum-of-any-subarr...
題目地址 https://leetcode-cn.com/problems/longest-subarray-of-1s-after-delet...
題目地址 https://leetcode-cn.com/problems/fu-za-lian-biao-de-fu-zhi-lcof/[ht...
題目地址 https://leetcode-cn.com/problems/reorder-list/[https://leetcode-cn....
題目地址 https://leetcode-cn.com/problems/daily-temperatures/[https://leetco...
題目地址 https://leetcode-cn.com/problems/maximum-repeating-substring/[https...
題目地址 https://leetcode-cn.com/problems/t9-lcci/[https://leetcode-cn.com/p...