240 发简信
IP属地:天津
  • 有了互斥锁,为什么还要条件变量?

    为了解决这个问题,首先要非常深入了解每一个概念: 1. 互斥锁(mutual exclusive lock variable / mutex )...

  • Resize,w 360,h 240
    聚类算法—— K-means

    1. Intro 聚类算法中最经典的要算是 K-means 了。其中 K 代表划分的 cluster 的 数目,而 means 则是算法的核心概...

  • ListView中增加checkbox导致item点击事件失效

    记录一下今天碰到一个神奇的问题——在一个ListView的自定义Item的布局中加入了一个CheckBox,结果怎么都无法触发长按事件…… 找了...

  • 数据的属性——区间与比率的理解

    数据具有属性,如关系型数据库中每一个entry都具有若干个attribute。 attribute可以按属性值之间可以进行那些操作(也就是进行...

  • Android Bundle

    根据 Google Android 官方文档:“A mapping from String values to various Parcelab...

  • 409. Longest Palindrome

    Given a string which consists of lowercase or uppercase letters, find th...

  • Atom 笔记

    Atom 中间的白线(Indent Guide)怎么去除? Atom -> Stylesheet 中添加: 类似sublime text右边的代...

  • 345. Reverse Vowels of a String

    Write a function that takes a string as input and reverse only the vowel...

  • 110. Balanced Binary Tree

    Given a binary tree, determine if it is height-balanced. For this proble...

个人介绍
他强任他强 老子尼克杨
Rutgers University;