构造
文章平均质量分 95
memcpy0
希望探索文理结合的自由之路。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 1317. 将整数转换为两个无零整数的和【枚举,随机,构造】简单
Given an integer n. No-Zero integer is a positive integer which doesn’t contain any 0 in its decimal representation.Return a list of two integers [A, B]where:A and B are No-Zero integers.A + B = nIt’s guarateed that there is at least one valid soluti原创 2020-11-06 17:33:51 · 426 阅读 · 0 评论 -
LeetCode 1040. Moving Stones Until Consecutive II【排序,滑动窗口,双指针】中等
本文属于「征服LeetCode」系列文章之一,这一系列正式开始于2021/08/12。由于LeetCode上部分题目有锁,本系列将至少持续到刷完所有无锁题之日为止;由于LeetCode还在不断地创建新题,本系列的终止日期可能是永远。在这一系列刷题文章中,我不仅会讲解多种解题思路及其优化,还会用多种编程语言实现题解,涉及到通用解法时更将归纳总结出相应的算法模板。为了方便在PC上运行调试、分享代码文件,我还建立了相关的。原创 2023-04-08 10:30:38 · 460 阅读 · 0 评论
分享