Problem Detail: I’m reading Cormen’s Introduction to Algorithms 3rd edition, and in examples of Master Method recursion solving Cormen gives two examples $3T( frac{n}{4} ) + nlog(n)$ $2T( frac{n}{2} ) + nlog(n)$ For the first example we have $a=3$ and $b=4$ Read More …
Author: ignougroup
PTAS definition vs. FPTAS
Problem Detail: From what I read in the preliminary version of a chapter of the book “Lectures on Scheduling” edited by R.H. M¨ohring, C.N. Potts, A.S. Schulz, G.J. Woeginger, L.A. Wolsey, to appear around 2011 A.D. This is the PTAS Definition: Read More …
Which kind of interrupt has the highest priority on 8086 processors?
Problem Detail: Which of the following interrupts has the highest priority in 8086 micro-processor: Overflow, NMI or Type 255? The book I read suggests that type 255 has highest priority. But most of the searches on google showed that it is Read More …
Poly-time reduction from ILP to SAT?
Problem Detail: So, as is known, ILP’s 0-1 decision problem is NP-complete. Showing it’s in NP is easy, and the original reduction was from SAT; since then, many other NP-Complete problems have been shown to have ILP formulations (which function as Read More …
Min/max height of B-tree
Problem Detail: I have a question asking for the minimum and maximum height $h$ of a B-Tree with 1000 elements under following conditions: each block can save 1 to 4 records, the number of internal nodes is between 3 and 5 and Read More …
what is difference between multilayer perceptron and multilayer neural network?
Problem Detail: When do we say that a artificial neural network is a multilayer Perceptron? And when do we say that a artificial neural network is a multilayer? Is the term perceptron related to learning rule to update the weights? Or Read More …
Complexity of sorting a 1-sorted array
Problem Detail: A $k$-sorted array is one in which every element is at most distance $k$ from its position when the array is sorted. The complexity of sorting such array is $O(nlog k)$. But if $k=1$, then $log k=0$ so what Read More …
Efficient way to find intersections
Problem Detail: I have an Euclidean graph: each vertex is a point on the 2D plane, so the weight of each edge is the Euclidean distance between the vertices. I am randomly creating a path thru all the vertices and I Read More …
Why is Iterative-deepening A* optimal, even without monotonicity?
Problem Detail: Why is it that Iterative-deepening A* is optimal, even without monotonicity? How can I be sure that the first goal reached is the optimal one? Asked By : Lieven Cardoen Answered By : Carlos Linares López In a nutshell: IDA* traverses Read More …
How to generate a pushdown automata for accepting a language?
Problem Detail: I have an exercise in my book to come up with a pushdown automaton accepting a language. The exercise is to come up with a state diagram for the PDA accepting the language of all odd-length strings over ${a, Read More …