- 126
- 1 285 498
Inside code
Algeria
เข้าร่วมเมื่อ 3 ก.ค. 2019
Your algorithms and data structure content provider
How to solve the 2-SAT problem in POLYNOMIAL TIME?
🔴 Learn graph theory algorithms: inscod.com/graphalgo
⚙ Learn dynamic programming: inscod.com/dp_course
💡 Learn to solve popular coding interview problems: inscod.com/50problems_course
⌛ Learn time and space complexity analysis: inscod.com/complexity_course
🔁 Learn recursion: inscod.com/recursion_course
NB: This video is ad-free, you can choose to support Inside code by purchasing one of the courses above or dropping a super thanks!
NB2: Discounts of courses above are permanent
I also post content on LinkedIn (inscod.com/linkedin) and Instagram (inscod.com/instagram)
⚙ Learn dynamic programming: inscod.com/dp_course
💡 Learn to solve popular coding interview problems: inscod.com/50problems_course
⌛ Learn time and space complexity analysis: inscod.com/complexity_course
🔁 Learn recursion: inscod.com/recursion_course
NB: This video is ad-free, you can choose to support Inside code by purchasing one of the courses above or dropping a super thanks!
NB2: Discounts of courses above are permanent
I also post content on LinkedIn (inscod.com/linkedin) and Instagram (inscod.com/instagram)
มุมมอง: 7 008
วีดีโอ
How to count paths in a graph with MATRIX MULTIPLICATION
มุมมอง 3K8 หลายเดือนก่อน
🔴 Learn graph theory algorithms: inscod.com/graphalgo ⚙ Learn dynamic programming: inscod.com/dp_course 💡 Learn to solve popular coding interview problems: inscod.com/50problems_course ⌛ Learn time and space complexity analysis: inscod.com/complexity_course 🔁 Learn recursion: inscod.com/recursion_course NB: This video is ad-free, you can choose to support Inside code by purchasing one of the co...
These 3 problems are in reality the SAME problem. How?
มุมมอง 1.5K9 หลายเดือนก่อน
🔴 Learn graph theory algorithms: inscod.com/graphalgo ⚙ Learn dynamic programming: inscod.com/dp_course 💡 Learn to solve popular coding interview problems: inscod.com/50problems_course ⌛ Learn time and space complexity analysis: inscod.com/complexity_course 🔁 Learn recursion: inscod.com/recursion_course NB: This video is ad-free, you can choose to support Inside code by purchasing one of the co...
Kőnig's theorem (proof and example) #SoME3
มุมมอง 6K9 หลายเดือนก่อน
In this video, which is my participation to the #SoME3 contest, we introduce the Kőnig's theorem, prove it, then apply it to solve a coding problem The proof explained can be found in Diestel's Graph Theory book: diestel-graph-theory.com/Sample.pdf The coding problem we solve in the video: leetcode.com/problems/maximum-students-taking-exam/ To learn more about graph theory algorithms: inscod.co...
How to find fixed-radius neighbors of a point? - Inside code
มุมมอง 2.4K9 หลายเดือนก่อน
🔴 Learn graph theory algorithms: inscod.com/graphalgo ⚙ Learn dynamic programming: inscod.com/dp_course 💡 Learn to solve popular coding interview problems: inscod.com/50problems_course ⌛ Learn time and space complexity analysis: inscod.com/complexity_course 🔁 Learn recursion: inscod.com/recursion_course NB: This video is ad-free, you can choose to support Inside code by purchasing one of the co...
Graph theory algorithms visualized course! - Inside code
มุมมอง 1.2K10 หลายเดือนก่อน
Find the course at: inscod.com/graph You can ask me in comments any question about the course to know more about it before enrolling, I'll be glad to answer!
How to find the kth largest element in an array? (LeetCode .215) - Inside code
มุมมอง 7Kปีที่แล้ว
How to find the kth largest element in an array? (LeetCode .215) - Inside code
Checking if a point is inside a polygon is RIDICULOUSLY simple (Ray casting algorithm) - Inside code
มุมมอง 24Kปีที่แล้ว
Checking if a point is inside a polygon is RIDICULOUSLY simple (Ray casting algorithm) - Inside code
Is this tree symmetric? (Symmetric tree problem - LeetCode .101) - Inside code
มุมมอง 1.2Kปีที่แล้ว
Is this tree symmetric? (Symmetric tree problem - LeetCode .101) - Inside code
First and last position problem (binary search) | LeetCode .34 - Inside code
มุมมอง 1.4Kปีที่แล้ว
First and last position problem (binary search) | LeetCode .34 - Inside code
Spiral matrix problem (Leetcode 54.) - Inside code
มุมมอง 1.6Kปีที่แล้ว
Spiral matrix problem (Leetcode 54.) - Inside code
We make the SNAKE GAME on an IMAGE - Inside code
มุมมอง 1.9Kปีที่แล้ว
We make the SNAKE GAME on an IMAGE - Inside code
Let's apply flood fill algorithm to solve the Capture surrounded regions problem (LeetCode 130)
มุมมอง 1.2Kปีที่แล้ว
Let's apply flood fill algorithm to solve the Capture surrounded regions problem (LeetCode 130)
How does the SET data structure really work?
มุมมอง 4.4Kปีที่แล้ว
How does the SET data structure really work?
We use the disjoint-set structure to detect a winner in Hex game
มุมมอง 2.7Kปีที่แล้ว
We use the disjoint-set structure to detect a winner in Hex game
Grouping elements in no time with the disjoint-set data structure (Union-Find) - Inside code
มุมมอง 2.9Kปีที่แล้ว
Grouping elements in no time with the disjoint-set data structure (Union-Find) - Inside code
Hashing and hash tables crash course (+ face reveal) - Inside code
มุมมอง 5Kปีที่แล้ว
Hashing and hash tables crash course ( face reveal) - Inside code
Minimum genetic mutation problem (LeetCode 433.) - Inside code
มุมมอง 7Kปีที่แล้ว
Minimum genetic mutation problem (LeetCode 433.) - Inside code
Shopping offers problem (LeetCode 638.) - Inside code
มุมมอง 3.9Kปีที่แล้ว
Shopping offers problem (LeetCode 638.) - Inside code
RANDOM numbers can approximate pi? - Inside code
มุมมอง 3.8Kปีที่แล้ว
RANDOM numbers can approximate pi? - Inside code
A triangle made of copies of itself? (Sierpinski triangle) - Inside code
มุมมอง 5Kปีที่แล้ว
A triangle made of copies of itself? (Sierpinski triangle) - Inside code
Max points on a line problem (LeetCode #149) - Inside code
มุมมอง 7K2 ปีที่แล้ว
Max points on a line problem (LeetCode #149) - Inside code
Longest substring without repeating characters (LeetCode #3) - Inside code
มุมมอง 2.3K2 ปีที่แล้ว
Longest substring without repeating characters (LeetCode #3) - Inside code
Restore IP addresses problem (LeetCode #93) - Inside code
มุมมอง 4.8K2 ปีที่แล้ว
Restore IP addresses problem (LeetCode #93) - Inside code
Let's make a sudoku solver in 5 minutes (Backtracking) - Inside code
มุมมอง 42K2 ปีที่แล้ว
Let's make a sudoku solver in 5 minutes (Backtracking) - Inside code
N-queens problem (Backtracking) - Inside code
มุมมอง 6K2 ปีที่แล้ว
N-queens problem (Backtracking) - Inside code
Algorithms project: Word search solver - Inside code
มุมมอง 12K2 ปีที่แล้ว
Algorithms project: Word search solver - Inside code
Unbounded knapsack problem - Inside code
มุมมอง 8K2 ปีที่แล้ว
Unbounded knapsack problem - Inside code
Hey. Could you please explain how to calculate the time complexity?
Giving the mathematical explanation for getting the entry point of cycle was the best part !
Crazy explanation 🔥😎
Amazing video
4 -> 6 -> 2 -> 7 -> 1 -> 3 -> 8 -> 5 -> 9 --- ^ | |___________________________| i hope the alignment is right but if not then basically 9 just points to 2 here. why is this not the graph at 9:15?
How did you make videos like this? This is very informative and is great for visualising algorithms while also explaining the coding for it.
Very good stuff, thanks for the compiling this video.
Thank you so much, been looking for ways to make my multiplication more efficient
Hello from Russia I am a first-year student at the university and we were asked to implement this method. I searched the entire Internet, but I could not understand this algorithm and how to implement it until I came across you. Such a clear and good explanation. Thank you very much!!
The math formula is straightforward but still, i'm like HOW DOES THEY JUST MEET when we do that starting point reset!
I found myself spending days on this - it feels so disappointing! Is this normal?? I got to try solve it(did not finish) in a longer approach too, probably inefficient - i feel defeated! I did not use backtracking. I seem to get confused with recursion every time despite having lots of experience! Is this normal? Is it possible to come up with this solution from the get go in 5 minutes if one has never done it before? Thank you for sharing this video - it's been very well explained - + 1 like and subscribe.
Thanks a lot 😊
Does this work for bodies in 3D space?
My dear you tuber , First solve sudoku in paper and tell about algorithm for program THE ALGORITHM WILL NOT WORK #error
Nice content, dropping a like right now
here is a node solution for the exercise at the end of the video: import { strictEqual } from "assert"; const vowels = new Map([ ["a", "a"], ["e", "e"], ["i", "i"], ["o", "o"], ["u", "u"], ]); const isVowel = (v: string) => vowels.has(v); const countVowels = (string: string, span = 5) => { let vowelsCount = 0; let maxVowels = 0; for (let i = 0; i < string.length; i++) { if (i - span - 1 > -1) { if (isVowel(string[i - span - 1])) { vowelsCount--; } } if (isVowel(string[i])) { vowelsCount++; } if (vowelsCount > maxVowels) { maxVowels = vowelsCount; } } return maxVowels; }; const input = "bacacbefaobeacfe"; strictEqual( countVowels(input), 4, "The expected ammount of vowels was 4, got " + countVowels(input) );
5:18 video was in full screen and i was thinking my laptop crashed...
perfect, sooo good. the best one i found. keep posting videos bro. ur are doing great !!!!!!
Thank you so much, this is a brilliant explanation
you are genius <3
awesome video!
Nice man 👍 Thank u bro ♥️
Exactly what I was looking for Thanks !
Amazing way of presenting… it’s awesome
excellent presentation thank you
thanks
Thanks
Thanks
thanks
Thanks
Thanks
By far the best video about Heap-sort algorithm. Thank you!
PayPal link for paying back for this amazing explanation?
Thanks
Well explained! Thanks!
Thanks
Thanks
Thanks
thanks
Thanks
Thanks
Thanks
Thanks
Thanks
Woah that was some good visualization!
Just the best idea to approach binary 🌲 questions
I finally got it! I kept making the 1+1+1=01 instead of 11
Awesome explanation!!
I may be wrong, but if we only care about the root of the element's set, why don't we just find the root of element x when uniting, and set it to the root of element y? That would make the find() method's time complexity O(1).
You need to find the root of both sets. In your example, finding root of x and setting root y to root x would not be enough. How then would we know that other elements that were in set y are also now in set x? When unioning two sets, all elements in both sets are joined.
Nice work, thank you!