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: [312, 141, 46, 17, 455, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]

Answer: [312, 141, 46, 455, 17, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]


Question: [164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]

Answer: [164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]


Question: [25, 198, 30, 463, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]

Answer:
[463, 198, 30, 25, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]


