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,... 阅读全文
posted @ 2015-12-12 09:33 Dylan_Java_NYC 阅读(187) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里: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 阅读全文
posted @ 2015-12-12 04:50 Dylan_Java_NYC 阅读(356) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/plus-one/ 题目: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. 阅读全文
posted @ 2015-12-05 05:09 Dylan_Java_NYC 阅读(366) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/valid-palindrome/ 题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters 阅读全文
posted @ 2015-12-03 11:27 Dylan_Java_NYC 阅读(215) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/palindrome-number/ 题目:Determine whether an integer is a palindrome. Do this without extra space. 题解: div 表示能走到x的 阅读全文
posted @ 2015-12-03 10:58 Dylan_Java_NYC 阅读(184) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示