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.

[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]
[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]

[16, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 444, 94, 285, 231, 375, 341, 373]
[444, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 16, 94, 285, 231, 375, 341, 373]

[170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]

[170, 14, 490, 349, 135, 345, 287, 182, 394, 23, 97, 498, 418, 274, 285, 78, 147, 215, 104, 387]

