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.

Q: [224, 386, 364, 432, 468, 46, 205, 257, 308, 388, 261, 73, 402, 291, 403, 165, 147, 276, 222, 111]

A: [224, 386, 364, 432, 46, 468, 205, 257, 308, 388, 261, 73, 402, 291, 403, 165, 147, 276, 222, 111]
****
Q: [41, 462, 109, 353, 276, 318, 95, 383, 102, 150, 229, 211, 114, 118, 288, 113, 249, 107, 320, 368]

A: [462, 41, 109, 353, 276, 318, 95, 383, 102, 150, 229, 211, 114, 118, 288, 113, 249, 107, 320, 368]
****
Q: [488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 499, 465, 66, 426, 215, 43, 251, 374]

A:
[488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 43, 465, 66, 426, 215, 499, 251, 374]
****