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: [357, 470, 83, 330, 213, 156, 286, 409, 334, 160, 316, 375, 215, 232, 468, 358, 161, 418, 25, 458]
Output:
[357, 25, 83, 330, 213, 156, 286, 409, 334, 160, 316, 375, 215, 232, 468, 358, 161, 418, 470, 458]