Skip to content

My solutions for Advent of Code, in Python, Kotlin, Golang and Java

License

Notifications You must be signed in to change notification settings

hiranp/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of code

This repository contains my solutions for the Advent of Code puzzles.

Python

  1. Use python3 -m venv venv to create a virtual environment
  2. Use source venv/bin/activate to activate the virtual environment
  3. Use pip install -r requirements.txt to install the requirements
  4. Use python3 -m pytest to run the tests

Golang

  1. Use go mod init github.com/hiranp/advent-of-code/2023 to create a go module
  2. Use go run solver.go to run the main program
  3. Use go build to build the program
  4. Use go test to run the tests

Kotlin

Using the (Advent of Code Kotlin Template)[https://github.com/kotlin-hands-on/advent-of-code-kotlin-template] delivered by JetBrains.

Puzzles list

2023

Day 1 : Trebuchet?!

  1. Day01.py
  2. Day01.kt
  3. Day01.java
  4. Day01.go

Day 10 : Pipe Maze

  1. t2.py
  2. t.py
  3. Day10.py
  4. Day10.kt
  5. Day10.go
  1. Day02.py
  2. Day02.java
  3. Day02.go

Day 3 : Gear Ratios

  1. Day03.py
  2. Day03.java
  3. Day03.go

Day 4 : Scratchcards

  1. Day04.py
  2. Day04.kt
  3. Day04.java
  4. Day04.go
  1. Day05.py
  2. Day05.kt
  3. Day05.go

Day 6 : Wait For It

  1. Day06.py
  2. Day06.kt
  3. Day06.go

Day 7 : Camel Cards

  1. Day07.py
  2. Day07.kt
  3. Day07.java
  4. Day07.go
  1. Day08.py
  2. Day08.kt
  3. Day08.go
  1. Day09.py
  2. Day09.kt
  3. Day09.go

About

My solutions for Advent of Code, in Python, Kotlin, Golang and Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published