码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
Leetcode 116. Populating next right pointers in each node I and II
题目1: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to ...
分类:其他好文   时间:2017-02-18 00:56:17    阅读次数:220
Arithmetic Slice
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:其他好文   时间:2017-02-16 00:14:49    阅读次数:155
Behave 基础
在你使用behave或其他BDD框架之前, 你应该选择一个断言库。 python有很多这方面的第三方库。例如: hamcrest,nose.tools, should-dsl, sure, compare, describe等。选择一个自己喜欢的。 参数化step 场景概要(scenario out ...
分类:其他好文   时间:2017-02-15 16:38:50    阅读次数:258
leetcode : remove duplicates from sorted array [基本功]
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:其他好文   时间:2017-02-15 15:00:33    阅读次数:170
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. tag : du ...
分类:其他好文   时间:2017-02-14 20:21:13    阅读次数:130
Construct the Rectangle
For a web developer, it is very important to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now i ...
分类:其他好文   时间:2017-02-12 18:47:13    阅读次数:126
350. Intersection of Two Arrays II
Given two arrays, write a function to compute their intersection.Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2].Note:Each element i... ...
分类:其他好文   时间:2017-02-11 15:50:40    阅读次数:202
[LeetCode] Increasing Subsequences 递增子序列
Given an integer array, your task is to find all the different possible increasing subsequences of the given array, and the length of an increasing su ...
分类:其他好文   时间:2017-02-10 23:36:25    阅读次数:221
Codeforces Round #396 (Div. 2) C题Mahmoud and a Message(dp)解题报告
Mahmoud wrote a message s of length n. He wants to send it as a birthday present to his friend Moaz who likes strings. He wrote it on a magical paper ...
分类:其他好文   时间:2017-02-10 01:43:56    阅读次数:264
[URAL-1517][求两个字符串的最长公共子串]
Freedom of Choice URAL - 1517 Background Before Albanian people could bear with the freedom of speech (this story is fully described in the problem "F ...
分类:其他好文   时间:2017-02-09 23:03:20    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!