<aside> 💡 Things you will repeatedly encounter while studying data structures and their meanings

</aside>


Shifting

Moving elements a position forward or backward within a collection in order to achieve more room for storing another one. This process happens during element insertion or removal, necessitating either the creation of space by shifting elements forward to accommodate a new element, or the filling of a space by moving existing elements backward to maintain storage continuity.

(Insertion → elements move forward

Removal → elements move backward).


What is good code?

<aside> 💡 The 3 pillars of coding

</aside>

Readability

Can people understand your code?

Scalability

Time Complexity.

Memory

Space Complexity.


Useful links