Skip to content

Latest commit

 

History

History

problem-5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Problem 5

Link: https://leetcode.com/problems/find-the-difference/description/

Benchmarks

Time (mean ± σ) Range (min … max) Avg.Memory Runs
Python 9.7 ms ± 1.3 ms 7.3 ms … 15.6 ms 8420k 304 runs
Mojo 178.0 ms ± 10.9 ms 167.2 ms … 205.7 ms 8500k 14 runs

Which performed better?

The Python code ran 18.31 ± 2.70 times faster than the Mojo code