疯狂的指针
疯狂的指针
全部文章
分类
C/C++(10)
c语言(1)
git(1)
Git教程(2)
IO模型(1)
leetcode(18)
LeetCode题解(3)
Linux(7)
PLC(3)
Python(7)
socket(1)
中国(2)
其他(1)
冒泡排序(1)
动态规划(6)
回溯法(1)
回溯法基础(3)
快速排序(1)
接口(2)
数据结构(5)
未归档(187)
树状数组(1)
浙大PAT-A题目集(30)
浙大PAT-B题目集(23)
深入学习C++(14)
生物(1)
程序员升职记(10)
笔试(2)
经济学人(6)
英语学习(1)
读书笔记(3)
谷歌(1)
归档
标签
去牛客网
登录
/
注册
Vincent's Blog
全部文章
(共355篇)
LeetCode 35. Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
leetcode
2017-02-20
0
669
LeetCode 9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 程序代码: bool isPalindrome(int x) { if(x<0) return false; ...
2017-02-20
0
489
LeetCode 8. String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below...
leetcode
2017-02-20
0
445
LeetCode 7. Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 Note: The input is assumed to be a 32-bit signed intege...
leetcode
2017-02-20
0
480
LeetCode 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc...
leetcode
2017-02-20
0
540
LeetCode 2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai...
leetcode
2017-02-20
0
546
LeetCode 1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have e...
leetcode
2017-02-20
0
434
PAT-B 1056. 组合数的和
#PAT-B 1056. 组合数的和 给定N个非0的个位数字,用其中任意2个数字都可以组合成1个2位的数字。要求所有可能组合出来的2位数字的和。例如给定2、5、8,则可以组合出:25、28、52、58、82、85,它们的和为330。 输入格式: 输入在一行中先给出N(1<N<10),...
2017-01-14
0
513
PAT-B 1057. 数零壹
PAT-B 1057. 数零壹 给定一串长度不超过 <nobr> 105 </nobr>的字符串,本题要求你将其中所有英文字母的序号(字母a-z对应序号1-26,不分大小写)相加,得到整数N,然后再分析一下N的二进制表示中有多少0、多少1。例如给定字符串“PA...
2017-01-14
0
543
PAT-B 1058. 选择题
PAT-B 1058. 选择题 批改多选题是比较麻烦的事情,本题就请你写个程序帮助老师批改多选题,并且指出哪道题错的人最多。 输入格式: 输入在第一行给出两个正整数N(<=1000)和M(<=100),分别是学生人数和多选题的个数。随后M行,每行顺次给出一道题的满分值(不超过5的正...
2017-01-14
0
487
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页