IP属地:广东
为了预防老年痴呆顺便维持手感,一个程序员应当时不时刷几道算法题挑战一下。记得之前上算法课的时候,我一直认为动归的题都是最简单的——套路嘛,遇事不决归一下(?)同时,动归的过程...
今天创建新项目的时候发现bindView不管用了,运行报空指针错误,所有的控件都在假装自己没有被bind,非常可恶。 网上一查,发现是一个非常常见的错误:在app里的buil...
The Hamming distance between two integers is the number of positions at which the corre...
Given a positive integer n and you can do operations as follow: If n is even, replace n...
There are N children standing in a line. Each child is assigned a rating value. You are...
The count-and-say sequence is the sequence of integers with the first five terms as fol...
Given two binary trees and imagine that when you put one of them to cover the other, so...