摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
每日算法 those times when you get up early and you work hard; those times when you stay up late and you work hard; those times when don’t feel like workin 阅读全文
摘要:
贪心算法入门(greedy algorithm) 贪心算法,又名贪婪法,是寻找最优解问题的常用方法,这种方法模式一般将求解过程分成若干个步骤,但每个步骤都应用贪心策略,选取当前状态下最好/最优的选择(局部最优解),并以此希望最后堆叠出的结果也是最好/最优的解。 解决贪心问题的基本步骤 1. 将原问题 阅读全文
摘要:
线段树模板 单点修改 区间查询模板 阅读全文