1,两个字符串的最长公共子串基本思想是扫描两次矩阵,第一次进行字符比较;第二次找出对角线为1的最长长度package com.bobo.interview;import com.bobo.util.MetrixPrint;/** * 这个类实现的功能室查找两个字符串的最长公共子串(要求连续) * ....
分类:
其他好文 时间:
2014-07-21 14:15:04
阅读次数:
204
http://gksanthoshbe.blogspot.com/2013/03/ios-interview-questions-and-answers.html1-How would you create your own custom view?By Subclassing the UIView...
分类:
移动开发 时间:
2014-07-19 22:25:30
阅读次数:
544
Oracle表空间SQL Server数据库与Oracle数据库之间最大的区别要属表空间设计。Oracle数据库开创性地提出了表空间的设计理念,这为Oracle数据库的高性能做出了不可磨灭的贡献。可以这么说,Oracle中很多优化都是基于表空间的设计理念而实现的。1概述Oracle表空间之基本概念O...
分类:
数据库 时间:
2014-07-18 15:29:12
阅读次数:
394
Oracle 劳伦斯.埃里森 Larry Ellisonhistory:人工管理阶段文件管理阶段数据库系统阶段model:【模型是所研究的系统、过程、事物或概念的一种表达形式】层次结构model网状结构model关系结构modelschema:【对现实世界的abstract,对DB全体data的lo...
分类:
数据库 时间:
2014-07-18 15:15:55
阅读次数:
240
Implement an algorithm to find the kth to last element of a singly linked list.
分类:
其他好文 时间:
2014-07-08 22:01:38
阅读次数:
209
Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a ...
分类:
其他好文 时间:
2014-07-08 21:44:23
阅读次数:
177
Given a circular linked list, implement an algorithm which returns node at the beginning of the loop.DEFINITIONCircular linked list: A (corrupt) linke...
分类:
其他好文 时间:
2014-07-08 17:29:35
阅读次数:
200
检测链表是否是palindrome.思路1:翻转并比较。思路2:迭代。思路3:递归。 public static boolean isPalindrome(LinkedListNode head) { LinkedListNode fast = head; Link...
分类:
其他好文 时间:
2014-07-08 17:15:57
阅读次数:
267
You have two numbers represented by a linked list, where each node contains a single digit. The digits are stored in reverse order, such that the 1’s ...
分类:
其他好文 时间:
2014-07-08 13:34:40
阅读次数:
195
2014.7.8fb#include using namespace std;struct TreeNode{ int val; TreeNode *left; TreeNode *right; TreeNode(int val) { left = NUL...
分类:
其他好文 时间:
2014-07-08 11:50:56
阅读次数:
147