Sub-Linear Time Algorithm

From GM-RKB
(Redirected from Sub-Linear Time)
Jump to navigation Jump to search

A Sub-Linear Time Algorithm is an algorithm that satisfies the time complexity defined as T(n) = O(n) or T(n) = O(n½).



References

2015

  • (Wikipedia, 2015) ⇒ http://en.wikipedia.org/wiki/Time_complexity#Sub-linear_time
    • QUOTE: An algorithm is said to run in sub-linear time (often spelled sublinear time) if T(n) = o(n). In particular this includes algorithms with the time complexities defined above, as well as others such as the O(n½) Grover's search algorithm.

      Typical algorithms that are exact and yet run in sub-linear time use parallel processing (as the NC1 matrix determinant calculation does), non-classical processing (as Grover's search does), or alternatively have guaranteed assumptions on the input structure (as the logarithmic time binary search and many tree maintenance algorithms do). However, formal languages such as the set of all strings that have a 1-bit in the position indicated by the first log(n) bits of the string may depend on every bit of the input and yet be computable in sub-linear time.

      The specific term sublinear time algorithm is usually reserved to algorithms that are unlike the above in that they are run over classical serial machine models and are not allowed prior assumptions on the input.