Dsa
Sorting
Warm-up
Number List Organizer
You are given a list of integers. Your task is to sort these integers in descending order while removing any duplicates. Print the sorted unique integers as a single line of space-separated values.
Example Input:
3
1
2
2
3
1
Example Output:
3 2 1
Key concepts
sortingnumbersbasic programming
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