Honeywell interview question

recursion