Dsa
Recursion
Warm-up
Find the Maximum in a List
Write a function that finds the maximum value in a list of integers using recursion. For example, given the input '[3, 1, 4, 1, 5, 9]', the output should be '9'.
Example Input:
3 1 4 1 5 9
Example Output:
9
Key concepts
recursionlist processing
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now