qqp question1: Given a stream of n integers between 1 and n find one number that repeats in linear time using less than O(n) space and traversing the stream sequentially O(1) times? question2: Is O(Log n) close to O(n) or O(1)?