- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 Spring MVC on JBoss 7.1 final
How to Deploy simple Spring MVC on JBoss 7.1 Refer toSolution includes
2014-05-18 14:13:50 1067
原创 Cracking The Coding Interview 3rd -- 1.5*
Implement a method to perform basic string compression using the counts of repeated characters. For example, the string "aabcccccaaa" would become a2b1c5a3. If the "compressed" string would not become
2014-01-14 10:30:12 1142
原创 Cracking The Coding Interview 3rd -- 1.4
Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end of the string to hold the additional characters, and that you are given the
2014-01-13 12:53:24 935
原创 Cracking The Coding Interview 3rd -- 1.3
Given two strings, write a method to decide if one is a permutation of the other.Solution 1:First, we need to compare if two strings have the same size, if different then they can't be permuta
2014-01-13 11:35:32 922
原创 Cracking The Coding Interview 3rd -- 1.2
Implement a function void resverse(char* str) in C or C++ which reverse a null-terminated string.Solution 1:We could implement the function in place with only one iteration by swapping First
2014-01-13 10:33:38 695 2
原创 Cracking The Coding Interview 3rd -- 1.1*
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structure?Solution 1: Using additional space. There are 256 possible character
2014-01-13 07:38:17 801
原创 Cracking The Coding Interview 3rd -- 00
www.CrackingTheCodingInterview.com
2014-01-12 12:49:45 691
原创 读书笔记01 Programming Interviews Exposed 3rd ed
Information about the book:authors@piexposed.comhttp://www.piexposed.comHow to use this book:1. After you read a problem, put the book down and try to work out the solution.2. If you get
2014-01-08 07:12:41 978
原创 OOP Design (Head First Design Patterns) 学习笔记--05 The factory Pattern
When you see "new", think "concrete"!1. Identify what varies2. Encapsulate object creationFactories handles the details of object creation.
2014-01-03 13:30:17 917
原创 OOP Design (Head First Design Patterns) 学习笔记--04 The decorator pattern
Design PrincipleClasses should be open for extension, but closed for modification.Goal is to allow classes to be easily extended to incorporate new behavior without modifying existing code.M
2014-01-03 00:05:17 907
原创 OOP Design (Head First Design Patterns) 学习笔记--03 Observer Pattern
Meet the Observer PatternPublishers + Subscribers = Observer PatternWe call the publisher the SUBJECT, and the subscribers theOBSERVERS.
2014-01-02 09:30:00 909
原创 OOP Design (Head First Design Patterns) 学习笔记--02 Summary One
The power of a shared pattern vocabularyShared pattern vocabularies are POWERFULPatterns allow you to say more with lessTalking at the pattern level allows you to stay "in the design" levelShare
2014-01-01 07:12:53 869
原创 OOP Design (Head First Design Patterns) 学习笔记--01 SimUDuck app
Sharpen your pencilCustomers want more features or new functionalistsCompany decided it is going with another database vendor and it is also purchasing its data from another supplier that uses a
2014-01-01 06:40:54 1227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人