Teacher:In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
Teacher: Now, understand the problem? Solve this instance: [416, 325, 428, 413, 489, 314, 17, 375, 103, 16, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]
Student:
[416, 325, 428, 413, 16, 314, 17, 375, 103, 489, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]