Skip to content

Coding challenges from CODE100 2023 at WeAreDevelopers World Congress

Notifications You must be signed in to change notification settings

1p0d/code100-2023-puzzles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CODE100 2023 Coding Challenges

CODE100 is a coding competition where the challengers have to prove their knowledge and coding skills. Some of the rounds are quizzes and buzzer questions, while others are language-agnostic coding challenges.

Due to popular demand, we are publishing the challenges and solutions of the 2023 edition of CODE100. The challenges are published in the challenges folder.

1️⃣ Challenge 1 (from round 3 of the competition)

The puzzle is a string containing any amount of characters which can be either a letter or a digit. If there is a number with more than 1 digit, this should be counted as a whole number - not as separate digits.

Example puzzle

world20congresss23

Example solution

43 (not 7)

The solution you should submit is the sum of these numbers.

Actual puzzles using in the competition

2️⃣ Challenge 2 (from round 4 of the competition)

You will receive an array of strings.

Submit that array of strings, sorted from A-Z, but only supply the words that are an anagram of another word in that array.

Example puzzle

[ "kiwi", "melon", "apple", "lemon" ]

Example solution

[ "lemon", "melon" ]

Actual puzzles using in the competition

3️⃣ Challenge 3 (from round 5 of the competition)

You will receive an array with nodes of a linked list and the ID of the top node as seen below.

  • The property next points to the ID of the next node
  • The last node has the value null for next
  • The property top points to the ID of the first node

Submit as solution an array of the values in the order that they appear in the linked list.

Example puzzle

{
    "linkedList": [
        { "id": "b", "value": 2, "next": "3" },
        { "id": "c", "value": 3, "next": null },
        { "id": "a", "value": 1, "next": "2" }
    ],
    "top": "a"
}

Example solution

[ 1, 2, 3 ]

Actual puzzles using in the competition

About

Coding challenges from CODE100 2023 at WeAreDevelopers World Congress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%