Skip to content

Setup

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Python 3.7+
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/joeaoregan/LIT-Yr2-DataStructures.git
    cd LIT-Yr2-DataStructures
    

  2. Create and activate virtual environment

    # Windows
    python -m venv venv
    venv\Scripts\activate
    
    # macOS/Linux
    python3 -m venv venv
    source venv/bin/activate
    

  3. Install Python dependencies

    pip install -r requirements.txt
    

  4. Verify Java installation

    javac -version
    java -version
    

Running the Projects

CA1: Percolation

# Windows
.\percolation.bat

# macOS/Linux
bash percolation.sh

CA2: Collinear Points

# Windows
.\collinear-all.bat

# macOS/Linux
bash collinear-all.sh

View Documentation

mkdocs serve
Visit http://localhost:8000 in your browser.