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.

[281, 273, 442, 29, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 468, 224, 47, 377, 32]
[281, 273, 442, 468, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 29, 224, 47, 377, 32]

[103, 386, 52, 473, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 25, 312, 34, 401]
[103, 386, 52, 25, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 473, 312, 34, 401]

[383, 310, 136, 63, 432, 287, 124, 203, 359, 221, 423, 493, 265, 363, 146, 76, 210, 48, 32, 119]

[383, 310, 136, 63, 432, 287, 124, 203, 359, 221, 423, 32, 265, 363, 146, 76, 210, 48, 493, 119]