5 Data Structures Explained MUST KNOW (for Software Engineers)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

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

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

    Awesome video bro. Keep cranking out these quality videos and your channel's gonna blow up for sure.

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

    Awesome video man. Would love an in-depth video on each data structure very much. Thanks again for the videos.

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

    Thanlks a lot, great video!
    could you please tell where is a source for studying all of Algorithms and Datastruces?

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

    Incredible. What do you use for your slides and animations?

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

      I use an editing software called Camtasia

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

    Fascinating!!! would you please make a in depth video on each of them? Keen to dive in

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

    Great video! Thanks so much. Please make a full length video on each of them with solving the leetcode problems associated with each of them inside each of those videos. It would be of great help. Thanks so much! Great explanation!

  • @77loutube
    @77loutube 3 ปีที่แล้ว

    Should not the a in cobra be a referrence to an existing a from cat ?

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

    More on Disjoint Set, Skip List please.

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

    It is amazing video bro. Thanks. Please do more videos on Union Find and Topological Sorting Algorithms.

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

    ah so that's what a trie is
    props to my teacher for asking us to implement it before explaining how it works

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

    great work !!!!

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

    Wonderful as ever!

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

    I have a doubt regarding the last one. Isn't R & B tree and AVL tree self balancing one? Are they same as B-Tree?

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

      They might be the same, but not sure. On Wiki it says, "B-tree is a self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time."

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

      ​@@AlgosWithMichael Great video! But I'm pretty sure your b-tree explanation is misleading. The crucial difference between a b-tree and a binary tree is the branching factor. As you pointed out, binary trees have a branching factor of two but a b-tree could have an arbitrarily large branching factor (several hundred). The most important difference though, is that if the branching factor is B, lookups in a binary tree are log2(n) and lookups in a Btree are logB(n). So when n is a billion, you'd have to traverse ~30 nodes to find a value in a binary tree vs ~4 nodes to find a value in a b-tree with a branching factor of 100.
      This difference becomes material when your tree is stored on disk. 30 disk seeks on a spinning disk could be 5 - 30ms, whereas four disk seeks would be < 4ms. That's why b-trees are used when storing stuff on disk: to minimise the number of disk seeks. Otherwise, any other self-balancing tree would be fine.
      There are loads of other interesting properties of btrees in this pretty accessible paper: carlosproal.com/ir/papers/p121-comer.pdf . If you make a video about Btrees specifically I'll upvote the crap out of it!
      Thanks for all your work! Your presentation style is awesome =)

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

      Good explanation. Yea, I could have gone further into the order of a B-tree and the key uses. Thanks for the feedback, I appreciate it!

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

      @@AlgosWithMichael An AVL tree is a self-balancing tree. It is a binary search tree in which every node keeps a record of the difference in height between the height of the right tree and the left tree. If the difference is greater than a threshold, then you perform a right-left, right-right, left-right or a left-left rotation. After performing a rotation the tree is balanced. It was noted that the AVL trees are faster than Red-Black trees (used in TreeMap).

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

    awesome

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

    Implementation of Skip List Plz

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

    Actually you deserve more views,likes and comments...

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

    bless you T_T

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

    I kind of brute forced Amazon's Hackerranck question by using hashmap... then I saw disjoint set, and I realized it was a better way