3 ms·Is there a non-recursive solution for this question?by dodger1 17y agoIs there a non-recursive solution for this question?