Problem Definition:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just l...
分类:
其他好文 时间:
2015-07-30 16:24:09
阅读次数:
151
Reverse a singly linked list.
click to show more hints.
Hint:
A linked list can be reversed either iteratively or recursively. Could you implement both?
使用迭代和递归实现单链表的反转。
迭代的方法之间在剑指offer上面...
分类:
其他好文 时间:
2015-07-30 13:38:43
阅读次数:
114
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using...
分类:
其他好文 时间:
2015-07-30 00:55:12
阅读次数:
139
今天与大家分享一个自己的学习笔记,希望能给遇到同样问题的人带来帮助。 不知道大家在win7 64位系统下用 PB连接oracle数据库时,是否遇到过“oracle library oci.dll could not be loaded”问题。 今天,在win7 64位系统下用 PB连接...
分类:
数据库 时间:
2015-07-30 00:43:59
阅读次数:
30579
JSONB-modifying operators and functionsIn 9.3 (and to a greater extent in 9.4), JSONB data could be extracted using various functions and operators, b...
分类:
数据库 时间:
2015-07-30 00:27:42
阅读次数:
533
题目:
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 which represents the number 123.
Find t...
分类:
编程语言 时间:
2015-07-29 19:19:56
阅读次数:
123
题目:
Given a singly linked list, determine if it is a palindrome.
Follow up:
Could you do it in O(n) time and O(1) space?
题解:
判断一个链表是不是回文的,这里要求O(n)时间复杂度和O(1)的空间时间复杂度,总共想了三种办法,三种办法都用到了两个指针,符合...
分类:
编程语言 时间:
2015-07-29 12:13:09
阅读次数:
136
问题 [root@bd21?yum.repos.d]#?yum?makecache??????
Loaded?plugins:?fastestmirror
http://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml:?[Errno?14]?curl#6?-?"Could?not?resol...
分类:
移动开发 时间:
2015-07-29 01:10:06
阅读次数:
282
What?Convert the interface of a class into another interface
that the clients expect. Adapter lets classes work together
that could not otherwise because of incompatible inter-
faces. ——GOF
先来个例子:...
分类:
其他好文 时间:
2015-07-29 01:04:53
阅读次数:
146
题目:
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
解题:
这题是要复制一个链表,这个链表比...
分类:
编程语言 时间:
2015-07-28 23:17:43
阅读次数:
583