- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 eclipse Debug的使用
在使用eclipse Debug的时候,老是跳出看不懂的东西,有人是一个bug,解决办法。eclipse-->Window-->Preferences-->Java-->Debug把第一个选项取消。如图:设置断点:在行数左边双击或者在行数左边右击,就能看到设置断点的信息了设置好断点后,就可以Debug了。单步(Step Into---F5),(S...
2019-02-21 22:23:37 186
原创 Search Insert Position
https://leetcode.com/problems/search-insert-position/题目Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserte...
2019-02-20 09:59:32 121
原创 Remove Element
https://leetcode.com/problems/remove-element/题目Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for another ar...
2019-02-19 11:23:48 98
原创 Remove Duplicates from Sorted Array
https://leetcode.com/problems/remove-duplicates-from-sorted-array/题目Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do n...
2019-02-19 10:57:48 90
原创 Merge Two Sorted Lists
https://leetcode.com/problems/merge-two-sorted-lists/题目Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists....
2019-02-19 09:07:32 135
原创 Valid Parentheses
https://leetcode.com/problems/valid-parentheses/题目Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if:...
2019-02-18 16:02:33 101
原创 Longest Common Prefix
https://leetcode.com/problems/longest-common-prefix/题目描述Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string "...
2019-02-18 11:34:07 180
原创 Roman to Integer
https://leetcode.com/problems/roman-to-integer/Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 1...
2019-02-15 23:01:28 115
原创 Palindrome Number
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueExample 2:Input: -121Output: falseExpl...
2019-02-15 22:37:50 142
原创 Reverse Integer
Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dea...
2019-02-15 22:01:02 102
原创 Two Sum
题目链接Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the ...
2019-02-12 14:35:12 100
https://packagecontrol.io/channel_v3.json
2019-01-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人