Parameters:
- Can be solved in any language
- Deliver a working runnable solution.
- Style and approach is completely up to the developer.
Given the string:
"(id,created,employee(id,firstname,employeeType(id), lastname),location)"
Output the following:
id
created
employee
- id
- firstname
- employeeType
-- id
- lastname
location
created
employee
- employeeType
-- id
- firstname
- id
- lastname
id
location