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.

Example Input: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 28, 280, 474, 496, 379, 390, 392, 217, 422, 165]
Example Output: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 496, 280, 474, 28, 379, 390, 392, 217, 422, 165]

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

Example Input: [339, 229, 429, 239, 321, 334, 115, 36, 456, 269, 402, 483, 230, 453, 378, 262, 299, 227, 238, 268]
Example Output:
[339, 229, 429, 239, 321, 334, 115, 483, 456, 269, 402, 36, 230, 453, 378, 262, 299, 227, 238, 268]

