码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
Ubuntu 16.04 安装 QT Create 5.3.1
Ubuntu 16.04 安装 QT Create 5.3.1 (qt-opensource-linux-x86-5.3.1.run)后新建一个 QT Quick 的工程。直接编译,出现如下错误的提示: qt cannot find lgl 刚开始按网上的方法,需要修改依赖库的版本,但依赖是一层接着 ...
分类:系统相关   时间:2016-10-10 13:53:23    阅读次数:325
Contains Duplicate III
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] andnums[j] i ...
分类:其他好文   时间:2016-10-10 07:44:46    阅读次数:197
3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:其他好文   时间:2016-10-10 07:44:45    阅读次数:166
387. First Unique Character in a String
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: ...
分类:其他好文   时间:2016-10-10 07:41:49    阅读次数:147
[LintCode] Median of Two Sorted Arrays 两个有序数组的中位数
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. There are two sorted arrays A and B of siz ...
分类:编程语言   时间:2016-10-10 07:39:23    阅读次数:228
位运算取第一个非0的位 r & (~(r-1))
Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find ...
分类:其他好文   时间:2016-10-10 01:16:23    阅读次数:246
416. Partition Equal Subset Sum
题目: Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in ...
分类:其他好文   时间:2016-10-09 20:11:23    阅读次数:149
LeetCode - 404. Sum of Left Leaves
Find the sum of all left leaves in a given binary tree. Example: ...
分类:其他好文   时间:2016-10-09 19:38:42    阅读次数:115
mysql 递归查询
1、创建表: 2、初始数据: 3、向下递归: 利用find_in_set()函数和group_concat()函数实现递归查询: 4、调用方式: 查询id为"4"下面的所有节点 5、向上递归: 6、调用方式: 查询id为"7"的节点的所有上级节点: ...
分类:数据库   时间:2016-10-09 16:53:00    阅读次数:250
Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:其他好文   时间:2016-10-09 13:46:47    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!