One of the Easiest Solution in python
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\n# import numpy as np\nclass Solution:\n    def reversematrix(self,box):\n        n=len(box)\n        m=len(box[0])\n        rtmat=[[0] * n for _ in range(m)]\n        for i in range (n):\n            for j in range (m):\n                rtmat[j][n-1-i]=box[i][j]\n        return rtmat\n    def rotateTheBox(self, box: List[List[str]]) -> List[List[str]]:\n        n=len(box)\n        m=len(box[0])\n        i=0\n        while i<n:\n            empty =m-1\n            j=m-1\n            while j>=0:\n                if box[i][j]==\'*\':\n                    empty =j-1\n                elif box[i][j]==\'#\':\n                    box[i][j]=\'.\'\n                    box[i][empty]=\'#\'\n                    empty -=1\n                j-=1\n            i+=1\n        # Using numpy array \n        # box_np=np.array(box)\n        # rtbox =np.rot90(box_np,k=-1)\n        # return rtbox.tolist()\n        return self.reversematrix(box)\n```
['Python3']