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.

[194, 357, 428, 137, 258, 406, 376, 68, 190, 99, 449, 220, 52, 340, 432, 88, 112, 40, 39, 326]
[194, 357, 428, 137, 258, 406, 376, 68, 190, 99, 39, 220, 52, 340, 432, 88, 112, 40, 449, 326]

[378, 396, 254, 444, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 69, 76]
[378, 396, 254, 69, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 444, 76]

[262, 28, 30, 382, 287, 474, 413, 349, 356, 15, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]

[262, 28, 30, 382, 287, 15, 413, 349, 356, 474, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]

