2766. 重新放置石块
重新放置石块
- 难度:
medium
- 原始链接: https://leetcode.cn/problems/relocate-marbles
- 标签:
哈希
解法一: 哈希
1 | func relocateMarbles(nums []int, moveFrom []int, moveTo []int) []int { |
medium
哈希
1 | func relocateMarbles(nums []int, moveFrom []int, moveTo []int) []int { |