Minimum Average of smallest and largest elements
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\nsimple approach to solve in python\n\n# Complexity\n\n\n\n\n# Code\n\ncla
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\nsimple approach to solve in python\n\n# Complexity\n\n\n\n\n# Code\n```\nclass Solution:\n    def minimumAverage(self, nums: List[int]) -> float:\n        size=len(nums)\n        arr=[]\n        for i in range(0,size//2):\n            maxm=max(nums)\n            minm=min(nums)\n            average=float((minm+maxm)/2)\n            arr.append(average)\n            nums.remove(maxm)\n            nums.remove(minm)\n        return min(arr) \n```
['Python3']