摘要: //Time:(O(log(n))),Space:O(1) //此题为二分查找的变形题目,需要先学会二分查找法 class Solution { public: int binarySearchLast(vector<int>& nums,int target) { int begin=0; int 阅读全文
posted @ 2019-12-31 21:33 repinkply 阅读(4) 评论(0) 推荐(0)