Phone Interview
https://instant.1point3acres.com/thread/236488
- [x] count and say + linked list
https://instant.1point3acres.com/thread/235870
- [x] print 奇偶
public static int[][] printNumber(int n) {
int[][] result = new int[n][n];
for (int i = 0; i < n; ++i) {
int num = 1;
int size = i > (n - 1) / 2 ? n - (n - 1 - i) * 2 : (n - i * 2);
int j = i > (n - 1) / 2 ? n - i - 1 : i;
for (int k = 0; k < size; ++k) {
result[i][j++] = num++;
}
}
return result;
}
https://instant.1point3acres.com/thread/234666
- [x] find same element
- [x] reverse integer
https://instant.1point3acres.com/thread/233435
- [x] singly linked list
- [x] reverse integer
- [x] count and say
https://instant.1point3acres.com/thread/233140
- [x] 2 sum - follow ups
https://instant.1point3acres.com/thread/233217
- [x] buy sell stock
https://instant.1point3acres.com/thread/232861
- [x] valid parentheses and follow ups
https://instant.1point3acres.com/thread/223919
- [x] binary tree path sum
- [x] reverse integer
https://instant.1point3acres.com/thread/223365
- [x] binary tree zigzag traversal
https://instant.1point3acres.com/thread/223538
- [x] spiral matrix
https://instant.1point3acres.com/thread/222742
- [x] merge interval
- [x] print binary tree
https://instant.1point3acres.com/thread/224432
- [x] binary tree level max
- [x] list, dictionary
https://instant.1point3acres.com/thread/219929
- [x] two sum, target
https://instant.1point3acres.com/thread/220293
- [ ] data stream median
https://instant.1point3acres.com/thread/219307
- [x] lc 98, validate BST, recursive and iterative
https://instant.1point3acres.com/thread/217085
- [x] best time to sell stock
https://instant.1point3acres.com/thread/219299
- [x] level order traversal
- [x] data stream median
https://instant.1point3acres.com/thread/214755
- [x] merge two sorted array
- [x] min moves to make all elements equal
1 month before
https://instant.1point3acres.com/thread/211756
- [ ] max stack
- [ ] convert integer to string
- [ ] turn off last significant bit
https://instant.1point3acres.com/thread/212776
- [x] hashmap, 员工 skills
- [ ] blow off binary tree
https://instant.1point3acres.com/thread/211652
- [ ] stock and 代码
https://instant.1point3acres.com/thread/207115
- [ ] stack
- [ ] lc 463 island perimeter
https://instant.1point3acres.com/thread/206655
- [ ] linkedlist
- [ ] invert binary tree
https://instant.1point3acres.com/thread/213460
- [ ] two sum
- [ ] stock
https://instant.1point3acres.com/thread/211246
- [ ] behavior questions
- [ ] random
- [ ] anagram
2 - 3 months before
https://instant.1point3acres.com/thread/205621
- [ ] encode and decode string, lc 271
- [ ] 约瑟夫环
https://instant.1point3acres.com/thread/197138
- [ ] duplicate integers
- [ ] height balanced tree