Skip to content

marcobrotas/leetcode

 
 

Repository files navigation

LeetCode

Solutions and Benchmarks


Getting Started

go install go.bobheadxi.dev/gobenchdata@latest
make build-parser
make run

Challenges

ADD TWO NUMBERS
LONGEST SUBSTRING WITHOUT REPEATING CHARACTERS
TWO SUM

Runs: 7798587

Name ns/op B/op allocs/op
BenchmarkAddTwoNumbers-2 151.500000 ns/op 48.000000 B/op 3.000000 allocs/op

Runs: 29090780

Name ns/op B/op allocs/op
BenchmarkLongestSubstringWithoutRepeatingCharacters-2 42.440000 ns/op 0.000000 B/op 0.000000 allocs/op

Runs: 7277935

Name ns/op B/op allocs/op
BenchmarkTwoSum-2 171.300000 ns/op 16.000000 B/op 1.000000 allocs/op

About

Leetcode challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.0%
  • Makefile 3.0%