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: [116, 179, 154, 304, 278, 217, 92, 479, 371, 145, 273, 61, 369, 135, 206, 115, 182, 212, 269, 63]
Output:
[116, 179, 154, 304, 278, 217, 92, 61, 371, 145, 273, 479, 369, 135, 206, 115, 182, 212, 269, 63]