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: [23, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 481, 361, 393, 375, 208, 279, 127]

A: [481, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 23, 361, 393, 375, 208, 279, 127]
****
Q: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 30, 116, 287, 96, 420, 475, 382, 186]

A:
[134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 475, 116, 287, 96, 420, 30, 382, 186]
****