This video is a solution to LeetCode 1046, Last Stone Weight. I explain the question, go over the logic / theory behind solving the question and then solve it using Python.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Time stamps:
0:00 Question explained
2:54 Heap explained
5:39 Solution explained + Python code
Leetcode Data Structure I playlist:
• LeetCode Data Structures I
More leetcode questions solved:
• Add and Search Word - Data structure ...
Nesta página do site você pode assistir ao vídeo on-line Last Stone Weight | LeetCode 1046 | Theory + Python code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sai Anish Malla 12 Novembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 273 vezes e gostou 6 espectadores. Boa visualização!