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: [384, 245, 493, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 13, 160, 186]

A: [384, 245, 13, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 493, 160, 186]
****
Q: [192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 496, 19, 117, 14, 265, 140, 430, 484]

A: [192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 14, 19, 117, 496, 265, 140, 430, 484]
****
Q: [146, 168, 185, 214, 455, 494, 354, 479, 233, 332, 118, 371, 122, 384, 447, 39, 422, 352, 127, 99]

A:
[146, 168, 185, 214, 455, 39, 354, 479, 233, 332, 118, 371, 122, 384, 447, 494, 422, 352, 127, 99]
****