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: [336, 470, 324, 58, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]

A: [336, 58, 324, 470, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]
****
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]
****
Q: [74, 53, 246, 327, 356, 92, 456, 452, 29, 209, 396, 463, 210, 324, 225, 89, 286, 122, 437, 118]

A:
[74, 53, 246, 327, 356, 92, 456, 452, 463, 209, 396, 29, 210, 324, 225, 89, 286, 122, 437, 118]
****
