This video is a solution to LeetCode 611, Valid Triangle Number. I explain the question, go over how the logic / theory behind solving the question and finally 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
0:45 Triangle inequality theorem
1:53 Brute force solution code
3:22 O(N^2) solution explained
16:03 O(N^2) solution Python code
Code:
https://leetcode.com/explore/challeng...)
More leetcode questions solved:
• Add and Search Word - Data structure desig...
Nesta página do site você pode assistir ao vídeo on-line Valid Triangle Number | LeetCode 611 | Theory + Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sai Anish Malla 15 July 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,984 vezes e gostou 80 espectadores. Boa visualização!