Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
Thursday, September 22, 2011
Mantaining intervals and looking for a number
You are given a number a and a sequence of numeric intervals ( .., ..) . What data structure would you use for searching the number in the intervals? What if they are overlapping?
No comments:
Post a Comment