- 博客(3)
- 收藏
- 关注
原创 LeetCode 008
String to Integer (atoi)Implement atoi to convert a string to an integer./************************************************************************* > File Name: LeetCode8.c > Aut
2016-04-24 23:47:11 237
原创 LeetCode 007
Reverse Integer/************************************************************************* > File Name: LeetCode7.c > Author: Juntaran > Mail: Jacinthmail@gmail.com > Created Time: 2
2016-04-24 23:46:37 160
原创 蘑菇街2017春招笔试
现在有一个n个证书的序列,交换两个相邻的数的位置直到整个序列按照升序排列,那么将整个序列排好需要交换多少次?例如 1,2,3,5,4 只需要交换一次即可。第一行输入一个正整数n(n接下来一行输入从1到n的n个整数序列,中间用空格隔开输入:44 3 2 1输出:6/**************************************
2016-04-24 23:36:28 584
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人