leetcode 二叉树是否平衡 Balanced Binary Tree

Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the...

2019-08-18 16:33:34

阅读数 0

评论数 0

leetcode 二叉树最深深度

Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest...

2019-08-16 14:37:52

阅读数 3

评论数 0

leetcode 二叉树最低深度

Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest...

2019-08-16 14:29:30

阅读数 7

评论数 0

leetcode Count and Say

The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 1112...

2019-08-14 16:27:56

阅读数 5

评论数 0

request failed status:0 LAYA网络请求报错

这个报错原先一直以为是服务端报错,我在服务端找半天没有,发现是LAYA网络请求就没发送出来。 前面提到,服务器在完成请求之后会在 XMLHttpRequest 的 onreadystatechange 属性中查找要调用的方法。这是真的,但还不完整。事实上,每当 HTTP 就绪状态改变时它都会...

2019-08-14 11:37:25

阅读数 28

评论数 0

Unity3d 粒子系统属性面板介绍

2019-08-08 15:35:23

阅读数 13

评论数 0

leetcode 爬楼梯 Climbing Stairs

You are climbing a stair case. It takesnsteps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl...

2019-07-31 18:12:30

阅读数 13

评论数 0

leetcode 获取平方根 sqrt($x)

Implementint sqrt(int x). Compute and return the square root ofx, wherexis guaranteed to be a non-negative integer. Since the return typeis an inte...

2019-07-30 15:56:30

阅读数 15

评论数 0

leetcode Maximum Subarray 加最大的子序串

Given an integer arraynums, find the contiguous subarray(containing at least one number) which has the largest sum and return its sum. Example: In...

2019-07-26 16:20:30

阅读数 8

评论数 0

leetcode 数组加int

989.Add to Array-Form of Integer Easy 14127FavoriteShare For a non-negative integerX, thearray-form ofXis an array of its digits in left to right ...

2019-07-24 17:55:35

阅读数 11

评论数 0

leetcode 66. Plus One 加一 数字相加

Given anon-emptyarray of digitsrepresenting a non-negative integer, plus one to the integer. The digits are stored such that the most significant di...

2019-07-24 17:11:05

阅读数 10

评论数 0

leetcode 二进制加法

Given two binary strings, return their sum (also a binary string). The input strings are bothnon-emptyand contains only characters1or0. Example 1: ...

2019-07-24 15:34:15

阅读数 9

评论数 0

leetcode Implement strStr() 字符串是否存在

Return the index of the first occurrence of needle in haystack, or-1if needle is not part of haystack. Example 1: Input: haystack = "hello&qu...

2019-07-15 16:09:50

阅读数 15

评论数 0


LAYA list怎么都不隐藏,原因是vScrollBarSkin 或者 hScrollBarSkin没有设置。 这个最好写入代码里面,只在设计界面很有可能不生效。 算是LAYA引擎的问题

2019-07-15 15:24:09

阅读数 63

评论数 0

vue项目出现 cannot get 错误解决方法

说明模块有更新 npm remove request npm install requset 这样就没事了

2019-06-18 18:08:35

阅读数 118

评论数 0

wamp PHP Startup: Unable to load dynamic library 'php_mongodb.dl

由于业务需要,需要使用mongodb,因此要增加mongodb扩展。由于我这边本地服务器用的时wamp环境。 不能像linux或者mac环境直接用命令增加扩展。 https://pecl.php.net/package/mongodb/1.5.5/windows 本地环境php7+,所以去...

2019-06-13 18:18:53

阅读数 68

评论数 0

leetcode Remove Duplicates from Sorted Array 数组去重

Given a sorted arraynums, remove the duplicatesin-placesuch that each element appear onlyonceand return the new length. Do not allocate extra space ...

2019-06-04 17:32:50

阅读数 25

评论数 0

leetcode Merge Sorted Array 合并有序数组

Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array. Note: The number of elements initialized innums1andnums2arema...

2019-06-04 16:14:31

阅读数 21

评论数 0

leetcode Merge Two Sorted Lists 合并有序列表

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Exampl...

2019-06-04 14:34:05

阅读数 22

评论数 0

leetcode Valid Parentheses 检查大小括号问题

Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid. An input string is valid if: Open b...

2019-06-03 17:45:57

阅读数 25

评论数 0

取消 删除