Problem Detail: I am unable to see a clear explanation of how the classes NC and P/poly intersect or not. (and if they do intersect then how and where? and if not then what is the proof?) Asked By : user6818 Answered Read More …
Blog
[Solved]: Complexity classes pertaining to listing all solutions?
Problem Detail: I was reading a question over at Stack Overflow asking whether it was NP-hard to list all simple cycles in a graph containing a particular node and it occurred to me that I couldn’t think of any existing complexity Read More …
[Solved]: TSP problem with a benchmark data
Problem Detail: I’ve got a test Travel Salesman Problem’s data with known optimal solutions. It’s in a form of set of 2D points. Particularly, this is a tsplib format; sources are here and here. I’d started a simple test with the Read More …
[Solved]: AVL tree such that each insert causes rotation (single or double)
Problem Detail: Could you give me an example of an AVL tree for which inserting an element at an arbitrary (i.e. every) position causes a rotation (double or single)? I have tried to come up with an example, but I didn’t Read More …
[Solved]: Exploring and interpolating a function using machine-learning?
Problem Detail: Which general machine-learning methods are there that try to “learn” or interpolate a smooth multivariate function and which get to actually choose the points at which the function is evaluated during the learning process (exploration)? The idea would be Read More …
[Solved]: Depth first or breadth first ordering in binary search trees?
Problem Detail: Let’s say that I make a binary search tree and store it in an array so that I end up with an array that is more cache friendly to binary search compared to a sorted array. The binary tree Read More …
[Solved]: Can there exist a recurrence relation for “sequential search”?
Problem Detail: I’m just confused, cause from my knowledge recurrence is applied mostly to recursive procedures or divide and conquer techniques etc. Asked By : Sameer Thigale Answered By : David Richerby Sure. The cost of searching a list of length zero is Read More …
[Solved]: Computing the complement of a set
Problem Detail: Suppose I have a set $A$ of elements in ${1, ldots, n}$, given as an unordered list. I would like to compute the complement of $A$, i.e., I would like to produce an unordered list of entries in ${1, Read More …
[Solved]: regular expression in license plates
Problem Detail: I’m trying to write a regular expression for some particular license plates. They consist of one up to three capital letters, a hyphen, one up to two capitol letters and one up to four numbers. The license plate should Read More …
[Solved]: Using Clique decision to solve Clique optimization
Problem Detail: How can you perform the clique decision algorithm fewer than $ O(n) $ times to solve clique optimization? I’m not sure if my approach is right but this is my thought process: you would pick vertices in a graph Read More …