摘要:
题目描述 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的最 阅读全文
摘要:
题目描述 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexi 阅读全文
摘要:
猿兄请看下面的代码: short s=1; s = s + 1; short s = 1; s+ = 1; 也许有的猿兄会觉得木得问题,两个小儿科; 也许有的猿兄觉得俩都会报错,因为损失精度的情况下需要强转; 其实第一个确实没有什么门道,强转而报错 但是看似等价的第二段代码是可以通过编译正常运行的~ 阅读全文
摘要:
题目描述 Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The an 阅读全文
摘要:
题目描述: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes 阅读全文