Majority Number III
摘要:
Given an array of integers and a number k, the majority number is the number that occursmore than 1/kof the size of the array.Find it.ExampleGiven[3,1... 阅读全文
posted @ 2015-05-09 07:25 Step-BY-Step 阅读(267) 评论(0) 推荐(0) 编辑