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 :: Fisher–Yates shuffle
給定一個數列,要輸出隨機排列的序列: 方法1. c++提供 next_permutation() http://www.cplusplus.com/reference/algorithm/next_permutation/ 結果: ...
Top 30 interview array-problem (Ongoing)
1. How to find the missing number in integer array of 1 to 100? Missing numbers in integer array [1, 2, 3, 4, 6, 7, 9, 8, 10], with total ...
沒有留言:
張貼留言