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.

[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]

[189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 493, 142, 479, 163, 87, 162, 42, 128, 94]
[189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 42, 142, 479, 163, 87, 162, 493, 128, 94]

[175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]

[175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]

