I am not able to find solution

can you help me to find time complexity

For which question do you want to find out the time complexity?

Q5 in quiz on time and space complexity