Simple guidelines for coding interview
Category: development
First of all, basics of programming that you must be familiar with:
1.Data Structure
-
Linked List
-
Binary Tree
-
Trie
-
Stack
-
Queue
-
Vector/ArrayList
-
Hash Table
2.Algorithm
-
Breadth First Search
-
Depth First Search
-
Binary Search
-
Merge Sort
-
Quick Sort
-
Tree Insert/Find/e.t.c
3.Concepts
-
Bit Munipulation
-
Singleton Design Pattern
-
Factory Design Pattern
-
Memory (Stack vs. Heap)
-
Recursion
-
Big-O Time
Five Steps To Solve Technical Questions:
-
Ask your interviewer to resolve ambiguity
-
Design an algorithm
-
Write pseudocode first, but make sure to teell your interviewer first that you will eventually write the code
-
Write your code
-
Test it–go through it by eyes and brain
Try to make your code good in terms of the following perspectives:
-
Correct
-
Efficient
-
Simple
-
Readable
-
Maintainable
Books
- Cracking the Coding Interview
- Ace the technical Interview
- Programming Interview Exposed
- 编程之美 (Chinese)
- 程序员面试笔试宝典 (Chinese)
- 剑指Offer–名企面试官精讲典型编程题 (Chinese)
Websites