SentinelOne Interview Question

How do you describe the following tree structure in a string