Q: 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.
[190, 136, 460, 107, 184, 48, 278, 318, 27, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]
A:
[190, 136, 27, 107, 184, 48, 278, 318, 460, 308, 173, 333, 281, 253, 296, 396, 299, 90, 255, 301]