随笔分类 - LeetCode
开始刷LeetCode上的题目,因为感觉自己笨笨哒。。。
摘要:【题目】: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists:...
阅读全文
摘要:题目:Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The functi...
阅读全文
摘要:【题目】:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the t...
阅读全文
摘要:【题目】: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain ...
阅读全文
摘要:题目: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-...
阅读全文

浙公网安备 33010602011771号