Bloomberg interview question

Write a function to cause stackoverflow.

Interview Answers

Anonymous

13 Apr 2010

That is not true if the compiler use tail recursion. Using tail recursion will not cause a stack overflow.

Anonymous

13 Jan 2011

Call a function inside of itself with no exist condition

Anonymous

12 Mar 2010

Call a function from itself in an infinite loop.