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: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]
Student:
[178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]