Search
❯
Apr 18, 20261 min read
base case不难想到,但是在想如何找到next不重叠的block的时候卡住。看到答案才意识到可以使用bits来判断。如果两种block有重叠,那么可以bits and去排除