xfyuan / leetcodex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCodeX workflow

Try to answer leetcode each with two algorithms, and benchmark them.

Dev env

Ruby version: ruby 3.1.2

Usage

Run rspec:

bundle exec rspec

Run rubocop:

bundle exec rubocop

Benchmark

Use benchmark-ips to benchmark both add/remove actions.

The testing machine hardware is Apple M2 chip/16G RAM/512G SSD

About


Languages

Language:Ruby 100.0%