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]: [314, 122, 249, 424, 38, 90, 272, 426, 97, 476, 491, 340, 312, 34, 311, 405, 438, 433, 301, 206]
[EX A]: [314, 122, 249, 424, 38, 90, 272, 426, 97, 476, 34, 340, 312, 491, 311, 405, 438, 433, 301, 206]

[EX Q]: [329, 163, 460, 187, 365, 470, 317, 350, 354, 431, 378, 271, 223, 294, 48, 118, 450, 151, 337, 284]
[EX A]: [329, 163, 460, 187, 365, 48, 317, 350, 354, 431, 378, 271, 223, 294, 470, 118, 450, 151, 337, 284]

[EX Q]: [332, 397, 20, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 440, 315]
[EX A]:
[332, 397, 440, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 20, 315]