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.

[360, 195, 110, 450, 104, 17, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]
[360, 195, 110, 17, 104, 450, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]

[295, 472, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 50, 422, 187, 350, 324]
[295, 50, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 472, 422, 187, 350, 324]

[406, 12, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 434, 69, 379, 200, 165, 263]

[406, 434, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 12, 69, 379, 200, 165, 263]