Lecture 06 - Hash Tables

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 8

  • @FarahMurad-b8f
    @FarahMurad-b8f 19 วันที่ผ่านมา

    Thank you for your great explanation i followyou from Jordan ❤❤

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

    U r the best than my teacher
    Thanks a lot ❤

  • @moazibrahim5384
    @moazibrahim5384 4 ปีที่แล้ว

    Thank you our great doctor❤️

  • @yaramohamed4801
    @yaramohamed4801 4 ปีที่แล้ว +1

    thanks Dr.. :)

  • @masterofpuppetz5790
    @masterofpuppetz5790 4 ปีที่แล้ว

    Amazing :)
    just one question:
    if I use a proper hash function(one that doesn't map different elements to the same value), would the performance still degrade to O(n) even if the hash table is completely full?
    would collision/clustering still happen in that case?

    • @DrMervatMikhail
      @DrMervatMikhail  4 ปีที่แล้ว

      When the table is completely full the performance degrade to O(n) when the collision occurs

  • @يوسفعبدالقادر-غ3ث
    @يوسفعبدالقادر-غ3ث 2 หลายเดือนก่อน

    h(x)=h(y) iffx=y
    طيب ما ممكن x!=y ويبقي ليهم نفس ال hash عشان ليهم نفس module بالنسبة لل size

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

      @@يوسفعبدالقادر-غ3ث ممكن طبعا ما ده collision
      مفروض hash الكويس يبقى صعب فيه collision