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]: [295, 472, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 50, 422, 187, 350, 324]
[A]: [295, 50, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 472, 422, 187, 350, 324]

[Q]: [60, 83, 17, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 466, 366, 444, 237]
[A]: [60, 83, 466, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 17, 366, 444, 237]

[Q]: [382, 46, 60, 442, 155, 302, 345, 61, 277, 283, 393, 135, 452, 94, 322, 176, 64, 16, 121, 79]
[A]:
[382, 46, 60, 442, 155, 302, 345, 61, 277, 283, 393, 135, 16, 94, 322, 176, 64, 452, 121, 79]