摘要:
题目链接:https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof/ 递归实现1 二叉搜索树进行中序遍历会得到递增排序的序列; 将递增排序的序列中每个元素的left和right修改,用两个指针 阅读全文
posted @ 2020-04-29 23:25
NaughtyCoder
阅读(103)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof/ 回溯1 class Solution { public: vector<string> ans; string path; vector<string> permut 阅读全文
posted @ 2020-04-29 18:22
NaughtyCoder
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号