Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
Home
How To Use
Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
Home
Detail
@codetourtiktok: System design challenge #computerscience #software
Chris Flannery / Code Tour
Open In TikTok:
Region: US
Wednesday 26 April 2023 18:55:37 GMT
88810
5860
361
100
Music
Download
No Watermark .mp4 (
5.7MB
)
No Watermark(HD) .mp4 (
4.4MB
)
Watermark .mp4 (
5.96MB
)
Music .mp3
Comments
jacob_gibbons44 :
actually i’d use a dictionary just to mess with the other devs
2023-04-27 18:23:28
257
Matthew Wilson :
Performance isn’t going to matter.
2023-04-26 19:27:44
0
Gabriel Ballon :
Array:, is faster and in a restaurant the simplest fastest answer is the best for delivery speed
2023-04-27 00:57:49
0
Yousef Alowayed :
comma delimited string
2023-04-28 00:18:49
171
nunya business :
linked list bc of orders getting sent back or modifications to orders, it's simpler to perform
2023-04-26 19:43:33
4
kbb1231w :
2 linked lists and a set. First list for all orders. Second priority list for orders sent back and a set to keep track of modified orders.
2023-04-27 13:58:27
100
tintin210122 :
it's almost like a Queue exists for this very purpose.
2023-04-27 22:01:25
49
aguo133 :
I understand that the link list would be more efficient however, in practice, we would need a way to modify orders efficiently in case of
2023-04-26 22:19:37
0
s :
a doubly linked list?
2023-04-27 16:45:45
1
mv :
Linked list. Just pushing to the end and popping from the front (don’t need to access by index), and arrays aren’t resizable
2023-04-27 03:21:24
1
Aaron Russakov :
I would use a Queue funnily enough
2023-04-27 21:25:41
2
Me :
Thats soon just going to be a good prompt than an awesome coding challenge. I am so sad.
2023-04-26 19:20:34
0
crypto_ai :
rmq ??
2023-04-27 22:23:00
0
realmo00 :
Stack collection as its FIFO
2023-04-28 02:08:35
0
davidani :
I’m only a student but I would use the linked list because random access isn’t technically needed whereas when orders are completed they are removed
2023-04-29 02:43:16
0
Kindragonrc :
Depends on the language. Js? A set to keep the orders in order. Python? A dict with autoincrement keys.
2023-04-27 02:48:39
1
Crankypeacock :
I’d use sqs fifo
2023-04-27 21:39:13
1
Emilie :
Access the list thru the DOM and use .push() and .shift() (I’m in bootcamp rn and still learning)
2023-05-16 00:02:21
1
Jennyfer Packis :
use queue 😅
2023-04-27 17:15:23
2
milkfreelactose :
a full fledged database, because performance doesn't matter, but you'd want to keep an archive of all the orders and a way to search and filterthrough
2023-04-28 16:41:06
0
Jexan8k :
i will use powerpoint slides
2023-04-29 22:48:54
0
857838485893 :
store in dB, then select order by time frame in order?
2023-04-28 18:51:16
2
Cyberdude813 :
Array for sure. Modified orders should be minimal or can a part of a secondsry array to keep the orders moving
2023-04-27 06:19:17
0
V O İ D :
Chris Flannery! Brother how on earth would I know
2023-04-27 10:43:47
0
bluesdave11 :
I would build an excel spreadsheet and use a VB Macro to add/edit/select entries , 1990’s style.
2023-04-27 23:02:26
18
To see more videos from user @codetourtiktok, please go to the Tikwm homepage.
Other Videos
sembro pelata,non la so la canzone
freè week of my workout program shared in b!0 #strengthtrainingforwomen #bodyrecomposition #hourglassfigure #motivationforwomen #gymgirlmotivation #backworkoutforwomen #workoutplan
2-2-2 hourglass program in my b!0🔗✨ #gymmotivation #workoutsforwomen #strengthtrainingforwomen #musclegain #workoutsforfatloss #workoutroutine #hourglassworkout #gymroutine #backworkoutsforgirls #upperbodyworkoutsforwomen #backworkout
Alan Ampudia 🇲🇽 #terracrew #prerunner #offroad #sxs #mx #4wd #2wd #trophytruck // #foryou #fyp #foryourpage
@lukie_dude going hard // #terracrew #prerunner #offroad #trophytruck
About
Robot
Legal
Privacy Policy