Array Data Structure Tutorial - Array Time Complexity

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

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

  • @DeodorantDan
    @DeodorantDan 5 ปีที่แล้ว +6

    Tim, I'm a physics major and very new to programming so I wanted to thank you for making things easier to understand. Cheers!

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

    Thanks so much Tim! Had a difficult time understanding this concept from overly complicated readings, great work for explaining it so clearly!

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

    Studying up for a technical interview. You are goated my guy

  • @TheCFJB
    @TheCFJB 5 ปีที่แล้ว +2

    Well done Tim, your videos help me out a lot. Thank you 🔥

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

    Perfect explanation, thank you Tim :)

  • @VikramSingh-hu2hs
    @VikramSingh-hu2hs 4 ปีที่แล้ว +1

    Very helpful tutorials ..
    Thanks

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

    please continue this series, Tim

  • @SkyFly19853
    @SkyFly19853 5 ปีที่แล้ว +1

    A very useful tutorial...
    The memory and how the variables work is an important topic...

    • @TechWithTim
      @TechWithTim  5 ปีที่แล้ว +2

      Indeed !

    • @SkyFly19853
      @SkyFly19853 5 ปีที่แล้ว

      @@TechWithTim Yes! 💯💯💯

  • @Rajat-Sharma1
    @Rajat-Sharma1 5 ปีที่แล้ว +1

    Thank you so much

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

    Thanks bro!

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

    1:53
    "now in modern day computing with people having 16, 32GB RAM in thier machine is not really huge issue"
    no it is and that what make modern programs consume more resources than it needs. the idea of nah we don't have optimize new computers are good and strong enough that's lazy work and bad thinking.

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

  • @ستيلوأورقة
    @ستيلوأورقة 5 ปีที่แล้ว +1

    i love you man and your pqssion qbout understqnding stuff

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

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

    What tool do you use to draw on the screen? And how do you transfer the signal to main screen?

  • @Alnz-b2b
    @Alnz-b2b 6 วันที่ผ่านมา

    Bring this back

  • @shwetankagrawal4253
    @shwetankagrawal4253 5 ปีที่แล้ว

    Very nice Tim
    Please also teach coding part using python

  • @aryanbhatia6992
    @aryanbhatia6992 5 ปีที่แล้ว +1

    Please continue with the PyQt5 series

  • @Crucizer
    @Crucizer 5 ปีที่แล้ว +2

    Do More PyQt5 Tutorials!

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

    I have a small confusion, at 4:12 what is n in O(n). If possible explain n in terms of example given

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

      n would just be a placeholder in this case to have a value we don't yet know. We don't know how many times the indexes will have to shift to accommodate the removed or inserted element, so it will happen "n" number of times.

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

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

    I just want to clarify that not all arrays are fixed. You can have dynamic arrays that accommodate for the fact that you don't quite know the size of the data. Dynamic arrays initialize an array that's the size of the inputted data and then if you try to insert data the size of the array is dynamically doubled to give you more memory. Ex. ( array size 4 add 5th element array doubles to size 8 and so on)

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

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

      A dynamic array is typically not a defined data structure. It’s either an array that is copied to another array of different size, but more commonly, it’s a list pretending to be an array.

  • @Crucizer
    @Crucizer 5 ปีที่แล้ว

    Hey Tim, Can you tell me how to get variable suggestions in sublime text?

  • @shwetankagrawal4253
    @shwetankagrawal4253 5 ปีที่แล้ว +2

    I want to learn and code each DS and algo

  • @sainco3036
    @sainco3036 5 ปีที่แล้ว

    thanks.

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

    An oversized array is not a memory leak - just bad memory management. A memory leak is when you allocate memory but don’t release it.

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

    i dont really get it are python lists like arrays?

    • @hello-my6ot
      @hello-my6ot 3 ปีที่แล้ว +1

      No they are not

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."

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

    How about initializing an array?

  • @lightningtechnologie7730
    @lightningtechnologie7730 5 ปีที่แล้ว

    Liked

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

    0

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

    randomly access items? I wonder why its called Random Access Memory. hmmmmmmmmmmmm

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

      Hey fam, I hope that you and your loved ones are well. I would like to ask you the most important question ever asked:
      Who is Jesus? Not who is He to you. Rather, who is He really?
      Jesus is the Son of God, who came to the world as a man. He lived a perfect and sinless life . Even though He was perfect and sinless, on the cross of Calvary God wrathfully punished Him for the sins of the world. 3 days later He rose from death. Now He is seated at the right hand of God, ruling as King over Heaven and Earth.
      On the judgment day He will judge you, me and every human being that has ever lived. Those who believed in Him will enter eternal joy with Him, but those who did not believe in Jesus will be sent to eternal condemnation.
      So turn from your sins and believe in the Jesus, that you can be forgiven for all your sins, because of His death and resurrection.
      Acts 15:11
      ”On the contrary, we believe it is through the grace of the Lord Jesus that we are saved, just as they are."
      Ephesians 1:7
      ”In Him, we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace"
      Ephesians 2:8
      ”For it is by grace you have been saved through faith, and this not from yourselves; it is the gift of God,”
      John 11:25-26: "Jesus said to her, 'I am the resurrection and the life. The one who believes in me will live, even though they die; and whoever lives by believing in me will never die. Do you believe this?'
      1 Corinthians 6:14: "And God raised the Lord and will also raise us up by his power."
      Romans 6:9: "We know that Christ, being raised from the dead, will never die again; death no longer has dominion over him."