
Hard
文章平均质量分 73
violet_program
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Single Number II
Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using原创 2013-10-04 01:09:55 · 1539 阅读 · 0 评论 -
Implement strSrt
Brute force solutionExceed large judge time limitpublic class Solution { public String strStr(String haystack, String needle) { // Start typing your Java solution below // DO NOT write原创 2013-05-21 05:40:49 · 718 阅读 · 0 评论 -
Longest Palindromic Substring
O(n^2)public class Solution { public String longestPalindrome(String s) { // Start typing your Java solution below // DO NOT write main() function int len = s.length(); if(len == 0)转载 2013-05-10 22:40:53 · 573 阅读 · 0 评论