Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Golf Danbo

This is an internal code challenge for Danbo-day.

How to Enter the Code Challenge

  1. Setup:

    • Clone the repository.
    • Run npm install.
  2. Write Your Solution:

    • Open the solution.js file.
    • There is no description for what the challenge is about! You have to figure the pattern out by yourself from analysing the tests and more.
    • Implement your solution inside the following function:
    function sol(s) {
      // Your code here
    }
    • Test your solution with command npm run test
  3. If you are competing remotely

    • Set a timer for one hour, you have to complete the challenge within the time limit. (Our best within one hour was 154 characters)
    • After one hour, please make sure all your code is inside the sol function as mentioned above.
    • Count your total characters within the sol function.
    • Lets see if you can beat our best from Danbo-day: total of 70 characters counted in the function!

Requirements to Win the Challenge

  • Your solution must pass all the tests.

  • The solution with fewest characters in the code wins within a hour wins!

Rules:

  • Do not use Chatgpt or any AI assistance.

  • You can use google.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages