Create a program to sort a hardcoded array in descending order without using built-in methods.
MediumProblem Statement
Create a program to sort a hardcoded array in descending order without using built-in methods.
Sample Input
Array: [5, 2, 9, 1, 7]
Sample Output
Sorted Array: 9, 7, 5, 2, 1
Limits
Time: 2s · Memory: 256 MB