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: [133, 356, 66, 449, 397, 410, 374, 329, 279, 40, 169, 82, 75, 19, 186, 65, 61, 414, 243, 30]
Output:
[133, 356, 66, 19, 397, 410, 374, 329, 279, 40, 169, 82, 75, 449, 186, 65, 61, 414, 243, 30]