End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
paths to store path-value pairs.createPath, first check if the path is valid (not empty or just '/').paths; if it does, return false.paths (except for the root '/').paths with the given value and return true.get, check if the path exists in paths; if it does, return the associated value, otherwise return -1.