Truly Understanding Quick Select

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 50

  • @tejassameera8962
    @tejassameera8962 14 дней назад

    Best quick select explanation I’ve seen so far

  • @rajatshukla2605
    @rajatshukla2605 Год назад +7

    Such an underrated channel!!!! Definitely recommending to my friends! Thanks a bunch!

  • @suyashgupta1180
    @suyashgupta1180 2 года назад +3

    One of the most detailed video! Thanks man.

  • @kadelchess42
    @kadelchess42 2 года назад

    Good to see you active again. Your Quicksort Vid really helped me. Keep up the good work!

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад

      Thanks, your comment means a lot! I was active in the meantime as well, but it takes quite a bit of work to finish one of these.

  • @saketkishor7504
    @saketkishor7504 Год назад +1

    Great and very lucid explanation. Will visit all the videos just for fun :)

  • @mogilimanikanta1515
    @mogilimanikanta1515 Год назад +1

    Good job a lot of useful information from your channel I recommend to my friends

  • @pau1more1
    @pau1more1 Год назад +1

    Great animations. This is very helpful.

  • @hadaskate
    @hadaskate 2 года назад +5

    Great concept of a video! And well explained. I could only suggest to get a better microphone for quality and volume

  • @spicy2112
    @spicy2112 Год назад +1

    This is amazing. Thank you so much for a neat video.

  • @spacezombie99
    @spacezombie99 2 года назад +1

    Super informative. Thank you!!

  • @gergerger53
    @gergerger53 3 месяца назад

    Great video! (Are you writing code on a typewriter? Half expected to hear a 'ding') 🤣

  • @christopherharsh
    @christopherharsh 8 месяцев назад

    Great video, thank you

  • @subramanyah9848
    @subramanyah9848 8 месяцев назад

    In the partition algorithm, you could have used the left and right bounds from qs() function instead of doing it from 0 to n - 1 all the time. Why didnt you do this or am I totally off the track?

  • @KaliPuppies
    @KaliPuppies 2 месяца назад

    Minute 5:36, if you do L++ why 1 and 7 swap in the video??

  • @yousifsaid354
    @yousifsaid354 2 года назад +1

    This video was amazing nice job

  • @NamanSharma-zx6gq
    @NamanSharma-zx6gq Год назад

    nicely explained .. I will definitely recommend this to my friends...very clever implementation

  • @betoharres
    @betoharres 11 месяцев назад +1

    there's no way I will remember all of this in 6 months

  • @rudranshagg2580
    @rudranshagg2580 Год назад +1

    Can anyone explain why in the else block in place of k he did k- p+1 .Its getting over my head.

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  Год назад +1

      Hi! Good question. Looking for the kth smallest element in the initial array is like looking for the k-(p+1)st smallest element in the subarray starting on position p+1. This basically discards the p+1 smallest elements.

  • @audunoklevik4435
    @audunoklevik4435 2 года назад +1

    Good explanation!

  • @kamilstars2305
    @kamilstars2305 9 месяцев назад

    In 7:48 I guess there's an error in code.
    Why the first argument is
    'T + p +1' ? It should probably just be T.

  • @BlumChoi
    @BlumChoi 2 года назад +2

    why no implementation with randomnes?

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад

      Hello! I explain how to add in the randomness at 15:45. Is this what you are looking for?

    • @BlumChoi
      @BlumChoi 2 года назад

      @@TrulyUnderstandingAlgorithms Oh mistake!
      Even when adding the random part I still get "time limit exceeded" on leetcode :(.

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад

      ​@@BlumChoi So what is the code you are using?

  • @bismansingh5431
    @bismansingh5431 2 года назад +1

    Very great video, but can you slowed down the pace, it would really helpful.This channel gives me vibe of 3blue1brown
    Keep it up!!!

  • @AnindyaDey
    @AnindyaDey 2 года назад +1

    Lucid explanations. Thank you. Could you do the same for Timsort algorithm?

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад +1

      Thanks for your kind comment! I will consider doing Timsort in the future. Timsort is a smart tweak of a mix of merge sort and insertion sort, both of which are available on my channel, and you can watch these in the meantime.

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад

      Truly Understanding Insertion Sort: ruclips.net/video/jF-8RcO_9ds/видео.html

    • @TrulyUnderstandingAlgorithms
      @TrulyUnderstandingAlgorithms  2 года назад

      Truly Understanding Merge Sort: ruclips.net/video/HpPr0t8ieQ4/видео.html

  • @andrealima6883
    @andrealima6883 Год назад +1

    gracias

  • @DheerajKumar-qd7nx
    @DheerajKumar-qd7nx 2 года назад +1

    Must watch

  • @Myshkin080
    @Myshkin080 Год назад +1

    Please use proper mic. Btw nice explaination.

  • @Texa8
    @Texa8 Месяц назад

    you go way too fast.... t down