One Step
Learning note, wish it may help somebody
2018年11月3日 星期六
Angular2 Learning Note (5):Typescript trick (11/3 update)
1. Go through all element in a list: (map)
2. Binding style: [ngStyle]="funct()"
沒有留言:
張貼留言
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
C++ :: std vector/ list/ map/ set/ priority queue
(1) Vector Common method: vector<int> v; vector v(10, 0); // {0,0,0,0,0,0,0,0,0,0} v[i] // acc...
Algorithm :: Montone queue
Inspire by Leetcode #239 https://leetcode.com/problems/sliding-window-maximum/description/ The purpose is the maintain a queue (FIFO) an...
Algorithm :: Reservoir Sampling
Q: For a given size = n array, how to choose k element fairly? A: This is a rather easy question if n is small. What if the size is unkn...
沒有留言:
張貼留言