Quick Sort Analysis | Worst Best, Average case Analysis of Quick Sort | Quick Sort Time Complexity |

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

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

  • @Dr.D_2004
    @Dr.D_2004 8 месяцев назад

    in worst case why did we did (n-k-1) =1 instead of (n-k)=1???

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

    Interesting video amazing

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

    How do you write 10/ 3 at base of log in average case madam?

    • @ysjang05050
      @ysjang05050 Год назад

      Actually it is 10/9. Please refer to CLRS text book at page 176. If a node size is divided by n then the log base should be n for getting height of tree. If it is divided by 2 (binary), then the height should be log2(n). Here the part is dividied by 10/9, which is reciprocal of 9/10.

  • @HimanshuSharma-zq2bw
    @HimanshuSharma-zq2bw 2 года назад +1

    mam ur linkedin id

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

    Mam where is average case time complexity