labuladong / basic-challenge

200 stars 22 forks source link

已结束 #324

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

本期打卡已结算完成。报名最新一期的打卡活动 点这里

xyczero commented 1 year ago

https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2333872/er-fen-sou-suo-suan-fa-by-xyczero-j4fv/

chacha923 commented 1 year ago

704:https://leetcode.cn/problems/binary-search/solution/yuan-di-zhi-jie-bian-li-by-dennis0327-38sd/

allllright commented 1 year ago

Day06

  1. Binary Search https://leetcode.com/problems/binary-search/solutions/3728334/binary-search/

  2. Find First and Last Position of Element in Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3729112/binary-search-to-find-the-left-index/

Janicecy commented 1 year ago

https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3729194/typescript-binary-search-left-right-bound/

liuyuhang599 commented 1 year ago

LC34: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3729368/c-binary-serach-using-closed-interval/

adelejychen commented 1 year ago

LC704https://leetcode.com/problems/binary-search/solutions/3729444/bianry-search/

taozhaojun commented 1 year ago

lc 34: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3729503/java-solution-using-binary-search/

GT-l commented 1 year ago

day06:34. 在排序数组中查找元素的第一个和最后一个位置 https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2334016/er-fen-cha-zhao-zhao-dao-mu-biao-zui-zuo-tzo3/

jiaowotanxiaozz commented 1 year ago

lc704: https://leetcode.cn/problems/binary-search/solutions/2334009/er-fen-by-thx031-dtgt/ lc34: https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2334023/er-fen-by-thx031-2d8a/

bells0 commented 1 year ago

打卡 day06:

  1. 在排序数组中查找元素的第一个和最后一个位置

https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2334047/er-fen-fa-cha-zhao-by-wonderbell-wvj3/

smartfm123 commented 1 year ago

Day06

  1. 二分搜索 https://leetcode.cn/problems/binary-search/solution/704-er-fen-cha-zhao-by-turtlebot-qxtv/
SakuragiHnmch commented 1 year ago

704 https://leetcode.cn/problems/binary-search/solution/er-fen-cha-zhao-by-sakuragihnmch-5dgo/

CarryLiao5959 commented 1 year ago

二分查找左右边界,注意nums[mid]==target时的操作 https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2334113/er-fen-zhao-zuo-you-bian-jie-by-carry-vv-7n9k/

chiao666 commented 1 year ago

打卡34. 在排序数组中查找元素的第一个和最后一个位置https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solution/fen-bie-xie-yi-ge-xun-zhao-zuo-bian-jie-svho4/

xiaoyu-wen-1118 commented 1 year ago

打卡Day6

  1. Find First and Last Position of Element in Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3730060/binary-search-python/
HeadmasterEggy commented 1 year ago

https://leetcode.cn/problems/binary-search/solutions/2334312/er-fen-cha-zhao-by-headmastereggy-47jg/ https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof/solutions/2334371/jian-zhi-offer-53-i-zai-pai-xu-shu-zu-zh-vxn9/

Sadwy commented 1 year ago

704.标准二分查找 https://leetcode.com/problems/binary-search/solutions/3730594/topic/ 704.递归二分搜索 https://leetcode.com/problems/binary-search/solutions/3731810/topic/

anqi0103 commented 1 year ago

LeetCode #34: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3730612/java-solution-beats-100-o-logn/

goatatop commented 1 year ago
  1. Find Peak Element https://leetcode.com/problems/find-peak-element/solutions/3730752/approach-with-binary-search/
TimGuo8 commented 1 year ago

打卡 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3730771/search-left-bound-and-right-bound-java/

KaoNiJun commented 1 year ago

34 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3731080/july-daily-challenge-day-06-first-and-last-position-of-element-in-sorted-array/

xinlanfeng commented 1 year ago

704 二分查找:https://leetcode.cn/problems/binary-search/solution/ti-jie-er-fen-cha-zhao-by-xinlanfeng-w74l/

BigDataTeng commented 1 year ago

打卡Day [704. 二分查找]:https://leetcode.cn/problems/binary-search/solution/er-fen-cha-zhao-by-ma-nong-la-la-64ep/

Carol-Zhu commented 1 year ago

Day 06 打卡 704题:https://leetcode.cn/problems/binary-search/solutions/2334823/day06-er-fen-fa-by-carol-zhu-fco3/

anrandu75 commented 1 year ago

34在排序数组中查找元素的第一个和最后一个位置 https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2334904/34zai-pai-xu-shu-zu-zhong-cha-zhao-yuan-v3a7x/

Jilingwei commented 1 year ago

704:https://leetcode.cn/problems/binary-search/solutions/2334188/jing-dian-er-fen-cha-zhao-by-ji-ling-wei-zphq/

H-lzu commented 1 year ago

打卡: LC:704:https://leetcode.cn/problems/binary-search/solution/da-qia-by-nmemf8ll2c-au58/

Missy0529 commented 1 year ago

打卡 https://leetcode.cn/problems/binary-search/solution/er-fen-cha-zhao-by-missy-m-el7h/

zhikeliang commented 1 year ago

704打卡 https://leetcode.cn/problems/binary-search/solution/er-fen-cha-zhao-by-friendly-easley-bji6/

FED4 commented 1 year ago
  1. Find First and Last Position of Element in Sorted Array https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2749514/c-double-binary-search/
lingn commented 1 year ago

34: https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/2335063/34-zai-pai-xu-shu-zu-zhong-cha-zhao-yuan-8mpd/

SmallTom1 commented 1 year ago

Day6打卡

Air-skipper commented 1 year ago

https://leetcode.cn/problems/binary-search/solution/er-fen-sou-suo-by-air-skipper-q7jh/

zixgit commented 1 year ago

https://leetcode.cn/problems/binary-search/solutions/2335123/er-fen-cha-zhao-by-zheng-xu-k-ohzc/

QianqianYu7382 commented 1 year ago

LC704:https://leetcode.com/problems/binary-search/solutions/3734076/java/

sdyin commented 1 year ago
  1. 在排序数组中查找元素的第一个和最后一个位置 https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solution/34pai-xu-shu-zu-di-yi-he-zui-hou-yi-ge-w-7rgk/
VYang4 commented 1 year ago

704: https://leetcode.cn/problems/binary-search/solution/bst-details-by-violet-yang-jrdj/

Guinguin0416 commented 1 year ago

LC34: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3734444/java/

stephannnnnie commented 1 year ago

Day6 https://leetcode.cn/problems/binary-search/solution/vanillaer-fen-cha-zhao-by-stephannnnnie-q2gg/

sure00 commented 1 year ago

Day 06

  1. Binary Search https://leetcode.com/problems/binary-search/solutions/3734851/binary-search/
acmenxin commented 1 year ago

704: https://leetcode.cn/problems/binary-search/solution/jser-fen-cha-zhao-by-sj4vrbuluq-fedx/

ybk9216 commented 1 year ago

https://leetcode.cn/problems/binary-search/solutions/2335653/er-fen-sou-suo-by-ybk9216-uloq/

Irennnne commented 1 year ago

https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solution/er-fen-cha-zhao-by-xiang-cai-5x-ksj7/

ZitongWang1202 commented 1 year ago

34 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3363646/python3-binary-search/

twhn commented 1 year ago
  1. find-first-and-last-position-of-element-in-sorted-array https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/solution/34-zai-pai-xu-shu-zu-zhong-cha-zhao-yuan-ha1v/
cfck commented 1 year ago

704: https://leetcode.cn/problems/binary-search/solution/704er-fen-cha-zhao-by-leniu-grvl/

itscj1014 commented 1 year ago

打卡:https://leetcode.cn/problems/binary-search/solutions/2336209/704-er-fen-cha-zhao-by-vanshu-xo4v/

RuokeZhang commented 1 year ago

https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3736914/binary-search/

wangcong68 commented 1 year ago

704:https://leetcode.cn/problems/binary-search/solution/er-fen-cha-zhao-by-gavin-144-ezwp/

SkylerSong-dev commented 1 year ago

LC 34 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/solutions/3736985/find-first-and-last-position-of-element-in-sorted-array/