Definition: 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.
Input: [124, 237, 236, 395, 482, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 10, 235, 77, 15, 194]
Output:
[124, 237, 236, 395, 10, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 482, 235, 77, 15, 194]