1. Write code to sort an array in descending order.
2. Write a function to add a node at the nth position in a linked list.
3. How will failed jobs be reprocessed?
4. What are the different types of inheritance, and can you explain them?
5. How do you manage an underperforming resource?