码迷,mamicode.com
首页 >  
搜索关键字:reverse    ( 5099个结果
190. Reverse Bits Leetcode Python
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 001110010...
分类:编程语言   时间:2015-03-16 14:40:54    阅读次数:156
Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321...
分类:其他好文   时间:2015-03-15 09:26:45    阅读次数:99
LeetCode 2 Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2015-03-15 07:06:35    阅读次数:100
LeetCode 192:Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return...
分类:其他好文   时间:2015-03-14 22:59:56    阅读次数:243
【C语言】reverse_string(char * string)(递归实现)
递归实现reverse_string(char * string)函数。 翻转 原来的字符串 是改变  不是打印出来。 /* 编写一个函数reverse_string(char * string)(递归实现) 实现:将参数字符串中的字符反向排列。 要求:不能使用C函数库中的字符串操作函数。 */ #include void reverse_string(char * string...
分类:编程语言   时间:2015-03-14 16:58:40    阅读次数:153
递归系列2(翻转)
编写一个函数reverse_string(char * string)(递归实现) 实现:将参数字符串中的字符反向排列。 要求:不能使用C函数库中的字符串操作函数。...
分类:其他好文   时间:2015-03-14 16:54:57    阅读次数:151
Reverse Bits
Reverse Bits问题:Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as000000101001010000011110100...
分类:其他好文   时间:2015-03-14 16:42:44    阅读次数:114
Reverse Linked List II
Reverse Linked List II问题:Reverse a linked list from positionmton. Do it in-place and in one-pass.思路: 三行情书,用的飞起我的代码:public class Solution { public ...
分类:其他好文   时间:2015-03-14 13:42:54    阅读次数:103
Leetcode: Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return...
分类:其他好文   时间:2015-03-14 07:24:14    阅读次数:139
LeetCode 190 Reverse Bits
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 001110010...
分类:其他好文   时间:2015-03-14 06:13:47    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!