/comp202-toolkit

Utilities for solving common problems in COMP202.

Primary LanguageGo

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