07 2017 档案
摘要:Longest Palindromic Substring Given a string s , find the longest palindromic substring in s . You may assume that the maximum length of s is 1000. Ex
阅读全文
摘要:Problem Determine whether an integer is a palindrome. Do this without extra space. "click to show spoilers." Code public boolean isPalindrome(int x) {
阅读全文
摘要:Problem Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123, return 321 "click to show spoilers." Note: The input is assumed
阅读全文
摘要:Problem Given a string, find the length of the longest substring without repeating characters. Examples: Given , the answer is , which the length is 3
阅读全文
摘要:Problem You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of their node
阅读全文
摘要:Problem: 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 woul
阅读全文