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: [41, 462, 109, 353, 276, 318, 95, 383, 102, 150, 229, 211, 114, 118, 288, 113, 249, 107, 320, 368]

Answer: [462, 41, 109, 353, 276, 318, 95, 383, 102, 150, 229, 211, 114, 118, 288, 113, 249, 107, 320, 368]


Question: [347, 362, 411, 393, 124, 247, 476, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 87, 263]

Answer: [347, 362, 411, 393, 124, 247, 87, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 476, 263]


Question: [272, 456, 486, 115, 337, 359, 195, 108, 216, 68, 421, 435, 83, 134, 348, 69, 99, 476, 427, 145]

Answer:
[272, 456, 68, 115, 337, 359, 195, 108, 216, 486, 421, 435, 83, 134, 348, 69, 99, 476, 427, 145]


