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.

[29, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 464, 289, 395, 187, 132, 258, 425]
[464, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 29, 289, 395, 187, 132, 258, 425]

[371, 401, 57, 175, 193, 59, 392, 179, 313, 25, 280, 369, 173, 345, 464, 247, 132, 121, 13, 208]
[371, 401, 57, 175, 193, 59, 392, 179, 313, 25, 280, 369, 173, 345, 13, 247, 132, 121, 464, 208]

[180, 328, 143, 398, 304, 22, 357, 214, 233, 334, 242, 477, 55, 281, 497, 71, 173, 381, 314, 336]

[180, 328, 143, 398, 304, 497, 357, 214, 233, 334, 242, 477, 55, 281, 22, 71, 173, 381, 314, 336]

