This repository contains solutions for LeetCode problems in multiple programming languages:
- Go - Primary focus
- TypeScript - Coming soon
- Python - Coming soon
leetcode/
├── go/ # Go solutions
├── typescript/ # TypeScript solutions
├── python/ # Python solutions
└── Makefile # Root makefile for multi-language support
# Build the CLI tool
make build LANG=go
# Create a new problem
make new PROBLEM=1 TITLE="Two Sum" SIGNATURE="func twoSum(nums []int, target int) []int" LANG=go
# Run tests
make test LANG=go
make test PROBLEM=1 LANG=go
# Run benchmarks
make bench LANG=goNavigate to the go/ directory for Go-specific commands:
cd go/
make build
make new PROBLEM=1 TITLE="Two Sum" SIGNATURE="func twoSum(nums []int, target int) []int"
make test
make bench