Splunk Interview Question

Coding - OOP modelling ; recursion