Skip to content

Commit 7af5e01

Browse files
authored
Updated notations to comply with time and space complexities
- Improved Notation for Complexities section - Changed to table view - Combined notations for space & time
1 parent cf3c194 commit 7af5e01

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Algorithms/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ The `README.md` of algorithm will typically contain:
4747
- Best Practices
4848
- References
4949

50-
### Notations for Time Complexity
50+
### Notations for `Time` & `Space` Complexity
5151

52-
Respective symbols represent the time complexity:
53-
54-
- `Ω` Big Omega for `Best Case`
55-
- `Θ` Big Theta for `Average Case`
56-
- `O` Big O for `Worst Case`
52+
| Symbol | Name | Case |
53+
|--------|------------|--------------|
54+
| Ω | Big Omega | Best Case |
55+
| Θ | Big Theta | Average Case |
56+
| O | Big O | Worst Case |
5757

5858
> [!Note]
5959
> Ensure the time complexity order follows: best, average, worst.

0 commit comments

Comments
 (0)