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
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
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
??
1.问题描述:
You are given two linked lists representing two non-negativenumbers. The digits are stored in reverse order and each of their nodes containa
single digit. Add the two numbers and re...
分类:
其他好文 时间:
2015-03-13 12:47:51
阅读次数:
721
reverse-300 工具:IDA pro、WinDbg、UPX、Resource Hacker 先运行程序看效果点击按钮直接崩溃,同时由于程序放到32位的xp虚拟机中不能运行,应该是64位程序。根据提示程序本身就是有问题的,所以直接上IDA pro,发现貌似是用UPX加了壳的: 使用UPX脱壳看...
分类:
其他好文 时间:
2015-03-13 10:37:47
阅读次数:
181
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.思路...
分类:
其他好文 时间:
2015-03-12 22:12:16
阅读次数:
156
函数实现之前 先看一个例子
void fun(int i)
{
if (i > 0)
fun(i / 2);
printf("%d ",i);
}
int main(void)
{
fun(10);
return 0;
}
输出结果是什么?
这是《c语言深度剖析》中的一个例子 在这个例子中 printf(“%d ”,i);语句是fun函数的一部分 必定执行一...
分类:
其他好文 时间:
2015-03-12 15:12:32
阅读次数:
149
题目:Reverse BitsReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010...
分类:
其他好文 时间:
2015-03-12 14:57:14
阅读次数:
125
1 #include 2 3 struct Node 4 { 5 int data; 6 Node *next; 7 }; 8 9 typedef struct Node Node; 10 11 Node *Reverse(Node *head) 12 { ...
分类:
编程语言 时间:
2015-03-12 13:03:13
阅读次数:
168
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-12 11:29:01
阅读次数:
120