Top "Complexity-theory" questions

Computational complexity theory is a branch of the theory of computation in theoretical computer science and mathematics that focuses on classifying computational problems according to their inherent difficulty.

Determining complexity of an integer factorization algorithm

I'm starting to study computational complexity, BigOh notation and the likes, and I was tasked to do an integer factorization …

algorithm complexity-theory big-o factorization
Uses of Ackermann function?

In our discrete mathematics course in my university, the teacher shows his students the Ackermann function and assign the student …

algorithm math complexity-theory discrete-mathematics
Databases versus plain text

When dealing with small projects, what do you feel is the break even point for storing data in simple text …

database complexity-theory
Anagram algorithm with minimum complexity

I recently was asked to design an algorithm that checks if two strings are anagrams of one another. My goal …

c algorithm complexity-theory puzzle anagram
Understanding Ukkonen's algorithm for suffix trees

I'm doing some work with Ukkonen's algorithm for building suffix trees, but I'm not understanding some parts of the author's …

algorithm complexity-theory suffix-tree
What is the best complexity of N-Queens puzzle?

Can the N-Queens puzzle theoretically be solved in polynomial time? If so, what is the best complexity of it? I …

algorithm complexity-theory n-queens
What's Up with O(1)?

I have been noticing some very strange usage of O(1) in discussion of algorithms involving hashing and types of search, …

search collections complexity-theory data-access