E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Solutions
Same Tree (2
solutions
)
Same Tree Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. &nb
·
2015-11-09 13:07
LeetCode
Symmetric Tree (2
solutions
)
Symmetric Tree Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / \ 2 2 / \ / \ 3 4 4 3
·
2015-11-09 13:06
LeetCode
Binary Tree Level Order Traversal (2
solutions
)
Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example:Given binary tree {
·
2015-11-09 13:06
LeetCode
Minimum Depth of Binary Tree (2
solutions
)
Minimum Depth of Binary Tree 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 leaf node.
·
2015-11-09 13:01
LeetCode
Populating Next Right Pointers in Each Node II (2
solutions
)
Populating Next Right Pointers in Each Node II Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous sol
·
2015-11-09 13:58
LeetCode
How to Build Office Developer Tools Projects with TFS Team Build 2012
tools for developing apps for Office and apps for SharePoint, as well as SharePoint farm and sandboxed
solutions
·
2015-11-09 13:51
developer
Developing SharePoint 2010 Search
Solutions
(Fast and SharePoint)
sharepointfieldnotes.blogspot.com/2010/12/developing-sharepoint-2010-search.html] Developing SP2010 custom search
solutions
·
2015-11-09 13:11
SharePoint
Visual Studio模板信息
找不到visual studio模板信息 解决方法 菜单->Tools->option->projects &
Solutions
-> 将 "Visual
·
2015-11-09 13:21
IO
分享一个VS2010插件 GBackupSolution Add-in for Visual Studio 2008/2010
GBackupSolution Add-in for Visual Studio 2008/2010 免费 创作者 Tiệp Lê (TMA
Solutions
)
·
2015-11-09 12:59
backup
Facebook 集成 Fail when Facebook api request using Facebook4j
Fail when Facebook api request using Facebook4j I found the
solutions
.
·
2015-11-08 15:37
Facebook
BOOST库的配置
2.设置环境变量BOOSTROOT为D:\boost\boost_1_34_1 3.在visual studio 2005的Tools->Options->Projects and
Solutions
·
2015-11-08 15:17
boost
给VSTO 解决方案指定产品名、发布者以及其他属性信息
Development with Visual Studio : Specifying a Product Name, Publisher Name and other properties for VSTO
solutions
·
2015-11-08 14:19
解决方案
Huawei Wins World' s First 4G/LTE Commercial Contract from TeliaSonera
("Huawei"), a leader in providing next generation telecommunications network
solutions
for
·
2015-11-08 12:10
first
UVA 11020 Efficient
Solutions
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1961 题意:依次给出n个点。每个点的优先级为x小的优先级大;x相同的y小的优先级大。维护一个点的数列,使得到目前为止优先级大的都保存在其中(可能有多个同时
·
2015-11-08 11:35
uva
Generate Parentheses (2
solutions
)
Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "(
·
2015-11-08 11:23
LeetCode
Swap Nodes in Pairs (3
solutions
)
Swap Nodes in Pairs Given a linked list, swap every two adjacent nodes and return its head. For example,Given 1->2->3->4, you should return the list as 2->1->4->3. Your
·
2015-11-08 11:22
LeetCode
Reverse Nodes in k-Group (2
solutions
)
Reverse Nodes in k-Group Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left
·
2015-11-08 11:21
LeetCode
Next Permutation (2
solutions
)
Next Permutation Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the
·
2015-11-08 11:19
LeetCode
Longest Valid Parentheses (2
solutions
)
Longest Valid Parentheses Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()"
·
2015-11-08 11:18
LeetCode
Combination Sum II (2
solutions
)
Combination Sum II Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C&
·
2015-11-08 11:14
LeetCode
First Missing Positive (3
solutions
)
First Missing Positive Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algor
·
2015-11-08 11:13
LeetCode
Maximum Gap (2
solutions
)
Maximum Gap Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/space. Return 0 if the array contains less than 2
·
2015-11-08 11:12
LeetCode
Wildcard Matching (2
solutions
)
Wildcard Matching Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequ
·
2015-11-08 11:11
LeetCode
Anagrams (2
solutions
)
Anagrams Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. 首先解释一下什么是anagrams:在不考虑顺序的情况下,包含相同字母的字符串组成anagrams 例如: 1、{"
·
2015-11-08 11:08
LeetCode
Permutations (2
solutions
)
Permutations Given a collection of numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2]
·
2015-11-08 11:08
LeetCode
Pow(x, n) (3
solutions
)
Pow(x, n) Implement pow(x, n). 按照定义做的O(n)肯定是TLE的。 利用这个信息:x2n = (xn)2 有个注意点,当n为负是,直接取反是不可行的。 由于int的表示范围是[2-31, 231-1],当n为INT_MIN时,取反会溢出。 因此需要对n==INT_MIN单独考虑。 另外,除以2可以用右移1位来实现。 &nbs
·
2015-11-08 11:07
LeetCode
【LeetCode】52. N-Queens II
Now, instead outputting board configurations, return the total number of distinct
solutions
.
·
2015-11-08 11:06
LeetCode
Plus One (2
solutions
)
Plus One Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 从个位数字往
·
2015-11-08 11:56
LeetCode
Sum Root to Leaf Numbers (2
solutions
)
Sum Root to Leaf Numbers Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 w
·
2015-11-08 11:53
LeetCode
Clone Graph (3
solutions
)
Clone Graph Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled uniquely. We use&n
·
2015-11-08 11:52
LeetCode
Single Number II (3
solutions
)
Single Number II Given an array of integers, every element appears threetimes except for one. Find that single one. Note:Your algorithm should have a linear runtime complexity. Could you implem
·
2015-11-08 11:50
LeetCode
Binary Tree Preorder Traversal (3
solutions
)
Binary Tree Preorder Traversal Given a binary tree, return the preorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3 &
·
2015-11-08 11:46
LeetCode
Binary Tree Postorder Traversal (3
solutions
)
Binary Tree Postorder Traversal Given a binary tree, return the postorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3
·
2015-11-08 11:46
LeetCode
Find Minimum in Rotated Sorted Array (3
solutions
)
Find Minimum in Rotated Sorted Array Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. You may
·
2015-11-08 11:43
LeetCode
Find Minimum in Rotated Sorted Array II (3
solutions
)
Find Minimum in Rotated Sorted Array II Follow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppo
·
2015-11-08 11:43
LeetCode
Remove Nth Node From End of List (2
solutions
)
Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2
·
2015-11-08 11:42
LeetCode
Longest Common Prefix (2
solutions
)
Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. 解法一: 思路:设置一个位数记录器num,遍历所有字符串的第num位。如果都相同,则num++。 直到某字符串结束或者所有字符串的第num位不都相同,则返回[
·
2015-11-08 11:39
LeetCode
Combination Sum (2
solutions
)
Combination Sum Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated numb
·
2015-11-08 11:33
LeetCode
Binary Tree Level Order Traversal II (2
solutions
)
Binary Tree Level Order Traversal II Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For e
·
2015-11-08 11:31
LeetCode
Search Insert Position (2
solutions
)
Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no du
·
2015-11-08 11:29
LeetCode
Maximum Depth of Binary Tree (2
solutions
)
Maximum Depth of Binary Tree 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 leaf node. &n
·
2015-11-08 11:26
LeetCode
Single Number (4
solutions
)
Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complexity. Could you implement
·
2015-11-08 11:23
LeetCode
Maximum Subarray (2
solutions
)
Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [−2,1,−3,4,−1,2,1,−5,4], the contiguous subarra
·
2015-11-08 11:22
LeetCode
Linked List Cycle (2
solutions
)
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? 解法一: 使用unordered_map记录当前节点是否被访问过,如访问过说明有环,如到达尾部说明无环。 /**
·
2015-11-08 11:20
LeetCode
Merge Sorted Array (2
solutions
)
Merge Sorted Array Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold addition
·
2015-11-08 11:19
LeetCode
Remove Element (2
solutions
)
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 matter what you leave beyond the ne
·
2015-11-08 11:18
LeetCode
Rotate Image (2
solutions
)
Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 最简单的想法,两重循环。 第一重循环是对于矩阵的层次(从外到内) 第
·
2015-11-08 11:17
LeetCode
Surrounded Regions (2
solutions
)
Surrounded Regions Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounde
·
2015-11-08 11:16
LeetCode
Implement strStr() (2
solutions
)
Implement strStr() Implement strStr(). Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack. 解法一:暴力解 class Solution
·
2015-11-08 11:15
LeetCode
Remove Duplicates from Sorted Array II (2
solutions
)
Remove Duplicates from Sorted Array II Follow up for "Remove Duplicates":What if duplicates are allowed at most twice? For example,Given sorted array A = [1,1,1,2,2,3], Your fun
·
2015-11-08 11:13
LeetCode
上一页
17
18
19
20
21
22
23
24
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他