Problem Detail: While reading an article on logic, there is a sentence “No number is equal to zero” and we have to assign truth values to this sentence. I hope this is true and the article says it as false. Can Read More …
Author: ignougroup
[Solved]: Understanding Intel’s algorithm for reducing a polynomial modulo an irreducible polynomial
Problem Detail: I’m reading this Intel white paper on carry-less multiplication. It describes multiplication of polynomials in $text{GF}(2^n)$. On a high level, this is performed in two steps: (1) multiplication of polynomials over $text{GF}(2)$, and (2) reducing the result modulo an Read More …
[Solved]: I/O in Theory of Computation
Problem Detail: I posted a question “Arbitrary Programs that halt” some days ago and now i think my doubt is a lot more clear. I concluded that in any arbitrary program that halts, control flow operations, calculation operations ( 2+3 , Read More …
[Solved]: Correcting two-bit error using a CRC
Problem Detail: What algorithm can be used to correct a two-bit error in a message protected by a 32-bit CRC, assuming the CRC polynomial allows that? I’m seeking something for 480-bit payload, able to detect uncorrectable errors, fast in the worst Read More …
[Solved]: A* graph search time-complexity
Problem Detail: Some confusion about time-complexity and A*. According to A* Wiki the time-complexity is exponential in the depth of the solution (shortest path): The time complexity of A* depends on the heuristic. In the worst case of an unbounded search Read More …
[Solved]: Let A,B be languages. If A is decidable and B undecidable, then A reducible to B
Problem Detail: So I’m learning for an upcoming exam and there’s a specific problem which I can’t show: Let A be decidable and B undecidable, then $A le B$ Can someone give me a hint how to solve that? Furthermore, does Read More …
[Solved]: Linear time algorithm for finding $k$ shortest paths from $s$ to $t$
Problem Detail: Definition. Given a graph $G=(V,E)$ and two vertices $s$ and $t$, the $k$-shortest-paths problem is finding the $k$ shortest simple paths between $s$ and $t$ in $G$. Note that the length of these paths is not necessarily equal, Read More …
[Solved]: implementation of queue using stack with REVERSE
Problem Detail: Suppose a stack implementation supports an instruction REVERSE, which reverses the order of elements on the stack, in addition to the PUSH and POP instructions. I’m looking for implementation of queue where ENQUEUE takes a sequence of three Read More …
[Solved]: Examples of processes / problems that cannot be tackled by Turing Machines
Problem Detail: I know that there are problems that cannot be solved by any algorithm, such as the Halting problem. I also know that some processes cannot be even adequately approximated by any Turing Machine (equivalently, any digital computer), meaning that Read More …
[Solved]: Relation between hardware and software
Problem Detail: I’m very interested in computing and programming. I have done a lot of programming with different languages although I have a question nobody was able to answer until now. I question myself how is software related to hardware. to Read More …