Partition List | Leetcode 86 | Live Coding session

preview_player
Показать описание

1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 6:15 Coding it up
4) 11:00 TC/SC


PS : Please increase the speed to 1.25X
Рекомендации по теме
Комментарии
Автор

Good solution. I think you can assign it to it.next outside the if, else block inside the while loop, since this will be required to traversal.

pubamx
Автор

I was able to write the code myself after watching the explanation and it was accepted in the first go. I'm really happy with your teaching style.

saurabhmishra
Автор

Amazing solution, I just convert the list into array then performing the operations which is very long method but this solution is very helpful thank

abhishekjain
Автор

What do you mean gIt.next = None at 10:33. I dont see how a cycle is formed.

etherealscaped
visit shbcf.ru