摘要: 题目:Given an array of integers, every element appears three times except for one, which appears exactly once. Find that single one. 题意及分析:找出数组中出现一次的数,其 阅读全文
posted @ 2017-07-12 21:52 荒野第一快递员 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array of integers, every element appears twice except for one. Find that single one. 题意及分析:一个数组中,有一个数只出现了一次,其他的出现了两次。要求给出只出现一次的数。这道题,最简单的方 阅读全文
posted @ 2017-07-12 20:19 荒野第一快递员 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. Accord 阅读全文
posted @ 2017-07-12 18:56 荒野第一快递员 阅读(220) 评论(0) 推荐(0) 编辑