Instructions: 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: [48, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 494, 171, 282, 120, 473, 474]
Output:
[494, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 48, 171, 282, 120, 473, 474]