摘要:
leetcode - Reverse BitsReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 000000101001010000... 阅读全文
posted @ 2015-05-12 17:43
cnblogshnj
阅读(154)
评论(0)
推荐(0)
摘要:
leetcode - Number of 1 BitsWrite a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight... 阅读全文
posted @ 2015-05-12 17:01
cnblogshnj
阅读(126)
评论(0)
推荐(0)
摘要:
leetcode - happy numberWrite an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting wi... 阅读全文
posted @ 2015-05-12 16:46
cnblogshnj
阅读(168)
评论(0)
推荐(0)
摘要:
leetcode - Remove Linked List Elements 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next;... 阅读全文
posted @ 2015-05-12 12:35
cnblogshnj
阅读(128)
评论(0)
推荐(0)

浙公网安备 33010602011771号