labuladong / basic-challenge

200 stars 22 forks source link

已结束 #353

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

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

GodisinHisHeaven commented 1 year ago

https://leetcode.com/problems/random-pick-with-blacklist/solutions/3887994/python3-solution/

zexianw12 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381138/ha-xi-biao-yu-listxiang-jie-he-by-vvenan-e9oy/

dh0072 commented 1 year ago

Q380. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/discuss/3888279/Java-ArrayList-Solution

Bamoon622 commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3888149/using-hashmap-and-arraylist/

Reset0808 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381184/o1shi-jian-fu-za-du-tian-jia-shan-chu-hu-v2g4/

Susan19996 commented 1 year ago

https://leetcode.com/problems/random-pick-with-blacklist/solutions/3888350/java-solution/

chen-huanxin commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381436/cppha-xi-biao-shu-zu-0810-380-o1-shi-jia-nvjl/

jojoss commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3888558/hashmap-and-arraylist/

macksonyli21826 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381577/problem-380-o1-shi-jian-cha-ru-shan-chu-bos77/ // 今天这道题力扣没法辨别时间复杂度,用indexOf()写O(n)的算法也能过,算是力扣的一个bug哈哈

Chao200 commented 1 year ago

380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381562/solution380-o1-shi-jian-cha-ru-shan-chu-q0iwd/

710: https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2381591/solution710-hei-ming-dan-zhong-de-sui-ji-xwi6/

6520874 commented 1 year ago

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

Xiaolin8991 commented 1 year ago

https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2381717/python3-by-xiao-lin-mz-9tqp/

Adrian0999 commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3889436/hasharray/

KenanHuang commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381868/shi-yong-shu-zu-he-ha-xi-biao-wan-cheng-jewop/ https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2382224/xi-jie-bu-shao-de-yi-dao-ti-a-by-kenanhu-dagk/

AlanKang98 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381910/shi-yong-hashmapji-lu-mei-ge-yuan-su-dui-1br8/

ghost commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2381914/ha-xi-shu-zu-by-alan-aa-3t5x/

javaSnacks commented 1 year ago

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

hxingjie commented 1 year ago

380.https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382250/o1-shi-jian-cha-ru-shan-chu-he-huo-qu-su-lypt/

ConnieLuksc commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3890361/solve-getrandom-o-1-in-python/

wangyin717 commented 1 year ago
  1. O(1) 时间插入、删除和获取随机元素 https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382252/380-o1-shi-jian-cha-ru-shan-chu-he-huo-q-12ed/
Catboss1999 commented 1 year ago

710. https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2382333/ha-xi-shu-zu-de-di-er-chong-ying-yong-by-tjnf/ 380: https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382286/ha-xi-shu-zu-jing-dian-ti-mu-by-cat-boss-57gt/

guabigwind commented 1 year ago

时间插入、删除和获取随机元素: https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382365/shi-jian-cha-ru-shan-chu-he-huo-qu-sui-j-irpl/

Jingzhenzxz commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382381/li-yong-hashmapcun-chu-zhi-yu-suo-yin-zh-fm9j/

skyc26 commented 1 year ago

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

ImmersiveAngela commented 1 year ago

710. 黑名单中的随机数 https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2382560/710-hei-ming-dan-zhong-de-sui-ji-shu-by-netg9/

EthanZhaoPM commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3891120/lc/

KarlZhu-SE commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3891385/list-dict/

lilangpinglee commented 1 year ago

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

LexieZhou commented 1 year ago

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

yayideng commented 1 year ago

https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2382719/shu-zu-hashbiao-by-7aughing-i3habhasyh-i5le/

Cathy830 commented 1 year ago

https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3892632/insert-delete-getrandom-in-java/

ShaodongGu commented 1 year ago

Q380: https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3892721/hashmap-list/

guaZong commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2382841/o1cha-ru-shan-chu-huo-qu-sui-ji-yuan-su-ce2i3/

txhj1996 commented 1 year ago

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

PINKDDDD commented 1 year ago

https://leetcode.com/problems/random-pick-with-blacklist/solutions/3892956/random-pick-with-blacklist/

wusidong commented 1 year ago

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

sdyin commented 1 year ago
  1. https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2383368/710hei-ming-dan-zhong-de-sui-ji-shu-by-s-c83j/
PINKDDDD commented 1 year ago

https://leetcode.com/problems/random-pick-with-blacklist/solutions/3892956/random-pick-with-blacklist/

sukhfskehwefisfsenkfn commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2383825/jie-jue-fang-fa-by-bao-tu-6-fhp3/

Abbyyuan01 commented 1 year ago

https://leetcode.cn/problems/insert-delete-getrandom-o1/solutions/2383874/ha-xi-by-abbyyuan01-hkow/

Sadwy commented 1 year ago

LC380. https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3894976/topic/

uhu-11 commented 1 year ago

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

jiuxi521 commented 1 year ago

https://leetcode.cn/problems/random-pick-with-blacklist/solutions/2384022/hashmapde-cha-zhao-xiao-lu-gao-yu-arrayl-lube/

SuperChaoChao666 commented 1 year ago

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

azDev120 commented 1 year ago

380: https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3895590/java-solution-with-hashmap-and-arraylist/

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

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

EthanZhaoPM commented 1 year ago

https://leetcode.com/problems/random-pick-with-blacklist/solutions/3897005/lc/

vanessacz commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3898282/java-solution-using-arraylist-and-hashmap/
aucker commented 1 year ago
  1. Insert Delete GetRandom O(1) https://leetcode.com/problems/insert-delete-getrandom-o1/solutions/3899469/insert-delete-getrandom-with-hashtable/