labuladong / basic-challenge

200 stars 22 forks source link

已结束 #328

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

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

allllright commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3747032/js-map-array/
taozhaojun commented 1 year ago

lc380: https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3747441/c-solution-using-vector-and-unordered-map/

Guinguin0416 commented 1 year ago

LC380: https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3747588/java/

goatatop commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3747606/approach-with-hashmap-and-list/
GT-l commented 1 year ago

day10:380. O(1) 时间插入、删除和获取随机元素 https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339028/shi-jian-cha-ru-shan-chu-he-huo-qu-sui-j-b5ju/

lingn commented 1 year ago

380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339036/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-85jt/

jiaowotanxiaozz commented 1 year ago

lc380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339060/ha-xi-biao-by-thx031-k7x2/

sure00 commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3747761/unordered-map-array/
CarryLiao5959 commented 1 year ago

水塘抽样 https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2339150/ha-xi-shu-zu-o1shi-jian-huo-de-jue-dui-s-dxo0/

xyczero commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339277/shu-zu-ti-huan-shan-chu-by-xyczero-cpd2/

TimGuo8 commented 1 year ago

打卡 https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3748056/array-hashmap/

Carol-Zhu commented 1 year ago

day10 打卡 380题:https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339290/day10-chang-shu-shi-jian-huo-qu-sui-ji-s-8sxa/ 710题:https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2339369/dyay10-sui-ji-cha-zhao-by-carol-zhu-t5ov/

Z0eDu commented 1 year ago

打卡710 https://leetcode.com/problems/random-pick-with-blacklist/solutions/3749129/unordered_map-solution/

luyu94 commented 1 year ago
  1. O(1) 时间插入、删除和获取随机元素 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-0lrs/
itscj1014 commented 1 year ago

打卡:https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339864/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-5ttn/

bells0 commented 1 year ago

打卡 https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2339924/o1-shi-jian-cha-ru-shan-chu-he-huo-qu-su-eko1/

RuokeZhang commented 1 year ago

https://leetcode.com/problems/lru-cache/solutions/3749940/doublelist/

chiao666 commented 1 year ago

打卡710题:https://leetcode.cn/problems/random-pick-with-blacklist/solution/hei-ming-dan-ying-she-ban-fa-by-chizhiao-8jdr/

xinlanfeng commented 1 year ago

380 O(1)时间插入、删除和获取随机元素: https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/ti-jie-o1shi-jian-cha-ru-shan-chu-he-huo-n2e1/

Missy0529 commented 1 year ago

打卡 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1-by-missy-m-ggrv/

sdyin commented 1 year ago

lc.380 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-yres/

anrandu75 commented 1 year ago

380 https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2340112/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-bc95/

SmallTom1 commented 1 year ago

Day10打卡

zhikeliang commented 1 year ago

打卡380 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1shi-jian-cha-zhao-shan-chu-cha-ru-by-f-g382/

elaineKuo commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-mei-vampire-ahr6/

wangcong68 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1-shi-jian-cha-ru-shan-chu-he-huo-qu-su-st80/

acmenxin commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/jsshi-xian-by-sj4vrbuluq-0kfg/

zixgit commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2340318/ha-xi-shu-zu-by-zheng-xu-k-cvkx/

ZitongWang1202 commented 1 year ago

380 https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3380711/python3-insert-delete-getrandom-o1/

BigDataTeng commented 1 year ago

Day10打卡 [380. O(1) 时间插入、删除和获取随机元素] https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/shi-xian-sui-ji-ji-he-by-ma-nong-la-la-seal/

SakuragiHnmch commented 1 year ago

380 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1-shi-jian-cha-ru-shan-chu-he-huo-qu-su-1ff5/

liuyuhang599 commented 1 year ago

LC380: https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3752890/c-solution-hash-table-array/

xiaoyu-wen-1118 commented 1 year ago

LC380 https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3752935/python-array-hash-table/

VYang4 commented 1 year ago

380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/hashmap-array-by-violet-yang-si8h/

smartfm123 commented 1 year ago

day10 leetcode 380. O(1) 时间插入、删除和获取随机元素 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-okts/

anqi0103 commented 1 year ago

LeetCode #710: https://leetcode.com/problems/random-pick-with-blacklist/solutions/3753539/java-solution/

YunjiQ commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3753912/java-insert-delete-getrandom-o-1/

Irennnne commented 1 year ago

https://leetcode.cn/problems/random-pick-with-blacklist/solution/hei-ming-dan-sui-ji-shu-by-xiang-cai-5x-cz6m/

qiutiange1205 commented 1 year ago

380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1shi-jian-cha-ru-shan-chu-sui-ji-huo-qu-nxki/

Sadwy commented 1 year ago
  1. 数组+哈希表 https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3754560/topic/
FED4 commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/2763616/c-unordered-map-and-vector-approach/
cfck commented 1 year ago

380:https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380o1shi-jian-cha-ru-shan-chu-he-huo-qu-1g5vt/

lilangpinglee commented 1 year ago

380 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/dong-tai-shu-zu-ha-xi-biao-by-qui2zical-8i17e/

zeefan1555 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-j3u5/

RuokeZhang commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3755424/my-thought/

ybk9216 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2341701/o1-by-ybk9216-rub2/

twhn commented 1 year ago
  1. https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/380-insert-delete-getrandom-in-o1-time-b-p833/
stephannnnnie commented 1 year ago

Day10 https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1shi-jian-cha-ru-shan-chu-he-huo-qu-by-6onj1/

zhangleijlu commented 1 year ago

380随机插入元素https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/cha-ru-shan-chu-he-huo-qu-sui-ji-yuan-su-zfwp/

chacha923 commented 1 year ago

380:https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/golang-slice-map-by-dennis0327-ih5r/