Algorithm Study


Greedy Algorithms (Python)

A greedy algorithm is a simple, intuitive algorithm that is used in optimization problems.
The algorithm makes the optimal choice at each step as it attempts to find the overall optimal way to solve the entire problem.

BFS and DFS (Python)

BFS stands for Breadth First Search.
DFS stands for Depth First Search.


Sorting Algorithms (Python)

A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements.