Array vs. Linked List vs. Hash Table

Array An array is a linear data structure consisting of a collection of similar data type elements, each identified by at least one index or key. The size of the array must be specified at the time of its declaration. It is fixed and cannot be resized during runtime. In the array, elements are organized

2019-06-10T22:24:21+03:00By |Categories: Explained Simply|Tags: |0 Comments

B-tree vs. Binary Tree

B-Trees and binary trees are both non-linear data structures and while their names may sound similar, they’re very different in nature. In this article, we will compare them to make them easier to distinguish. B-Tree B-tree is a self-balancing tree data structure in which a node can have more than two children. The height of

2019-04-07T13:17:28+03:00By |Categories: Explained Simply|Tags: |0 Comments

Trees vs. Graphs

Trees and graphs are data structures used to resolve various complex problems. Knowing the difference between them is useful in terms of better understanding of the non-linear way of storing data. Definition: Trees and graphs are both abstract data structures. They are a non-linear collection of objects, which means that there is no sequence between

2019-04-07T13:20:21+03:00By |Categories: Explained Simply|Tags: , |0 Comments

Stacks vs. Queues

Stacks and queues are both very commonly used data structures. They dynamically store and retrieve data items in two different ways. Let’s take a look at these two principles, so we can understand what differences they have and where their uses may be applicable. Definition: Stacks and queues are both abstract data structures and the

2019-04-07T13:26:28+03:00By |Categories: Explained Simply|Tags: |0 Comments
Go to Top