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.

[EX Q]: [319, 207, 24, 411, 458, 337, 145, 59, 387, 265, 199, 326, 262, 313, 282, 136, 310, 351, 42, 385]
[EX A]: [319, 207, 458, 411, 24, 337, 145, 59, 387, 265, 199, 326, 262, 313, 282, 136, 310, 351, 42, 385]

[EX Q]: [328, 399, 81, 127, 466, 77, 360, 489, 346, 413, 406, 359, 431, 197, 26, 451, 120, 237, 443, 427]
[EX A]: [328, 399, 81, 127, 466, 77, 360, 26, 346, 413, 406, 359, 431, 197, 489, 451, 120, 237, 443, 427]

[EX Q]: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 494, 417, 124, 10, 206, 428, 387]
[EX A]:
[412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 10, 417, 124, 494, 206, 428, 387]

