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...
In questa pagina del sito puoi guardare il video online Valid Triangle Number | LeetCode 611 | Theory + Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sai Anish Malla 15 July 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,984 volte e gli è piaciuto 80 spettatori. Buona visione!