摘要:
题目链接:https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof/ 归并排序 class Solution { public: int merge(vector<int>& nums, int l, int r) { if(l 阅读全文
posted @ 2020-05-04 15:01
NaughtyCoder
阅读(90)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode-cn.com/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ 搜索与回溯 class Solution { public: int get_single_sum(int x){ int s = 0; while(x 阅读全文
posted @ 2020-05-04 14:20
NaughtyCoder
阅读(81)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof/ dfs class Solution { public: bool exist(vector<vector<char>>& board, string word) 阅读全文
posted @ 2020-05-04 13:45
NaughtyCoder
阅读(78)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode cn.com/problems/biao shi shu zhi de zi fu chuan lcof/ 阅读全文
posted @ 2020-05-04 10:41
NaughtyCoder
阅读(87)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode-cn.com/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/ 数学 先确定第n位所在的数字是几位数; n - 10 - 90 * 2 - 900 * 3 - 9000 * 4 ... 确定第n 阅读全文
posted @ 2020-05-04 10:37
NaughtyCoder
阅读(116)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode cn.com/problems/er cha sou suo shu de hou xu bian li xu lie lcof/ 递归 阅读全文
posted @ 2020-05-04 10:20
NaughtyCoder
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号