摘要:
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp 阅读全文
摘要:
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: Example 1: Exa 阅读全文
摘要:
Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.Credits:Special thanks to 阅读全文
摘要:
学习计算机组成原理的时候学过这个,结果今天看了一道LeetCode的习题,发现自己补码怎么算的都给忘了,罪过罪过,于是乎就搜了相关资料回忆了下,以下这篇文章写得很好,想记录下来方便以后查看。 http://www.cnblogs.com/zhangziqiu/archive/2011/03/30/C 阅读全文