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: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 30, 116, 287, 96, 420, 475, 382, 186]

Answer: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 475, 116, 287, 96, 420, 30, 382, 186]


Question: [207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 489, 100, 299, 277, 452]

Answer:
[207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 100, 489, 299, 277, 452]