摘要:
题目 Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that 阅读全文
posted @ 2018-10-09 13:57
shinjia
阅读(112)
评论(0)
推荐(0)
摘要:
题目 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 funct 阅读全文
posted @ 2018-10-09 09:21
shinjia
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号