原创 2017-09-10 LeetCode_018 4Sum
18. 4Sum Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Fi
原创 2017-09-11 LeetCode_023 Merge k Sorted Lists
23. Merge k Sorted Lists Merge k sorted linked lists and return it as one sorted list. Analyze and describe its compl
原创 2017-09-11 LeetCode_025 Reverse Nodes in k-Group
25. Reverse Nodes in k-Group Given a linked list, reverse the nodes of a linked list k at a time and return its modif
原创 2017-09-12 LeetCode_026 Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element a
原创 2017-09-09 LeetCode_013 Roman to Integer
13. Roman to Integer Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range fro
原创 2017-09-09 LeetCode_015 3Sum
15. 3Sum Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique tr
原创 2017-09-09 LeetCode_016 3Sum Closest
16. 3Sum Closest Given an array S of n integers, find three integers in S such that the sum is closest to a given n
原创 2017-09-19 LeetCode_030 Substring with Concatenation of All Words
30. Substring with Concatenation of All Words You are given a string, s, and a list of words, words, that are all of
原创 2017-09-13 LeetCode_240 Search a 2D Matrix II
240. Search a 2D Matrix II Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has
原创 2017-09-13 LeetCode_312 Burst Balloons
312. Burst Balloons Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented
原创 系統分析與應用_EX02
系統分析與應用(二)學號:15331211姓名:劉秉運 一、簡答題1. 簡述瀑布模型、增量模型、螺旋模型(含原型方法)的優缺點。瀑布模型的優點:² a) 降低軟件開發的複雜程度,提高軟件開發過程的透明性,提高軟件開發過程 的可管理性²
原创 2017-09-14 LeetCode_327 Count of Range Sum
327. Count of Range Sum Given an integer array nums, return the number of range sums that lie in [lower, upper] incl
原创 2017-09-21 LeetCode_033 Search in Rotated Sorted Array
33. Search in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you
原创 系統分析與應用_EX01
系統分析與應用(一) 學號:15331211姓名:劉秉運一、簡答題1. 軟件工程的定義:a)將系統化、規範化、可度量的方法應用與軟件的開發、運行和維護的過程,即將工程化應用於軟件中。b)對a)中所述方法的研究。c)軟件工程是指導計算機
原创 2017-09-17 LeetCode_027 Remove Element
27. Remove Element Given an array and a value, remove all instances of that value in place and return the new length.