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: [332, 68, 367, 40, 74, 273, 103, 130, 256, 381, 294, 376, 493, 307, 151, 37, 464, 456, 432, 272]
Output:
[332, 68, 367, 40, 74, 273, 103, 130, 256, 381, 294, 376, 37, 307, 151, 493, 464, 456, 432, 272]