Synopsys interview question

recursion related questions