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.
--------
Question: [170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]

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

Question: [243, 312, 181, 499, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 26, 226]

Answer: [243, 312, 181, 26, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 499, 226]

Question: [248, 260, 272, 62, 193, 361, 439, 491, 139, 335, 351, 161, 56, 190, 51, 384, 106, 20, 385, 202]

Answer:
[248, 260, 272, 62, 193, 361, 439, 20, 139, 335, 351, 161, 56, 190, 51, 384, 106, 491, 385, 202]