Detailed Instructions: 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.
Problem:[489, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 12, 57, 332, 194]
Solution:
[12, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 489, 57, 332, 194]