- 博客(5)
- 问答 (1)
- 收藏
- 关注
原创 LeetCode 263. Ugly Number
Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14 is not ugly since it in
2017-01-16 10:31:23 209
原创 LeetCode 191. Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 0000000000000
2017-01-16 09:58:22 199
原创 LeetCode 70. Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?Note: Given n will be a positive inte
2017-01-16 09:47:37 222
原创 DecorView、PhoneWindow、ViewRootlmpl的关系
Window 类 位于 /frameworks/base/core/java/android/view/Window.java。该类是一个抽象类,提供了绘制窗口的一组通用API。可以将之理解为一个载体,各种View在这个载体上显示。PhoneWindow类
2017-01-16 01:59:47 1077
原创 数据挖掘笔记
关联规则挖掘是数据挖掘中研究最早而且至今仍然活跃的方法之一 成果颇丰,数据挖掘里程碑 一个事物数据库可以被用来刻画 给定一个全局项目集I和数据库D,支持度是包含I1的事物在D中所占的百分比关联规则挖掘问题可以划分为两个子问题:1.发现频繁项目集通过给定的最小支持度去寻找所有频繁项目集。 2.生成关联规则通过给定的最小可信度,寻找满足条件的关联规则。 规则可信度是指包含i1和i2的实物数与包
2017-01-03 01:33:51 1542
空空如也
关于mysql中的位图索引和位片索引问题
2015-12-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人