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]: [480, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 62, 440, 191, 384, 442]
[EX A]: [62, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 480, 440, 191, 384, 442]

[EX Q]: [243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
[EX A]: [243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]

[EX Q]: [117, 339, 458, 196, 352, 486, 260, 72, 55, 238, 395, 455, 33, 118, 142, 408, 348, 70, 379, 233]
[EX A]:
[117, 339, 458, 196, 352, 33, 260, 72, 55, 238, 395, 455, 486, 118, 142, 408, 348, 70, 379, 233]