labuladong / basic-challenge

200 stars 22 forks source link

已结束 #132

Closed labuladong closed 2 years ago

labuladong commented 2 years ago

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

zixinyin commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408024/Java-Inspired-by-most-vote-answer

RyanChen777 commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408040/Hash-map-%2B-List

MargieMo commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408156/Java

zwllwz commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408257/Python-solution

fateYoung commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408529/Insert-Delete-GetRandom-O(1) https://leetcode.com/problems/random-pick-with-blacklist/discuss/2408559/Random-Pick-with-Blacklist

M3iR0NP4N commented 2 years ago

https://leetcode.com/problems/random-pick-with-blacklist/discuss/2408808/Java

chriswang2010 commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408900/Solution https://leetcode.com/problems/random-pick-with-blacklist/discuss/2409020/Solution

sicp618 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-chen-chao-17-okq0/

yuntian-he commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2408938/Java-map-%2B-list

Xiandong-Peng commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2409085/Java-oror-Random-Selection-oror-Hashmap

deweicai23 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/shu-ju-jie-gou-by-cdwei-9-wbar/

kllw commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-adoring-agnesinsp-zvgb/

xuyaqing commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2409127/c%2B%2B-solution-unordered_map-and-vector

Zumium commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-zumium-4nuk/

SiriusQiu commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o-by-siriusqiu-vo0u/

Nordlichtwzx commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-nordlicht-jn79/

XY2323819551 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-zoe-9w6-undb/

oa1mgo commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-miaojiaxin1995-0shi/

finley08 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/ha-by-finley-3vsy/

lulusir commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-lulusir-iwjj/

one-jia commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-yoiga-ssss/

su1135790481 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/she-ji-shu-ju-jie-gou-by-crazy-ellis5vj-7a0y/

chenluchu commented 2 years ago

https://leetcode.cn/problems/random-pick-with-blacklist/solution/710-h-by-chenluchu-axyw/

Strawberrybrother commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-vigorous-shawby6-h2ob/

Hunte123 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-liao007-uh6h/

chihchunhsu-dev commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2411486/C++-or-Mock-interview-or-Avoid-rand()-or-Use-find()-instead-of-count()

UnlimitedGalaxy commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-xiang-yue-moonlight-gjn1/

chenxiniubi666 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-wo-zhen-de-jiao-chen-xi-ywlk/

zhanghh0369 commented 2 years ago

https://leetcode.cn/problems/FortPu/solution/-by-i6euik99fl-ccfo/

yuanyi0510 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-yuan-yi-t9-2v81/

tti6o commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/shu-zu-ha-xi-biao-by-tti6o-n3wm/

SingleCloud88 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-singlecloud-2-fu1l/

Fairy7777777 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-fairy7777777-qbjx/

Luomoo commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-luomoo-0zpn/

zhangchenwei115 commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-chenwei-vs-t49g/

starwill commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o-by-starwill-s-n0xx/

lushevol commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/-by-lushevol-momf/

BoyuanShao commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2413611/labuladong-day10

hnliu-git commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-teren-3-aorc/

datudou commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2414317/golang-Soulution

CoderKled commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/shu-ju-jie-gou-she-ji-by-coderkled-lv71/

ge75her commented 2 years ago

O(1)删除数据https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/o1-by-fervent-i2idef04-z1ro/

varjakk commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-varjak-mcxn/

lanxun1121 commented 2 years ago

https://leetcode.cn/problems/random-pick-with-blacklist/solution/by-lxun-x72y/

VioletVivI commented 2 years ago

380:https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/by-violet-33-00k2/

ha0min commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2415769/Java

skyekshi commented 2 years ago

https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/2415799/D10

RookieLiao commented 2 years ago

https://leetcode.cn/problems/random-pick-with-blacklist/solution/cha-zhao-by-rookieliao-0h9o/

X-Li-KK commented 2 years ago

O(1) 时间插入、删除和获取随机元素:https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/hash-set-shu-zi-by-modest-davinciihf-i9v2/

python-bruce commented 2 years ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solution/chang-shu-shi-jian-by-xiaocaiji-8-gwil/