Dsa
Recursion
Warm-up
Finding the Maximum Element in List
Given a list of integers, write a program to find the maximum element in the list using recursion. The input is a single line of space-separated integers. Output the maximum integer found in the list.
Example:
Input: '3 5 7 2 8'
Output: 8
Key concepts
recursionarraysmax
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