Skip to content

Commit e76ac37

Browse files
authored
Update README.md
1 parent 84a670d commit e76ac37

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

problem-5/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Problem 5
2+
3+
Link: https://leetcode.com/problems/find-the-difference/description/
4+
5+
# Benchmarks
6+
7+
| | Time (mean ± σ) | Range (min … max) | Avg.Memory | Runs |
8+
| --- | --- | --- | --- | --- |
9+
| Python | 9.7 ms ± 1.3 ms | 7.3 ms … 15.6 ms | 8420k | 304 runs |
10+
| Mojo | 178.0 ms ± 10.9 ms | 167.2 ms … 205.7 ms | 8500k | 14 runs |
11+
12+
# Which performed better?
13+
14+
The Python code ran 18.31 ± 2.70 times faster than the Mojo code

0 commit comments

Comments
 (0)