725 B
725 B
Hints
General
- Read about the
Access
behaviour in the documentation.
1. Extract data from a nested map structure
- First tokenize the string path to a usable state. You can make use of
String
module functions. - Write a recursive function to traverse the nested-map structure to retrieve the value or return
nil
.
2. Refactor using included functions
- Read through the various
Kernel
module functions, to find one that might shorten/simplify your approach.