https://github.com/perongh/comp202-toolkit
Utilities for solving common problems in COMP202.
https://github.com/perongh/comp202-toolkit
Last synced: about 2 months ago
JSON representation
Utilities for solving common problems in COMP202.
- Host: GitHub
- URL: https://github.com/perongh/comp202-toolkit
- Owner: PeronGH
- Created: 2024-03-13T18:16:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-14T14:47:55.000Z (about 1 year ago)
- Last Synced: 2025-01-19T09:42:17.566Z (4 months ago)
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COMP202 Toolkit
Utilities for solving common problems in COMP202.
## Usage
1. Install Go and clone this repository.
2. Based on the problem you are solving, you can use the following utilities:
- **Count inversions**: `go run ./count-inversions`
- **Apply master theorem**: `go run ./master-theorem`
- **Fractional knapsack**: `go run ./fractional-knapsack`
- **0/1 knapsack**: `go run ./01-knapsack`
- **Array Heap**: `go run ./array-heap`