Simple Recursion in TypeScript | CodeSignal Learn