随笔分类 - Leetcode
摘要:Question Given a circular array C of integers represented by A, find the maximum possible sum of a non-empty subarray of C. Here, a circular array mea
阅读全文
摘要:Question Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0
阅读全文
摘要:Question Q1.Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lis
阅读全文
摘要:Question 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 input woul
阅读全文
摘要:Question Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. The matching should cover th
阅读全文

浙公网安备 33010602011771号