Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
API
Home
How To Use
Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
Home
Detail
@greghogg5: Merry Christmas - This Function is Big O(n).
Greg Hogg
Open In TikTok:
Region: CA
Monday 25 December 2023 13:00:00 GMT
8519
408
13
6
Music
Download
No Watermark .mp4 (
3.13MB
)
No Watermark(HD) .mp4 (
3.01MB
)
Watermark .mp4 (
3.92MB
)
Music .mp3
Comments
user3738392827383 :
I know it’s not about solving it, but can’t you do this len(set(nums)) != len(nums)
2023-12-25 13:40:14
6
O(n^n) :
You could just use a hashmap since accessing a hashmap is O(1) if you did map[num] +=1 and then if map[num] > 1 return true you would have O(n)
2023-12-25 16:32:54
0
George Panaiotov :
num in h is O(n) also, so it still is O(n²)
2023-12-25 13:15:55
2
Jon :
👍
2023-12-25 20:43:14
0
Greg Hogg :
I offer 1 on 1 tutoring for Data Structures & Algorithms! Email me at
[email protected]
- first call is free!
2024-01-04 20:06:15
0
Ѵ🌀ID :
why are u not using the greenscreen thats already there...
2023-12-25 16:41:15
0
Jerry :
as a Christmas gift, could you be my mentor in this complicated Tech Journey 😁
2023-12-25 14:49:31
0
To see more videos from user @greghogg5, please go to the Tikwm homepage.
Other Videos
ทำบุญไหว้พระ🙏🏻❤️ #วัดเขาดินบางปะกง #วันเข้าพรรษา #วันอาสาฬหบูชา #อมตะนครชลบุรี🌈💜 #คลิปนี้ต้องฟีด @Kongkiad Lapmak @Kongkiad Lapmak @Kongkiad Lapmak
What are your favorite braai sides? I love a good potato salad, chakalaka and a green salad👌🏽😋 #braai #foodblogger #Foodie #mpumalanga #fyp #explorepage #salad #southafrica #explore #foodtiktok #potatosalad #chakalaka #charcuterieboard #hosting #friendship
#fyp #xybca #foryou
“رہنما وہ نہیں جو حالات کے ساتھ بدل جائے، رہنما وہ ہے جو مشکل وقت میں بھی اپنے نظریے پر ثابت قدم رہے۔ عمران خان لاکھوں دلوں کی امید اور ایک نظریے کا نام ہے۔” 🇵🇰 #ImranKhan #PakistanTehreekeInsaf #ReleaseImranKhan #PTI #ImranKhanPTI
About
Robot
API
Legal
Privacy Policy