随笔分类 - leetcode
摘要:```
/** * Source : https://oj.leetcode.com/problems/regular-expression-matching/ * * Created by lverpeng on 2017/6/30. * * * Implement regular expression matching with support for '.' and '*'. *...
阅读全文
摘要:``` 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 ...
阅读全文
摘要:``` / 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
阅读全文
摘要:``` / Source : https://oj.leetcode.com/problems/reverse integer/ Created by lverpeng on 2017/7/4. Reverse digits of an integer. Example1: x = 123, ret
阅读全文
摘要:``` / Source : https://oj.leetcode.com/problems/zigzag conversion/ Created by lverpeng on 2017/6/29. The string "PAYPALISHIRING" is written in a zigza
阅读全文
摘要:``` import java.util.Arrays; / Source : https://oj.leetcode.com/problems/longest palindromic substring/ Created by lverpeng on 2017/6/28. Given a stri
阅读全文
摘要:``` import java.util.HashSet; import java.util.Set; / Source : https://oj.leetcode.com/problems/longest substring without repeating characters/ Create
阅读全文
摘要:``` import java.util.HashSet; import java.util.Set; / Source : https://oj.leetcode.com/problems/longest substring without repeating characters/ Create
阅读全文
摘要:``` import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /** * Source : https://oj.leetcode.com/problems/add-two-numbers/ * * Created by lverpeng on 2017/6/23. * * Yo...
阅读全文
摘要:``` import java.util.HashMap; import java.util.Map; /** * Source : https://oj.leetcode.com/problems/two-sum-iii-data-structure-design/ * * Created by lverpeng on 2017/6/23. * * * Design and imp...
阅读全文
摘要:``` import java.util.Arrays; /** * Source : https://oj.leetcode.com/problems/two-sum-ii-input-array-is-sorted/ * * Created by lverpeng on 2017/6/22. * * Given an array of integers that is alread...
阅读全文
摘要:``` package org.lep.leetcode.twosum; import java.util.Arrays; import java.util.HashMap; import java.util.Map; / source:https://leetcode.com/problems/t
阅读全文

浙公网安备 33010602011771号