题目: Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". 思路: 利用两个stack,一个表示单词,一个表
分类:
其他好文 时间:
2016-02-11 17:59:00
阅读次数:
209
Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters.The input string does not contain lead
分类:
其他好文 时间:
2016-02-11 07:55:12
阅读次数:
210
自从上一次ZCTF做了一道ARM64的逆向题目后,我决定记录下利用qemu搭建ARM64的环境的过程,以后肯定会遇到更多ARM平台下的Reverse和PWN。 一 安装QEMU 我要模拟的是64位的ARM环境,所以需要使用的是qemu-system-aarch64。在kali下,使用apt-get
分类:
其他好文 时间:
2016-02-07 02:18:00
阅读次数:
218
题目描述: everse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100),
分类:
编程语言 时间:
2016-02-05 22:20:31
阅读次数:
301
题目的要求比较简单,输入一个32位的无符号整数,根据其二进制表示,输出与其二进制相对称的无符号整数。题目也给出了一个例子。...
分类:
其他好文 时间:
2016-01-29 21:22:04
阅读次数:
144
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
分类:
其他好文 时间:
2016-01-29 19:39:15
阅读次数:
133
Array 方法 arr.join()//转字符串 arr.reverse();//将数组逆转(原数组被修改) arr.sort();//将数组排序(转为字符串再排序,原数组修改) //sort按数值大小排序 arr.sort(function(a,b){ return a-b; })升序 arr.
分类:
编程语言 时间:
2016-01-29 12:03:22
阅读次数:
175
Question: Assume that we have linked list 1 → 2 → 3 → Ø, we would like to change it to Ø ← 1 ← 2 ← 3 Official Solution: While you are traversing the l
分类:
其他好文 时间:
2016-01-27 17:16:18
阅读次数:
150
Chapter 1. Arrays and Strings1.1 Unique Characters of a String1.2 Reverse String1.3 Permutation String1.4 Replace Spaces1.5 Compress String1.6 Rotate ...
分类:
其他好文 时间:
2016-01-27 14:22:46
阅读次数:
140