Hulu interview question

What would you name this function and how would you optimize it?

Interview Answers

Anonymous

26 Jun 2011

It was a basic substring function and to improve it, should remove the recursion.

Anonymous

18 Aug 2012

In the first interview, did you also ask to write codes or just to explain codes those were sent just before the interview ?