TongTong Shi's Blog
A Playground to Share My Knowledge
Partition Array Into Three Parts With Equal Sum Partition Array Into Three Parts With Equal Sum
LintCode Q 1013 - Partition Array Into Three Parts With Equal SumGiven an array A of integers, return true if and only i
2019-05-09 Tong Shi
Partition Array into Disjoint Intervals Partition Array into Disjoint Intervals
LeetCode Q 915 - Partition Array into Disjoint IntervalsGiven an array A, partition it into two (contiguous) subarrays l
2019-05-09 Tong Shi
Kth Largest Element in an Array Kth Largest Element in an Array
LintCode Q 215 - Kth Largest Element in an ArrayFind the kth largest element in an unsorted array. Note that it is the k
2019-05-09 Tong Shi
Container With Most Water Container With Most Water
LeetCode Q 11 - Container With Most WaterGiven n non-negative integers a1, a2, …, an , where each represents a point at
2019-05-09 Tong Shi
Valid Triangle Number Valid Triangle Number
LeetCode Q 611 - Valid Triangle NumberGiven an array consists of non-negative integers, your task is to count the number
2019-05-09 Tong Shi
Nuts & Bolts Problem Nuts & Bolts Problem
LintCode Q 399 - Nuts & Bolts ProblemGiven a set of n nuts of different sizes and n bolts of different sizes. There
2019-05-09 Tong Shi
43 / 79