1861. Rotating the Box
## 思路
类似move zeroes
用idx记录塞石头(#)的位置
旋转90度 box[r][c] -> res[idx][len_r-1-r]
每个row从右往左扫
## Code
```python
class Solution:
def rotateTheBox(self, box: List[List[str]]) -> List[List[str]]:
len_r, len_c = len(box), len(box[0])
res = [['.'] * len_r for _ in range(len_c)]
for r in range(len_r):
idx = len_c-1
for c in range(len_c-1, -1, -1):
if box[r][c] == '#':
res[idx][~r] = '#'
idx -= 1
elif box[r][c] == '*':
res[c][~r] = '*'
idx = c-1
return res
```