上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页

[leetcode]Surrounded Regions

摘要: Surrounded RegionsGiven 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... 阅读全文
posted @ 2014-08-07 21:02 喵星人与汪星人 阅读(605) 评论(0) 推荐(0) 编辑

[leetcode]Palindrome Partitioning II

摘要: Palindrome Partitioning IIGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a p... 阅读全文
posted @ 2014-08-07 19:39 喵星人与汪星人 阅读(240) 评论(0) 推荐(0) 编辑

[leetcode]Longest Consecutive Sequence

摘要: Longest Consecutive SequenceGiven an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4... 阅读全文
posted @ 2014-08-07 16:23 喵星人与汪星人 阅读(185) 评论(0) 推荐(0) 编辑

排序算法(初级版)之快排、归并、堆排序

摘要: 排序算法是算法中的基础,也是面试常问常考的算法之一,今天先简单整理一下最常考的三个排序算法。以后有空(希望有空)了再统一优化一下。七大排序算法的复杂度分析排序算法最坏时间辅助度平均时间复杂度空间复杂度稳定性备注冒泡排序 O(n^2) O(n^2) O(1)YES交换排序 O(n^2) O(... 阅读全文
posted @ 2014-08-06 23:49 喵星人与汪星人 阅读(334) 评论(0) 推荐(0) 编辑

[leetcode]Best Time to Buy and Sell Stock II

摘要: Best Time to Buy and Sell Stock IISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the ... 阅读全文
posted @ 2014-08-06 22:58 喵星人与汪星人 阅读(194) 评论(0) 推荐(0) 编辑

[leetcode]Best Time to Buy and Sell Stock

摘要: Best Time to Buy and Sell StockSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to compl... 阅读全文
posted @ 2014-08-06 22:44 喵星人与汪星人 阅读(126) 评论(0) 推荐(0) 编辑

[leetcode]Copy List with Random Pointer

摘要: Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node in the lis... 阅读全文
posted @ 2014-08-06 15:42 喵星人与汪星人 阅读(123) 评论(0) 推荐(0) 编辑

Spring IOC原理(初级版)

摘要: Spring框架是由于软件开发的复杂性而创建的。Spring使用的是基本的JavaBean来完成以前只可能由EJB完成的事情。然而,Spring的用途不仅仅限于服务器端的开发。从简单性、可测试性和松耦合性的角度而言,绝大部分Java应用都可以从Spring中受益。------------------... 阅读全文
posted @ 2014-08-06 01:06 喵星人与汪星人 阅读(219) 评论(0) 推荐(0) 编辑

Hibernate框架简介

摘要: 面试被问及了Hibernate框架,虽然问的很少,很简单,但是还是简单的总结一下吧,以备以后不时之需。什么是Hibernate框架?百科定义:Hibernate框架式一个开源的对象关系映射(ORM)框架,是对JDBC的轻量级的对象封装,使java程序员可以使用对象思维来操纵DB。白话版:在Hiber... 阅读全文
posted @ 2014-08-05 22:48 喵星人与汪星人 阅读(2802) 评论(0) 推荐(0) 编辑

[leecode]Evaluate Reverse Polish Notation

摘要: Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may ... 阅读全文
posted @ 2014-08-05 10:28 喵星人与汪星人 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页