wizzywit / leetcode-algorithm-solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCode Solutions

Test

Solutions to some of the leetcode questions in different languages

Questions

Subfolders represent individual question slugs e.g

# link is at https://leetcode.com/problems/valid-parentheses
|--repo/
|  |--valid-parentheses/
|  |  |--go/
|  |     |--solutions.go
|  |     |--solutions_test.go
|  |  |--js/
|  |     |--solutions.js
|  |     |--solutions.test.js

Running Tests

# All Golang tests
go test ./...

Running rust code

rustc <file-name.ext>

# windows
.\<file-name.exe>

# linux
./<file-name.exe>

About


Languages

Language:Go 79.7%Language:JavaScript 14.4%Language:Rust 5.9%