
This tutorial to DSA Basic algorithm fundamentals will explain the basic reasoning that all programmers need to know. This resource is meant to help you build your knowledge, whether you're questioning what a dsa algorithm is for the first time or looking for a real-world example of one.
| Step | What happens |
| 1 | Start with 0 and 1 |
| 2 | Add them to get the next number |
| 3 | Continue adding the last two numbers |
| 4 | Repeat the same process until the sequence is complete |
|
Algorithm |
Type | Use Case | Complexity (Avg) |
| Sorting | Small datasets, teaching logic. | O(n^2) | |
|
Linear Search |
Searching | Unsorted lists, small data. |
O(n) |
| Binary Search | Searching | Sorted lists, large data. |
O(\log n) |
| Selection Sort | Sorting | When memory is very limited. |
O(n^2) |

