码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
[LeetCode] Regular Expression Matching
Regular Expression Matching   Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The match...
分类:其他好文   时间:2015-06-24 21:08:10    阅读次数:133
Leetcode--easy系列3
#26 Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for ...
分类:其他好文   时间:2015-06-24 12:59:55    阅读次数:121
ActionBar 的简单使用
About ActionBar The action bar is one of the most important design elements you can implement for your app's activities. It provides several user inte...
分类:其他好文   时间:2015-06-24 10:50:44    阅读次数:132
Basic Calculator II
Basic Calculator II问题:Implement a basic calculator to evaluate a simple expression string.The expression string contains onlynon-negativeintegers,+,-,...
分类:其他好文   时间:2015-06-24 10:47:29    阅读次数:114
leetcode 8 String to Integer (atoi)
String to Integer (atoi)Total Accepted: 52232 Total Submissions: 401038 My Submissions Question Solution  Implement atoi to convert a string to an integer. Hint: Carefully conside...
分类:其他好文   时间:2015-06-24 00:47:23    阅读次数:170
String to Integer (atoi)
1. Question将字符串转换为整数,考虑各种输入情况:空格处理:开头空格省略有效数字:从第一个非空格字符开始的是+、-或数字,直到下一个非数字字符结束。加号处理:开头加号省略空串处理溢出处理无效数字处理Implement atoi to convert a string to an integ...
分类:其他好文   时间:2015-06-23 23:01:58    阅读次数:197
leetcode-206-Reverse Linked List
Reverse Linked List Reverse a singly linked list. click to show more hints. Hint: A linked list can be reversed either iteratively or recursively. Could you implement both? 反转一个链表,用栈实现 ...
分类:其他好文   时间:2015-06-23 10:18:18    阅读次数:117
QRadioButton 使用方法
QRadioButton 控件是Qt中实现多选一功能的控件,它的使用方法如下:声明控件:QRadioButton *rbutton;然后实现它的响应函数:void YourClass::on_rbutton_toggled(bool state) { // Implement here if (.....
分类:其他好文   时间:2015-06-23 06:20:17    阅读次数:202
[LeetCode] Basic Calculator II
Basic Calculator II Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, and / operators. The integer division...
分类:其他好文   时间:2015-06-22 14:59:42    阅读次数:127
#10 Regular Expression Match
题目链接:https://leetcode.com/problems/regular-expression-matching/ Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more...
分类:其他好文   时间:2015-06-21 18:38:10    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!