Roman_to_int
Description
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.
Longest_palindromic_substring
Description
Input: “babad”
Output: “bab”
Note: “aba” is also a valid answer.
Median_of_two_sorted_arrays
变种二分 边界处理
Description
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 complexity should be O(log (m+n)).
共计 38 篇文章,5 页。