摘要: 在VTK中,我们有时候想要保存vtkImageData类的变量到一幅图片,可以使用如下的实例代码: 阅读全文
posted @ 2016-05-03 12:10 Grandyang 阅读(1863) 评论(0) 推荐(0)
摘要: Given a non-empty array of integers, return the k most frequent elements. Example 1: Example 2: Input: nums = [1], k = 1 Output: [1] Example 2: Note: 阅读全文
posted @ 2016-05-03 10:42 Grandyang 阅读(29614) 评论(8) 推荐(0)
摘要: 18.2 Write a method to shuffle a deck of cards. It must be a perfect shuffle—in other words, each of the 52! permutations of the deck has to be equall 阅读全文
posted @ 2016-05-03 00:37 Grandyang 阅读(1277) 评论(0) 推荐(0)
Fork me on GitHub