|
1 |
| -# Fight towards 1000 commits !!! |
| 1 | +# My whiteboard coding interview operating system !!! |
2 | 2 | <!-- MarkdownTOC -->
|
3 | 3 |
|
4 | 4 | - [Typical whiteboard coding workflow](#typical-whiteboard-coding-workflow)
|
|
22 | 22 | - [Leetcode pros and cons](#leetcode-pros-and-cons)
|
23 | 23 | - [Interview Java pros and cons](#interview-java-pros-and-cons)
|
24 | 24 | - [Java language](#java-language)
|
25 |
| - - [Characteristics of Object oriented](#characteristics-of-object-oriented) |
26 | 25 | - [Java vs C++](#java-vs-c)
|
27 | 26 | - [Access modifiers](#access-modifiers)
|
28 | 27 | - [Stack vs heap vs static area](#stack-vs-heap-vs-static-area)
|
|
67 | 66 | - [String](#string)
|
68 | 67 | - [Why String is immutable or final](#why-string-is-immutable-or-final)
|
69 | 68 | - [String vs StringBuilder vs StringBuffer](#string-vs-stringbuilder-vs-stringbuffer)
|
70 |
| - - [String reverse](#string-reverse) |
71 |
| - - [Encode and decode](#encode-and-decode) |
| 69 | + - [Word reverse](#word-reverse) |
72 | 70 | - [Palindrome](#palindrome)
|
73 | 71 | - [Collections](#collections)
|
74 | 72 | - [Iterator](#iterator)
|
|
163 | 161 | - [Union find](#union-find)
|
164 | 162 | - [Greedy](#greedy)
|
165 | 163 | - [Dynamic-programming](#dynamic-programming)
|
166 |
| - - [Online IDE templates](#online-ide-templates) |
167 |
| - - [References](#references) |
| 164 | +- [Online IDE templates](#online-ide-templates) |
| 165 | +- [References](#references) |
168 | 166 |
|
169 | 167 | <!-- /MarkdownTOC -->
|
170 | 168 |
|
|
346 | 344 | * I am used to good words. When interviewer doubts/challenges me, I become kind of sad. Always stay in calm and smiles.
|
347 | 345 | * Give myself a little break between interviews. Either sit down or drink some beverages.
|
348 | 346 | * When interviewers keep interrupting me, do not be nervous. They are trying to help me!!! Always stay in calm and take their hints. No matter whether I could finish my current solution. Communication is the most important thing.
|
| 347 | +* Preparing interview: What really matters is how many times you practice the leetcode problem, rather than how long you spend during a single practice round. |
349 | 348 |
|
350 | 349 | #### Whiteboard coding pros and cons
|
351 | 350 | * Pros
|
|
415 | 414 | * Linkedhashset could not be iterated reversely
|
416 | 415 |
|
417 | 416 | ### Java language
|
418 |
| -#### Characteristics of Object oriented |
419 | 417 |
|
420 | 418 | #### Java vs C++
|
421 | 419 |
|
@@ -1155,9 +1153,9 @@ private List<List<Integer>> kSum( int kVal, int target, int startIndex, int[] nu
|
1155 | 1153 | | Thread safe | Yes | No | Yes |
|
1156 | 1154 | | Performance | Fast | Fast | very slow|
|
1157 | 1155 |
|
1158 |
| -##### String reverse |
| 1156 | +##### Word reverse |
| 1157 | + |
1159 | 1158 |
|
1160 |
| -##### Encode and decode |
1161 | 1159 |
|
1162 | 1160 | ##### Palindrome
|
1163 | 1161 | * Several ways to solve the Longest palindrome substring problem
|
@@ -3286,7 +3284,7 @@ public int houseRobber_RollingArray( int[] A )
|
3286 | 3284 | * answer: varies with problems
|
3287 | 3285 | + Examples: Backpack I-VI (Lintcode), K Sum (Lintcode), Minimum adjustment cost (Lintcode)
|
3288 | 3286 |
|
3289 |
| -#### Online IDE templates |
| 3287 | +### Online IDE templates |
3290 | 3288 | * Coderpad
|
3291 | 3289 |
|
3292 | 3290 | ```java
|
@@ -3323,7 +3321,7 @@ public class Solution
|
3323 | 3321 | }
|
3324 | 3322 | ```
|
3325 | 3323 |
|
3326 |
| -#### References |
| 3324 | +### References |
3327 | 3325 | * [Java-success.com](http://www.java-success.com/)
|
3328 | 3326 | * [Massive tech interview](http://massivetechinterview.blogspot.com/)
|
3329 | 3327 | * [Java best practices](http://www.javapractices.com/home/HomeAction.do)
|
|
0 commit comments