https://github.com/spimy/csc2103-dsa-assignment
https://github.com/spimy/csc2103-dsa-assignment
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spimy/csc2103-dsa-assignment
- Owner: Spimy
- Created: 2025-07-16T08:38:59.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T07:12:33.000Z (5 months ago)
- Last Synced: 2025-08-10T02:19:48.219Z (5 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSC2103 Data Structure and Algorithm Assignment
Run the code after setting up everything using `python src/main.py`.
## Recommedned Python Version Manager
1. Use pyenv to manage your Python versions
To install [pyenv](https://github.com/pyenv-win/pyenv-win) on Windows use in Powershell:
```powershell
Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"
```
On other Operating Systems, follow the [guide here](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation).
2. Download version 3.12.9
```bash
pyenv install 3.12.9
```
3. Use the installed python version
```bash
pyenv global 3.12.9
```
4. Test your python version
```bash
python --version
```
## Setup
Create a virtual environment (recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```