I have an array:
["a", "1", "2"]
and a kinda complex dictionary:
{
"a":{
"1": {
"1": "Some text",
"2": "This is the text I want",
"3": "Even more"
},
"2": {
"1": "Some text",
"2": "More text"
}
},
"b": {
"1": "Here is some text",
"2": {
1: "Some text"
},
"3": {}
}
}
How can I use my array, to get "This is the text I want"? I'm new to recursion, so I don't really know how to solve this problem correctly