Inside code
Inside code
  • 126
  • 1 285 498
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)
มุมมอง: 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
Rabin-Karp algorithm - Inside code
มุมมอง 8Kปีที่แล้ว
Rabin-Karp algorithm - 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
Sliding window technique - Inside code
มุมมอง 37K2 ปีที่แล้ว
Sliding window technique - 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

ความคิดเห็น

  • @ishajindal7862
    @ishajindal7862 9 ชั่วโมงที่ผ่านมา

    Hey. Could you please explain how to calculate the time complexity?

  • @vocipy2068
    @vocipy2068 19 ชั่วโมงที่ผ่านมา

    Giving the mathematical explanation for getting the entry point of cycle was the best part !

  • @R_SinghRajput
    @R_SinghRajput วันที่ผ่านมา

    Crazy explanation 🔥😎

  • @spiritgaming6499
    @spiritgaming6499 วันที่ผ่านมา

    Amazing video

  • @nanon1004
    @nanon1004 4 วันที่ผ่านมา

    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?

  • @anhduc0913
    @anhduc0913 5 วันที่ผ่านมา

    How did you make videos like this? This is very informative and is great for visualising algorithms while also explaining the coding for it.

  • @chandrashekharmuradnar5681
    @chandrashekharmuradnar5681 7 วันที่ผ่านมา

    Very good stuff, thanks for the compiling this video.

  • @polishane8837
    @polishane8837 10 วันที่ผ่านมา

    Thank you so much, been looking for ways to make my multiplication more efficient

  • @w1thluv
    @w1thluv 10 วันที่ผ่านมา

    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!!

  • @grindinglcmeow
    @grindinglcmeow 11 วันที่ผ่านมา

    The math formula is straightforward but still, i'm like HOW DOES THEY JUST MEET when we do that starting point reset!

  • @duncancamilleri8614
    @duncancamilleri8614 12 วันที่ผ่านมา

    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.

  • @mojiside
    @mojiside 12 วันที่ผ่านมา

    Thanks a lot 😊

  • @aakashs1806
    @aakashs1806 13 วันที่ผ่านมา

    Does this work for bodies in 3D space?

  • @2casandeepsaran388
    @2casandeepsaran388 14 วันที่ผ่านมา

    My dear you tuber , First solve sudoku in paper and tell about algorithm for program THE ALGORITHM WILL NOT WORK #error

  • @rodrigoelias1987
    @rodrigoelias1987 14 วันที่ผ่านมา

    Nice content, dropping a like right now

  • @rodrigoelias1987
    @rodrigoelias1987 14 วันที่ผ่านมา

    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) );

  • @fluorite
    @fluorite 14 วันที่ผ่านมา

    5:18 video was in full screen and i was thinking my laptop crashed...

  • @ort.school
    @ort.school 17 วันที่ผ่านมา

    perfect, sooo good. the best one i found. keep posting videos bro. ur are doing great !!!!!!

  • @tommyp713
    @tommyp713 19 วันที่ผ่านมา

    Thank you so much, this is a brilliant explanation

  • @hammadhassan9014
    @hammadhassan9014 20 วันที่ผ่านมา

    you are genius <3

  • @arsh2544
    @arsh2544 21 วันที่ผ่านมา

    awesome video!

  • @callmeitsh
    @callmeitsh 22 วันที่ผ่านมา

    Nice man 👍 Thank u bro ♥️

  • @antoine2571
    @antoine2571 23 วันที่ผ่านมา

    Exactly what I was looking for Thanks !

  • @auntyBill
    @auntyBill 25 วันที่ผ่านมา

    Amazing way of presenting… it’s awesome

  • @rsKayiira
    @rsKayiira 26 วันที่ผ่านมา

    excellent presentation thank you

  • @subee128
    @subee128 27 วันที่ผ่านมา

    thanks

  • @subee128
    @subee128 27 วันที่ผ่านมา

    Thanks

  • @subee128
    @subee128 27 วันที่ผ่านมา

    Thanks

  • @subee128
    @subee128 28 วันที่ผ่านมา

    thanks

  • @subee128
    @subee128 28 วันที่ผ่านมา

    Thanks

  • @subee128
    @subee128 28 วันที่ผ่านมา

    Thanks

  • @shyngysbek6907
    @shyngysbek6907 28 วันที่ผ่านมา

    By far the best video about Heap-sort algorithm. Thank you!

  • @ahadali3908
    @ahadali3908 28 วันที่ผ่านมา

    PayPal link for paying back for this amazing explanation?

  • @subee128
    @subee128 29 วันที่ผ่านมา

    Thanks

  • @andy2011go
    @andy2011go 29 วันที่ผ่านมา

    Well explained! Thanks!

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @subee128
    @subee128 หลายเดือนก่อน

    Thanks

  • @ipranavprashant
    @ipranavprashant หลายเดือนก่อน

    Woah that was some good visualization!

  • @Satyamkumar19113
    @Satyamkumar19113 หลายเดือนก่อน

    Just the best idea to approach binary 🌲 questions

  • @TaylorSchuller007
    @TaylorSchuller007 หลายเดือนก่อน

    I finally got it! I kept making the 1+1+1=01 instead of 11

  • @sampreethadixith980
    @sampreethadixith980 หลายเดือนก่อน

    Awesome explanation!!

  • @filipwolinski8915
    @filipwolinski8915 หลายเดือนก่อน

    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).

    • @Gloppyyy
      @Gloppyyy 9 วันที่ผ่านมา

      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.

  • @ioanacrisan3684
    @ioanacrisan3684 หลายเดือนก่อน

    Nice work, thank you!