摘要:
题目 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example1: & 8195; Input:121 & 阅读全文
摘要:
题目 Inplement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non wh 阅读全文
摘要:
题目 Given a 32 bit signed integer, reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123,return 321 Example3: x = 120, return 2 阅读全文
摘要:
题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed fo 阅读全文
摘要:
题目 Given a string s , find the longest palindromic substring in s . You may assume that the maximum length of s is 1000. Example1: & 8195; Input: "bab 阅读全文