Bro went through the list 11 times when it can be done with 1 💀
2024-02-27 21:32:47
7
罗曼 :
why not scan in parallel and sum up
2024-02-26 03:48:00
3
Liav Barsheshet :
theres a better way involving iterate both x and y calc the sum and carry and push to result list while saving ref for the last inserted item
2024-02-26 21:55:01
8
ForgotMyTowel :
Just out of curiosity, how long would they expect you to take answering this question?
2024-02-27 08:49:01
1
ItsMeDio :
bro iterate over the two LinkedLists add the sum to a new linked list, and make sure to keep a flag for overflow to add to next addition until one
2024-02-28 21:32:52
2
Savreel 🖤 :
I love ur vids historywizard
2024-02-26 03:11:19
0
The linux fox🌸 :
better solution
traverse the linked list
each digit you come across multiply it. by 10^n. and add
so
you have (2*10^0)+(5*10^0) add them leads u with 7
(2*10^0)+(5*10^0) = 7
(4*10^1+6*10^2) = 100 +7 = 107
3*10^2+4*10^2=700 + 107= 807.
and 807 is the answer.
2025-07-21 18:43:46
0
mr.ping :
Do not follow this solution. You will fail at interviews definitely.
2024-02-26 16:17:20
6
ray :
Typical requirement for this problem is to do it in place.
2024-02-26 03:16:57
25
Brady Giacopelli :
such a poor solution
2024-02-26 04:20:31
25
yallajoke :
This is awful
2024-02-26 07:42:12
10
citharaaeternitaris :
You literally wrote more code to do more work in a less readable fashion for the exercise. I would hope to coach a candidate away from this solution.
2024-02-26 04:08:53
10
Notmymemes420 :
Bro unironically reversed and summed
2024-02-27 03:30:27
7
StephenScript :
The space complexity is what makes this question interesting and it's absolutely going to be what these companies are looking for you to optimize.
2024-02-26 07:36:15
6
P0rnonyashka :
I think the logic is to do it without using integrated math
2024-02-26 11:49:11
1
X :
leetcode brainrot
2024-02-27 00:29:19
0
CodeToCompass :
please explain the time and space complexity of this solution
2024-05-13 12:37:56
0
To see more videos from user @greghogg5, please go to the Tikwm
homepage.