- 博客(4)
- 收藏
- 关注
转载 760. Find Anagram Mappings
Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A. We want to find an index mapping P, from A to B. A mapping
2018-01-14 23:35:50 83
转载 461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y
2018-01-14 23:31:08 65
原创 C程序设计语言_Terminal小技巧
1.使用mkdir+名字可以在终端状态新建一个目录。名字中间用空格隔开,可以一次创建多个目录。 2.使用cd命令来切换目录,有几个符号作为目录名有特殊的含义:“/”代表根目录、“..”代表上一目录、“~”代表HOME目录、“-”代表前一目录
2017-05-18 21:16:47 225
原创 C程序设计语言_vim小技巧
1.在终端可以用 man 2 fun 查看系统函数 , man 3 fun 查看 标准库函数。 2.在vim 中 可以把光标移动到 头文件 上 ,按gf键,查看头文件定义, 按ctrl+o键退出返回到vim。
2017-05-13 06:20:04 195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人