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.

[314, 122, 249, 424, 38, 90, 272, 426, 97, 476, 491, 340, 312, 34, 311, 405, 438, 433, 301, 206]
[314, 122, 249, 424, 38, 90, 272, 426, 97, 476, 34, 340, 312, 491, 311, 405, 438, 433, 301, 206]

[275, 398, 432, 305, 25, 124, 329, 12, 422, 466, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]
[275, 398, 432, 305, 25, 124, 329, 466, 422, 12, 295, 96, 29, 365, 427, 389, 284, 397, 13, 99]

[420, 59, 180, 32, 111, 494, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]

[420, 59, 180, 494, 111, 32, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]