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]: [328, 399, 81, 127, 466, 77, 360, 489, 346, 413, 406, 359, 431, 197, 26, 451, 120, 237, 443, 427]
[A]: [328, 399, 81, 127, 466, 77, 360, 26, 346, 413, 406, 359, 431, 197, 489, 451, 120, 237, 443, 427]


[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]: [187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 494, 261, 475, 127, 10, 105, 310, 287, 354]
[A]:
[187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 10, 261, 475, 127, 494, 105, 310, 287, 354]


