Detailed Instructions: 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.
Problem:[280, 30, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 408, 121, 225, 212]
Solution:
[280, 408, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 30, 121, 225, 212]