flowingfog

偶尔刷题

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

2018年10月30日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/symmetric-tree/ 题目 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its cent 阅读全文
posted @ 2018-10-30 19:33 flowingfog 阅读(94) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/same-tree/ 题目 Given two binary trees, write a function to check if they are the same or not. Two binary trees 阅读全文
posted @ 2018-10-30 19:18 flowingfog 阅读(104) 评论(0) 推荐(0) 编辑

2018年10月29日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/merge-sorted-array/ 题目 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted 阅读全文
posted @ 2018-10-29 22:29 flowingfog 阅读(131) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/remove-duplicates-from-sorted-list/ 题目 Given a sorted linked list, delete all duplicates such that each eleme 阅读全文
posted @ 2018-10-29 22:23 flowingfog 阅读(117) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/climbing-stairs/ 题目 You are climbing a stair case. It takes n steps to reach to the top. Each time you can ei 阅读全文
posted @ 2018-10-29 22:14 flowingfog 阅读(105) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 中 来源 https://leetcode.com/problems/powx-n/ 题目 Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Example 2: Example 阅读全文
posted @ 2018-10-29 21:57 flowingfog 阅读(139) 评论(0) 推荐(0) 编辑

2018年10月19日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/sqrtx/description/ 题目 Implement int sqrt(int x). Compute and return the square root of x, where x is guarante 阅读全文
posted @ 2018-10-19 16:06 flowingfog 阅读(195) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/add-binary/description/ 题目 Given two binary strings, return their sum (also a binary string). The input strin 阅读全文
posted @ 2018-10-19 12:48 flowingfog 阅读(170) 评论(0) 推荐(0) 编辑

2018年10月18日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/plus-one/description/ 题目 Given a non-empty array of digits representing a non-negative integer, plus one to t 阅读全文
posted @ 2018-10-18 09:24 flowingfog 阅读(165) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/length-of-last-word/description/ 题目 Given a string s consists of upper/lower-case alphabets and empty space c 阅读全文
posted @ 2018-10-18 08:32 flowingfog 阅读(279) 评论(0) 推荐(0) 编辑