Skip to content

devald/advent-of-code-clojure-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Solutions in Clojure (2023)

This repository contains my solutions to the Advent of Code challenges implemented in the Clojure programming language. Advent of Code is an annual event featuring daily coding challenges in December, each with two parts, released one per day leading up to Christmas.

About Advent of Code

Advent of Code provides a series of programming puzzles designed to challenge participants' problem-solving skills in areas such as algorithms, data structures, and logic. The challenges vary in difficulty and often have a festive holiday theme.

Solutions

Each day's challenge is solved in its own Clojure source file within the "src" directory. Solutions are organized by day and part.

Directory Structure

.
├── src
│ ├── day1
│ │ ├── part1.clj
│ │ └── part2.clj
│ ├── day2
│ │ ├── part1.clj
│ │ └── part2.clj
│ └── ...
└── ...

Running the Solutions

To run a solution for a specific day and part, you'll need to have Clojure installed on your system. You can execute each solution file using the Clojure command-line tools or an integrated development environment (IDE) such as Cursive or Emacs with CIDER.

clj -M src/day1/part1.clj

Replace src/day1/part1.clj with the path to the solution file you want to run.

Running Tests

To run all tests, use

clj -X:test

Legal

Please note that while the solutions provided here are my own work, the input data used to test these solutions has been engineered using AI and prompt engineering techniques. This ensures that I am not sharing any copyrighted material from the original Advent of Code challenges. Feel free to try out the solutions with your own input data.

Contributions

Contributions in the form of improvements to existing solutions or new solutions are welcome! If you have an alternative approach, a more efficient solution, or an enhancement to the existing code, feel free to submit a pull request.

Disclaimer

These solutions are provided for educational purposes and personal enjoyment. While they aim to be correct and efficient, they may not always represent the most optimal solution.

Acknowledgments

I'd like to express my gratitude to the creators of Advent of Code for designing such engaging challenges and fostering a vibrant programming community.

About

Dévald Tari's solutions to Advent of Code 2023 challenges in Clojure

Topics

Resources

License

Stars

Watchers

Forks

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy