I have a feeling I would love this mission, if only I could figure out what to do.
Let's take the first example.
>>> int.from_bytes('hello'.encode(), byteorder='big')
448378203247
First, how do I determine the slashes? I guess 4/48, but then what? 37 is again ascending, same as 48. Or do I just put /3/7? But then the sole digit is both ascending and descending.
And then, how to actually get from there to
{4: {4: {8: {3: {7: {0: {4: {}, 7: {}},
2: {2: {}}
},
8: {3: {}}
} } } } }
? I really have no idea. How can 44837 be one branch, and then 8 be on another??
Created at: 2021/01/28 23:23; Updated at: 2024/03/29 07:42
The question is resolved.