reading-notes

Linked Lists

Big O: Analysis of Algorithm Efficiency

we mainly used to measure and compare the worst-case theoretical running time complexities of algorithms for the performance analysis.

we should consider 4 Key Areas for analysis:

1- Input Size

2- Units of Measurement

3- Orders of Growth

4- Best Case, Worst Case, and Average Case

Orders of Growth type:

1- Constant Complexity

2- Logarithmic Complexity

3- Linear Complexity

For more information -> reference

Linked Lists

What is a Linked List

A linked List is a linear data structure and The elements in a linked are linked using pointers and There are two types of Linked List :

Traversal

When traversing a linked list we depend on the next value im each node to guide us where the next reference is pointing

Linear data structures

structures

Memory Management

is the process of allocation and de-allocation of objects, called Memory management. Java does memory management automatically