摘要: 转载自 https://www.cnblogs.com/littlehb/p/14957794.html leetcode周赛第四题需要用到二维差分,所以就找了篇文章,便于查看 一维差分 定义 b [ i ] = a [ i ] − a [ i − 1 ] ,称b数组是a数组的差分数组。 举个栗子: 阅读全文
posted @ 2022-01-11 00:06 古月日月衣羊 阅读(267) 评论(0) 推荐(0)