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: [438, 318, 174, 351, 424, 156, 443, 43, 142, 83, 234, 180, 494, 49, 376, 145, 115, 194, 280, 44]
Output:
[438, 318, 174, 351, 424, 156, 443, 494, 142, 83, 234, 180, 43, 49, 376, 145, 115, 194, 280, 44]