摘要: ZigZag Conversion (M) 题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this 阅读全文
posted @ 2020-06-15 13:12 墨云黑 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Median of Two Sorted Arrays (H) 题目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. 阅读全文
posted @ 2020-06-15 13:10 墨云黑 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Longest Substring Without Repeating Characters (M) 题目 Given a string, find the length of the longest substring without repeating characters. Example 1 阅读全文
posted @ 2020-06-15 13:09 墨云黑 阅读(74) 评论(0) 推荐(0) 编辑
摘要: Add two numbers (M) 题目 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and eac 阅读全文
posted @ 2020-06-15 13:02 墨云黑 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Two Sum (E) 题目 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 inpu 阅读全文
posted @ 2020-06-15 13:01 墨云黑 阅读(62) 评论(0) 推荐(0) 编辑
摘要: Longest Palindromic Substring (M) 题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 100 阅读全文
posted @ 2020-06-15 11:31 墨云黑 阅读(24) 评论(0) 推荐(0) 编辑