[LeetCode]164. 最大間距

桶排序的思想 參考博文web 164. 最大間距svg class Solution { public: int maximumGap(vector<int>& nums) { int tip=nums.size(); if (tip<2) return 0; int minx=1e9; int maxx=-1e9;
相關文章
相關標籤/搜索