mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
79 lines
1.7 KiB
JSON
79 lines
1.7 KiB
JSON
[
|
|
{
|
|
"input": [
|
|
[
|
|
{
|
|
"type": "folder",
|
|
"name": "cats",
|
|
"children": [
|
|
{
|
|
"type": "image",
|
|
"name": "Buffy"
|
|
},
|
|
{
|
|
"type": "image",
|
|
"name": "Gizmo"
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "small-cat",
|
|
"children": [
|
|
{
|
|
"type": "image",
|
|
"name": "Fluffy"
|
|
},
|
|
{
|
|
"type": "image",
|
|
"name": "Harry"
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "black-cat",
|
|
"children": [
|
|
{
|
|
"type": "image",
|
|
"name": "Daisy"
|
|
},
|
|
{
|
|
"type": "image",
|
|
"name": "Toby"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "white-cat",
|
|
"children": [
|
|
{
|
|
"type": "image",
|
|
"name": "Minnie"
|
|
},
|
|
{
|
|
"type": "image",
|
|
"name": "Lucy"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "folder",
|
|
"name": "future-cat",
|
|
"children": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"output": [
|
|
"Buffy",
|
|
"Gizmo",
|
|
"Fluffy",
|
|
"Harry",
|
|
"Daisy",
|
|
"Toby",
|
|
"Minnie",
|
|
"Lucy"
|
|
]
|
|
}
|
|
] |