Skip to content

gtrabanco/adventjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

This is a repository of my solutions to @midudev AdventJS. 25 challenges of JS every day between 1st to 25th of December =)

The challenge is available in English, Spanish and Portuguese. Enjoy it!

About the challenges

While the challenges gives you points based on performance and cognitive complexity, the most important fact is the cognitive complexity. I observed not a lot of stability around getting points, maybe there are any important things like how many users are solving challenges but same challenge can give different points to the same user at different times.

2023 Challenges

# Challenge Difficulty Description Solution Points Max Points[1]
01 First gift repeated 🟢 Show view 340 390
02 We start the factory 🟢 Show view 270 390
03 The naughty elf 🟢 Show view 350 390
04 Turn the parentheses around 🟡 Show view 250 380
05 Santa's cybertruck 🟡 Show view 180 290-390
06 The reindeer on trial 🟢 Show view 360 390
07 The 3D Boxes 🟢 Show view 270 290
08 Sorting the Warehouse 🟡 Show view 260 390
09 Switch the lights 🟢 Show view 290 290
10 Create your own Chrismas Tree 🟢 Show view 280 280
11 The studious Elves 🟢 Show view 60 180
12 Is it a valid copy? 🟡 Show view 210 390
13 Calculating the time 🟢 Show view 240 390
14 Avoid the alarm 🟡 Show view 240 290

| 16 | Deploy on Friday | 🟢 | Show | view | 60 | 190 | 17 | Optimizing the rental | 🟢 | Show | view | 80 | 190 | 18 | The digital clock | 🔴 | Show | view | 90 | 90? | 19 | Face the sabotage | 🟡 | Show | view | 25 | ? | 20 | Distribute the weight | 🔴 | Show | view | 25 | ? | 22 | Christmas Dinner | 🟢 | Show | view | 250 | 250[3] | 23 | Christmas Dinner | 🟢 | Show | view | 140 | ? | 25 | Calculating distances | 🟡 | Show | view | 110 | ?

2023 Others solutions

Feel free to link to your repository with your solutions with a PR =)

-- [1] Max Known points can be better. I got it from discord from other users. Points are given by performance and cognitive difficulty. Sometimes more performance needs a difficult cognitive difficulty, when you scale from 2999 ops/s to 3000/s it will give you 100 more points which sometimes is neccessary to get those extra points.

[2] No points due execution time error.

[3] You will need to do a little bit of SPAM to get more opts and get those points