码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
Android Developer -- Bluetooth篇 开发实例之二
连接设备 In order to create a connection between your application on two devices, you must implement both the server-side and client-side mechanisms, beca ...
分类:移动开发   时间:2016-05-30 12:41:59    阅读次数:206
208. Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Note:You may assume that all inputs are consist of lowercase letters a-z. Subscribe to s ...
分类:其他好文   时间:2016-05-30 08:48:16    阅读次数:148
【Leetcode】Basic Calculator II
题目链接:https://leetcode.com/problems/basic-calculator-ii/题目: Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / op...
分类:其他好文   时间:2016-05-27 12:55:37    阅读次数:137
【Leetcode】Basic Calculator
题目链接:https://leetcode.com/problems/basic-calculator/题目: Implement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closing parentheses ), the plu...
分类:其他好文   时间:2016-05-27 12:55:30    阅读次数:153
【Leetcode】Pow(x, n)
题目链接:https://leetcode.com/problems/powx-n/ 题目: Implement pow(x, n). 思路: easy。上课例题= = 算法: public double myPow(double x, int n) { if(n<0) return 1.0/(myPow2(x,-n)); el...
分类:其他好文   时间:2016-05-27 12:27:43    阅读次数:180
【Leetcode】Sqrt(x)
题目链接:https://leetcode.com/problems/sqrtx/ 题目: Implement int sqrt(int x). Compute and return the square root of x. 思路:  二分法搜索平方数 要注意,如果不能完整的开方,要取靠左边的数, 算法: public int mySqrt(int x) { ...
分类:其他好文   时间:2016-05-27 12:27:07    阅读次数:175
what's javaBean
A JavaBean is a Java object that satisfies certain programming conventions: The JavaBean class must implement either Serializable or Externalizable Th ...
分类:编程语言   时间:2016-05-27 09:29:13    阅读次数:136
LeetCode 31. Next Permutation
Problem: https://leetcode.com/problems/next-permutation/ Implement next permutation, which rearranges numbers into the lexicographically next greater ...
分类:其他好文   时间:2016-05-26 22:04:27    阅读次数:207
PHP 算术运算符
PHP 算术运算符 以下实例演示了使用不同算术运算符得到的不同结果: 运行 相关阅读: php strstr 判断一个字符串是否存在于里一个字符串中 php stristr() 函数查找字符串在另一字符串中的第一次出现 php strchr() 函数查找字符串在另一字符串中的第一次出现 php 两个 ...
分类:Web程序   时间:2016-05-26 21:57:29    阅读次数:279
leetcode 之 Next Permutation
题目描述: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not ...
分类:其他好文   时间:2016-05-25 11:01:23    阅读次数:125
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!