上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 57 下一页
摘要: 此博客连接: 题目连接:https://leetcode-cn.com/problems/binode-lcci/ BiNode 二叉树数据结构TreeNode可用来表示单向链表(其中left置空,right为下一个链表节点)。实现一个方法,把二叉搜索树转换为单向链表,要求依然符合二叉搜索树的性质, 阅读全文
posted @ 2020-07-27 23:03 萍2樱释 阅读(244) 评论(0) 推荐(0)
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/13377164.html 题目链接:https://leetcode-cn.com/problems/implement-queue-using-stacks/ 用栈实现队列 使用栈实现队列的下列操作: pu 阅读全文
posted @ 2020-07-25 16:24 萍2樱释 阅读(234) 评论(0) 推荐(0)
摘要: 此博客链接: 题目链接:https://leetcode-cn.com/problems/min-stack/submissions/ 设计一个支持 push ,pop ,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) —— 将元素 x 推入栈中。pop() —— 删除栈顶的元素 阅读全文
posted @ 2020-07-24 23:45 萍2樱释 阅读(82) 评论(0) 推荐(0)
摘要: 此博客链接: 题目链接:https://leetcode-cn.com/problems/bao-han-minhan-shu-de-zhan-lcof/ 定义栈的数据结构,请在该类型中实现一个能够得到栈的最小元素的 min 函数在该栈中,调用 min、push 及 pop 的时间复杂度都是 O(1 阅读全文
posted @ 2020-07-24 00:54 萍2樱释 阅读(132) 评论(0) 推荐(0)
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/13362249.html 题目链表:https://leetcode-cn.com/problems/cong-wei-dao-tou-da-yin-lian-biao-lcof/ 输入一个链表的头节点,从尾 阅读全文
posted @ 2020-07-22 17:49 萍2樱释 阅读(160) 评论(0) 推荐(0)
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/13362021.html 题目链接: 反转链表 定义一个函数,输入一个链表的头节点,反转该链表并输出反转后链表的头节点。 示例: 输入: 1->2->3->4->5->NULL输出: 5->4->3->2-> 阅读全文
posted @ 2020-07-22 17:19 萍2樱释 阅读(177) 评论(0) 推荐(0)
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/13358209.html 题目链接:https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci/submissions/ 实现一种算法,找出 阅读全文
posted @ 2020-07-21 23:48 萍2樱释 阅读(192) 评论(0) 推荐(0)
摘要: 此博客连接: 第一章 基本概念 数据:信息的载体。 数据元素:数据的基本单位。 第一章 链表 学习链接:https://blog.csdn.net/Miss_Monster/article/details/83657467(概念) 学习链接:https://www.jianshu.com/p/6eb 阅读全文
posted @ 2020-07-20 23:49 萍2樱释 阅读(169) 评论(0) 推荐(0)
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/13340369.html 通过Get方法获取php文件 通过Get方法给php参数,读取php文件 举例 在html中给金字塔层数,读取php文件中的金字塔层数 要求 给不同的参数,使金字塔输出不同的层数 h 阅读全文
posted @ 2020-07-19 16:59 萍2樱释 阅读(2782) 评论(0) 推荐(2)
摘要: 此博客链接: https://www.cnblogs.com/ping2yingshi/p/13337999.html 搜索插入位置 题目链接:https://leetcode-cn.com/problems/search-insert-position/submissions/ 给定一个排序数组和 阅读全文
posted @ 2020-07-18 22:57 萍2樱释 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 57 下一页