group levels into chapters
This commit is contained in:
parent
ff69b967dd
commit
42dfe4fac7
22 changed files with 236 additions and 210 deletions
41
levels/chapter_03.json
Normal file
41
levels/chapter_03.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"title": "3. Text processing",
|
||||
"levels": [
|
||||
{
|
||||
"id": "ascii_to_lower",
|
||||
"name": "Lowercase",
|
||||
"description": "Convert text to lowercase",
|
||||
"stages": [{
|
||||
"input": "FROM THE MOMENT I UNDERSTOOD THE WEAKNESS OF MY FLESH, IT DISGUSTED ME",
|
||||
"output": "from the moment i understood the weakness of my flesh, it disgusted me"
|
||||
},{
|
||||
"input": "I CraVeD tHE strEnGTH AND CerTAinTy oF STeeL",
|
||||
"output": "i craved the strength and certainty of steel"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"id": "output_decimal",
|
||||
"name": "Numbers",
|
||||
"description": "Convert input numbers to text, separated by spaces (32)\n'0' = 48, '1' = 49, '2' = 50, and so on",
|
||||
"stages": [{
|
||||
"input": [8, 7, 1],
|
||||
"output": "8 7 1"
|
||||
},{
|
||||
"input": [85, 114, 32, 103, 97, 121, 58, 51],
|
||||
"output": "85 114 32 103 97 121 58 51"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"id": "parse_decimal",
|
||||
"name": "Numbers 2",
|
||||
"description": "Convert input numbers from text, separated by spaces (32)\n'0' = 48, '1' = 49, '2' = 50, and so on",
|
||||
"stages": [{
|
||||
"input": "1 2 3",
|
||||
"output": [1, 2, 3]
|
||||
},{
|
||||
"input": "85 114 32 103 97 121 58 51",
|
||||
"output": [85, 114, 32, 103, 97, 121, 58, 51]
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue