Skip to content

Commit c6bfea3

Browse files
committed
update readme with complexities
1 parent d9a3f1e commit c6bfea3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

C/Program-Timer/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This script checks the time required to run a function in C.
77
* Compile with `gcc timer.c -o timer`.
88
* Execute with `./timer`
99

10+
**Time Complexity:** O(1)
11+
**Space Complexity:** 0(1)
1012

1113
## Output
1214
![output](output.png)

0 commit comments

Comments
 (0)