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: [83, 244, 378, 130, 291, 190, 199, 474, 112, 225, 109, 450, 228, 439, 143, 227, 394, 47, 203, 246]

A: [83, 244, 378, 130, 291, 190, 199, 47, 112, 225, 109, 450, 228, 439, 143, 227, 394, 474, 203, 246]
****
Q: [265, 209, 433, 482, 412, 249, 19, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]

A: [265, 209, 433, 19, 412, 249, 482, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]
****
Q: [190, 136, 460, 107, 184, 48, 278, 318, 27, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]

A:
[190, 136, 27, 107, 184, 48, 278, 318, 460, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]
****