7 Comments

such a helpful article. put in simple language . thanks

Expand full comment
Sep 8Liked by Vivek Bansal

What a fantastic article Vivek 👏

Just to add, we can also include that B+ tree has doubly linked list instead of singly linked list so that we can traverse in both direction of nodes from the matching node.

Expand full comment
author

Thanks Hitesh for adding this. Actually, I am still in confusion if B+Tree has doubly linked list or singly linked list? Can you please add some resource so that I can refer the same.

Expand full comment

Hi Vivek,

I had asked this question to ChatGPT after reading through your article since I was also confused that if it is not doubly linked list then how would we traverse the whole tree with the help of linked list.

However, I have managed to find below references where doubly linked list is mentioned, though I am unsure about their credibility:

https://studyglance.in/ds/display.php?tno=30&topic=B+-Tree

https://opendsa-server.cs.vt.edu/ODSA/Books/CS3/html/BTree.html

Expand full comment
Sep 2Liked by Vivek Bansal

Clean and concise. Thanks.

Expand full comment

Good read, can you write a blog on btree indexes vs hash indexes and what are the use cases ?

Expand full comment
author

Sure will try to cover this in the future editions:)

Expand full comment