Dictionaries - Introduction to Data Structures (Episode 8)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Today we discuss both dictionaries and hash tables as we continue to work our way through the wacky world of data structures.
    1:34 - Introduction
    2:50 - Properties of Dictionaries
    4:54 - Hash Tables and Hash Functions
    8:10 - Example Hash Function
    12:00 - Time Complexity Equations
    ------------------------------------------------
    Introduction to Data Structures Playlist: • Introduction to Data S...
    ------------------------------------------------
    Sources for today's Episode:
    computerscienc...
    en.wikibooks.o....
    realpython.com...
    www.geeksforge...
    brilliant.org/....
    towardsdatasci...
    www.hackereart....
    en.wikipedia.o...
    en.wikipedia.o...
    en.wikipedia.o...
    -----------------------------------------------------------------
    NullPointerException is a TH-cam channel created by two high-schoolers in hopes of creating high-quality tutorial and how-to's relating to computer science and programming. Videos can range from basic language tutorials, specific programming how-to's, and even some AP course review when the time hits. If this at all interests you, consider subscribing to expand your programming knowledge.
    Subscribe to NPE: / @nullpointerexception ---------
    Support Us: www.buymeacoff...

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

  • @tinlekic9418
    @tinlekic9418 2 ปีที่แล้ว +1

    1.
    s = input()
    l = s.split(" ")
    print("Broj riječi u rečenici: " + str(len(l)))
    #s.replace("a", "")
    #print("Rečenica bez slova 'a': " + s)
    novi = ""
    for i in range(len(s)):
    if (s[i] != "a"):
    novi = novi + s[i]
    print("Rečenica bez slova 'a': " + novi)
    br = 0
    for i in range(len(s)):
    if (s[i].isupper()):
    br = br + 1
    print("Broj velikih slova u rečenici: " + str(br))
    rj = {}
    for i in range(len(l)):
    rj[len(l[i])] = l[i]
    print(rj)

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

    thank you so much keep going , I wish there is a series dedicated to algorithms thanks again

  • @olcaybolat3452
    @olcaybolat3452 2 ปีที่แล้ว +4

    This is the best video for dictionaries and hash tables. Thank you very much !

  • @jonathanphillips5915
    @jonathanphillips5915 4 ปีที่แล้ว +3

    Thank you for this series, everything is really helpful so far! I appreciate it!

  • @mattasatishkumar4132
    @mattasatishkumar4132 3 ปีที่แล้ว +2

    thank you for such an explanation
    love from india!

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

    Do keys can be floats??

  • @ishamandia
    @ishamandia 3 ปีที่แล้ว +1

    Wow.... !!! Your representation is Awesome and Conceptual......👍👍👍

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

    this is such an amazing video - clear , simple , in detail and colourful. could not have asked for anything more - you have just saved my exam grade. if only all teachers were like you !

  • @F_S_A
    @F_S_A 3 ปีที่แล้ว

    thank you,
    is mongoDb using dictionary concept?

  • @TheYoungKinYoutube
    @TheYoungKinYoutube 2 ปีที่แล้ว

    Thank you! This is very helpful

  • @omarmaamoun9457
    @omarmaamoun9457 2 ปีที่แล้ว

    i want to translate it in arabic , it`s great

  • @Tarun_Kotagiri
    @Tarun_Kotagiri 3 ปีที่แล้ว

    Gotta say........ I'm IMPRESSED!! Great content...glad I found it sooner!
    Atleast sooner than future visiters👻

  • @Rapunzel879
    @Rapunzel879 3 ปีที่แล้ว

    Wow what a high quality video... Amazing work.

  • @tinlekic9418
    @tinlekic9418 2 ปีที่แล้ว

    3.
    print("Upisite prirodan broj n:")
    n = int(input())
    rj = {}
    print("Upisite " + str(n) + " prirodnih brojeva: ")
    for i in range(n):
    x = input()
    brojZnamenki = 0
    for j in x:
    brojZnamenki = brojZnamenki + 1
    rj[brojZnamenki] = x
    listaKljuceva = list(rj.keys())
    listaKljuceva.sort()
    for i in range(n):
    kljuc = listaKljuceva[i]
    print(str(kljuc) + ": " + rj[kljuc])

  • @jaydeepsingh1139
    @jaydeepsingh1139 2 ปีที่แล้ว

    Thank You So Much...

  • @vgreddysaragada
    @vgreddysaragada ปีที่แล้ว

    very well explained

  • @esaineshhvarakotraivel2470
    @esaineshhvarakotraivel2470 3 ปีที่แล้ว

    Isn't open and closed hashing terminology vice versa?

    • @NullPointerException
      @NullPointerException  3 ปีที่แล้ว +1

      Open Addressing is the same as closed hashing, and closed addressing is the same as open hashing. Not sure why they decided that wouldn't be a confusing naming convention.

  • @dannyffd
    @dannyffd ปีที่แล้ว

    Thank you!

  • @cin5mada
    @cin5mada 2 ปีที่แล้ว

    Wonderfull tutorial.

  • @QuranicMoments
    @QuranicMoments 3 ปีที่แล้ว

    Thnxalot ❤️❤️

  • @BlaBlaBlaInDaHouse
    @BlaBlaBlaInDaHouse ปีที่แล้ว

    Great video!

  • @eshanyadav6859
    @eshanyadav6859 3 ปีที่แล้ว

    Sean would be so mad😂😂😂 is he your friend?

    • @NullPointerException
      @NullPointerException  3 ปีที่แล้ว

      Haha sean and I are friends in real life so we like to just poke fun at each other in our videos.

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

    you're a life saver!

  • @kmishy
    @kmishy 3 ปีที่แล้ว

    your way of teaching is awesome. like beloved prof messer