上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页
摘要: ``` /** * Source : https://oj.leetcode.com/problems/longest-common-prefix/ * * Created by lverpeng on 2017/7/10. * * Write a function to find the longest common prefix string amongst an array of ... 阅读全文
posted @ 2017-08-09 22:39 lacker 阅读(129) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.HashMap; import java.util.Map; /** * Source : https://oj.leetcode.com/problems/roman-to-integer/ * * Created by lverpeng on 2017/7/10. * * Given a roman numeral, convert it ... 阅读全文
posted @ 2017-08-09 07:47 lacker 阅读(115) 评论(0) 推荐(0) 编辑
摘要: ``` /** * Source : https://oj.leetcode.com/problems/integer-to-roman/ * * Created by lverpeng on 2017/7/10. * * Given an integer, convert it to a roman numeral. * * Input is guaranteed to be wi... 阅读全文
posted @ 2017-08-05 22:47 lacker 阅读(133) 评论(0) 推荐(0) 编辑
摘要: ``` /** * Source : https://oj.leetcode.com/problems/container-with-most-water/ * * Created by lverpeng on 2017/7/7. * * Given n non-negative integers a1, a2, ..., an, where each represents a poin... 阅读全文
posted @ 2017-08-03 23:14 lacker 阅读(136) 评论(0) 推荐(0) 编辑
摘要: ``` /** * Source : https://oj.leetcode.com/problems/regular-expression-matching/ * * Created by lverpeng on 2017/6/30. * * * Implement regular expression matching with support for '.' and '*'. *... 阅读全文
posted @ 2017-08-02 23:08 lacker 阅读(319) 评论(0) 推荐(0) 编辑
摘要: ``` import org.lep.leetcode.parseint.IntegerParser; /** * Source : https://oj.leetcode.com/problems/palindrome-number/ * * Created by lverpeng on 2017/7/5. * * Determine whether an integer is a ... 阅读全文
posted @ 2017-08-01 23:15 lacker 阅读(144) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/string to integer atoi/ Created by lverpeng on 2017/7/4. Implement atoi to convert a string to an inte 阅读全文
posted @ 2017-07-31 22:57 lacker 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/reverse integer/ Created by lverpeng on 2017/7/4. Reverse digits of an integer. Example1: x = 123, ret 阅读全文
posted @ 2017-07-30 22:19 lacker 阅读(162) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/zigzag conversion/ Created by lverpeng on 2017/6/29. The string "PAYPALISHIRING" is written in a zigza 阅读全文
posted @ 2017-07-29 22:28 lacker 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Arrays; / Source : https://oj.leetcode.com/problems/longest palindromic substring/ Created by lverpeng on 2017/6/28. Given a stri 阅读全文
posted @ 2017-07-28 23:20 lacker 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页