- 博客(7)
- 收藏
- 关注
原创 关于CUDA实现DBSCAN的并行化
实验环境:Windows10 + VS2015CPU:i7-6700HQ 2.6GHzGPU:NVIDIA GTX965MDBSCAN算法介绍 DBSCAN(Density-BasedSpatial Clustering of Applications with Noise)是一个比较有代表性的基 于密度的聚类算法。与划分和层次聚类方法不同,它...
2018-12-02 16:13:13 2639 1
原创 174. Dungeon Game
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 2D grid. Our valiant knight (K) was initially p
2017-06-07 18:21:53 238 1
原创 69. Sqrt(x)
Implement int sqrt(int x).Compute and return the square root of x.实现一个求平方根的算法,直接调用sqrt好像也行,不过不能用float,要用int记录(2147395599开平方是46339.99989,如果用float直接变成46340)。int mySqrt(int x) { int a=sqr
2017-06-07 16:48:52 265
原创 461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distance.Note:0 ≤ x,
2017-05-30 10:59:54 215
原创 1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the sam
2017-05-29 23:09:16 411
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人