摘要:
Description: Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. Example For... 阅读全文
摘要:
Description: Given an array of integers and a number k, the majority number is the number that occurs more than 1/k of the size of the array. Find i... 阅读全文
摘要:
Description: Given an array of integers and a number k, the majority number is the number that occurs more than 1/k of the size of the array. Find i... 阅读全文
摘要:
Description: There is an integer matrix which has the following features: The numbers in adjacent positions are different. The matrix has n rows and... 阅读全文