
LeetCode
文章平均质量分 79
Gregzeng
这个作者很懒,什么都没留下…
展开
-
LeetCode 23 - Merge k Sorted Lists
LeetCode 23 - Merge k Sorted Lists LeetCode 23 - Merge k Sorted Lists Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.原创 2016-09-09 00:50:51 · 310 阅读 · 0 评论 -
LeetCode 241 - Different Ways to Add Parentheses
LeetCode 241 - Different Ways to Add Parentheses LeetCode 241 - Different Ways to Add Parentheses Given a string of numbers and operators, return all possible results from computing all the differ原创 2016-09-09 00:51:18 · 365 阅读 · 0 评论 -
LeetCode 312 - Burst Balloons
LeetCode 312 - Burst Balloons题目 Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloons. If the you bur原创 2016-09-11 17:19:16 · 542 阅读 · 0 评论 -
LeetCode 1 - Two Sum
问题简述 Two Sum 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 would have exactly one solution.原创 2016-09-06 19:23:40 · 265 阅读 · 0 评论 -
LeetCode 410 - Split Array Largest Sum
410. Split Array Largest Sum问题描述 Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write an algorithm to minimize原创 2016-10-20 22:29:46 · 518 阅读 · 0 评论