摘要:
Given a 32-bit signed integer, reverse digits of an integer. 给定一个范围为 32 位 int 的整数,将其颠倒。 该题对于JavaScript比较简单,给出的三个例子基本就把所有的难点都分别列出来了。 主要考虑几种情况。 阅读全文
posted @ 2018-03-26 21:25
闷闷不乐
阅读(135)
评论(0)
推荐(0)
摘要:
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 给定一个字符串 s,找到 s 中最长的回文子串。你可以假设 s 长度 阅读全文
posted @ 2018-03-26 21:12
闷闷不乐
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号