Skip to content

borjapazr/adventjs-solutions

Repository files navigation

🎅💻️ adventJS solutions GitHub RESULTS Workflow Status

🧑‍🚀 24 days / 24 coding challenges • adventJS 🚀

This repository contains the solutions to the challenges proposed by @midudev on the adventJS website.

🦠 2021

Show / Hide

🎮️ Challenges

# Challenge Difficulty1 Solution
01 Contando ovejas para dormir 🟢 Show
02 ¡Ayuda al elfo a listar los regalos! 🟢 Show
03 El Grinch quiere fastidiar la Navidad 🟠 Show
04 ¡Es hora de poner la navidad en casa! 🟠 Show
05 Contando los días para los regalos 🟢 Show
06 Rematando los exámenes finales 🟠 Show
07 Buscando en el almacén... 🟠 Show
08 La locura de las criptomonedas 🟠 Show
09 Agrupando cosas automáticamente 🔴 Show
10 La máquina del cambio 🔴 Show
11 ¿Vale la pena la tarjeta fidelidad del cine? 🟠 Show
12 La ruta perfecta para dejar los regalos 🔴 Show
13 Envuelve regalos con asteriscos 🟢 Show
14 En busca del reno perdido 🟠 Show
15 El salto perfecto 🟠 Show
16 Descifrando los números... 🟢 Show
17 La locura de enviar paquetes en esta época 🔴 Show
18 El sistema operativo de Santa Claus 🟢 Show
19 ¿Qué deberíamos aprender en Platzi? 🟠 Show
20 ¿Una carta de pangramas? ¡QUÉ! 🟢 Show
21 La ruta con los regalos 🔴 Show
22 ¿Cuántos adornos necesita el árbol? 🟠 Show
23 ¿Puedes reconfigurar las fábricas para no parar de crear regalos? 🟣 Show
24 Comparando árboles de Navidad 🟠 Show
25 El último juego y hasta el año que viene 👋 🟠 Show

🤖 2022

Show / Hide

🎮️ Challenges

# Challenge Difficulty1 Solution
01 Automating Christmas gift wrapping! 🟢 Show
02 Nobody wants to do extra hours at work 🟢 Show
03 How many packs of gifts can Santa carry? 🟢 Show
04 Box inside a box and another... 🟠 Show
05 Optimizing Santa's trips 🔴 Show
06 Creating xmas decorations 🟠 Show
07 Doing gifts inventory 🟢 Show
08 We need a mechanic! 🟠 Show
09 Crazy Xmas lights 🟢 Show
10 The Santa Claus sleigh jump 🟠 Show
11 Santa Claus is Scrum Master 🔴 Show
12 Electric sleighs, wow! 🟠 Show
13 Backups for Santa Claus files 🟢 Show
14 The best path 🟢 Show
15 Decorating the Christmas tree 🟠 Show
16 Fixing Santa Claus' letters 🔴 Show
17 Carrying gifts in bags 🟠 Show
18 We ran out of ink! 🟢 Show
19 Sorting the toys! 🟢 Show
20 More challenging trips 🔴 Show
21 Creating the gifts table 🟠 Show
22 The lights in sync 🟢 Show
23 Santa Claus Compiler 🔴 Show
24 The last challenge is a maze 🔴 Show

🚀 Quick start

  • Install

    make install
    # or
    npm install
  • Run all challenges

    make run
    # or
    npm test
  • Run specific challenge

    make run YEAR=YYYY CHALLENGE=XX # where YYYY is the year and XX is the challenge number
    # or
    npm test YYYY/challenge-XX # where YYYY is the year and XX is the challenge number

🚩 License

MIT @ borjapazr. Please see License for more information.

Footnotes

  1. Difficulty: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard 2