码迷,mamicode.com
首页 >  
搜索关键字:can    ( 23056个结果
leetcode 27 Remove Element
Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't ma
分类:其他好文   时间:2016-02-26 23:38:31    阅读次数:353
lintcode-easy-Longest Increasing Continuous Subsequence
Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: Can be from right to lef
分类:其他好文   时间:2016-02-26 08:07:58    阅读次数:144
lintcode-easy-Invert Binary Tree
Invert a binary tree. Example 1 1 / \ / \ 2 3 => 3 2 / \ 4 4 Challenge Do it in recursion is acceptable, can you do it without recursion? 1. 递归 /** *
分类:其他好文   时间:2016-02-26 06:56:51    阅读次数:237
1102. Invert a Binary Tree (25)
The following is from Max Howell @twitter: Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree on a
分类:其他好文   时间:2016-02-26 01:46:37    阅读次数:216
Lazarus 1.6 增加了新的窗体编辑器——Sparta_DockedFormEditor.ipk
一下是该控件官网的介绍 “Hello A package for a docked form editor can be found in : components/sparta/dockedformeditor/sparta_dockedformeditor.lpk It was first cl...
分类:Windows程序   时间:2016-02-26 01:45:47    阅读次数:236
连接Mysql提示Can’t connect to local MySQL server through socket的解决方法
mysql,Mysqldump,Mysqladmin,php连接mysql服务常会提示下面错误: 1 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
分类:数据库   时间:2016-02-26 00:14:53    阅读次数:300
【LeetCode】【Python】Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 思路:笨办法是每一个节点再开辟一个属性存放是否訪问过,这样遍历一遍就可以知道是
分类:编程语言   时间:2016-02-25 15:18:32    阅读次数:170
Multiply Strings
题目: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non
分类:其他好文   时间:2016-02-25 13:42:17    阅读次数:169
LeetCode -- Unique Paths
Question: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or righ
分类:其他好文   时间:2016-02-25 13:39:01    阅读次数:138
EntityFramework Code First 添加唯一键
在EntityFramework 6.1后可以直接使用 [Index("TitleIndex", IsUnique = true)] public string Title { get; set; } 在旧版本中, Unfortunately you can't define it as uniqu
分类:其他好文   时间:2016-02-25 13:32:40    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!