12 2015 档案
摘要:QuickSortJava Code: 1 import java.util.*; 2 public class quickSort{ 3 public static void main(String [] args){ 4 int [] arr = new int[]{4,...
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/two-sum/ 题目: Given an array of integers, return indices of the two numbers such that they add up to a specific t
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/plus-one/ 题目: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/valid-palindrome/ 题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/palindrome-number/ 题目:Determine whether an integer is a palindrome. Do this without extra space. 题解: div 表示能走到x的
阅读全文