instruction stringlengths 35 29.1k |
|---|
I'm studying the Post Correspondence Problem (PCP) and understand the concept, although I have problems with proving how to show that an instance of a PCP or modified PCP has no solutions.
For instance, how could I show that the the instance $\ ((0,11,1), (001,1,11)) $ of an MPCP has no solutions? and what is the thou... |
In a very famous paper (in the networking community), Wang & Crowcroft present some $\mathsf{NP}$-completeness results of path computation under several additive/multiplicative constraints. The first problem is the following :
Given a directed graph $G=(V,A)$ and two weight metrics $w_1$ and $w_2$ over the edges, defin... |
Tomorrow is my presentation and I want to clear my concepts…
I've read that in DFA, "For each state, transition on all possible symbols (alphabet) should be defined."
Is for each state, defining transition on all possible symbols mandatory in DFA? If its not, then please give any examples?
|
Given a sequence of numbers, I have to prove that the number of decreasing subsequences (non-strictly), so that every number is included in one subsequence and the number of subsequences is minimum is actually the length of one of the longest increasing subsequences. I need to this because I have to prove the greedy al... |
Have been trying to understand the image below which shows status of spinlock using cache coherence. Reference is Computer Architecture A Quantitative Approach------------------
Could anybody explain why there is a cache miss in step no.5 when P2 tries to execute swap.
|
I'm working on a problem and I've managed to design an efficient algorithm, but I'm stuck at the last part.
After some processing I'm left with a tree and I have to answer several queries of the form $(x,y)$, such that for each such query we have to print the minimum cost edge on the path from $x$ to $y$.
Now, this c... |
Say we have a set of time intervals, that may intersect. A time point "marks" all of the intervals that are still unfinished at that time point. I wish to find an algorithm so that I can mark all of the intervals using the least amount of time points. E.g. if all of the intervals have not finished at time 6, one point ... |
This is my first question here. I'm not a CS at all, so it might be quite trivial.
I have written a program in C where I allocate memory to store a matrix of dimensions n-by-n and then feed a linear algebra subroutine with. I'm having big troubles in understanding how to identify time complexity for these operations f... |
The real problem I am facing is the following.
INSTANCE: I have sets $N:=\{1,\ldots,n\}$ and $K:=\{1,\ldots,k\}$ and matrix $a_{ij}>0$ for all $i\in K$ and $j\in N$.
QUESTION: I need to find a subset $S$ of $N$ of size as small as possible and partition the set $K$ into $|S|$ disjoint sets $K_j$ whose union equals $K$... |
Is a graph with two of the same edges a graph?
Specifically, can this graph be considered a directed graph?
|
I am EXTREMELY confused on where to start with this problem. We recently just started learning about graph theory and I don't know where to begin.
Prove that in a connected graph G with $p$ vertices, $q$ edges, and at least one cycle, $q \ge p$
How do I begin with this question? Any help would be greatly appreciated.... |
Let's say I'm trying to learn emotion given multi-modal sources. In this case, video and audio. However, I only have one dataset for video emotions and one dataset for audio. Is it possible to train a Deep Learning classifier on each dataset separately? One way I can imagine doing this is creating some sort of shared h... |
As we know many programming languages and systems don't implement the strong reduction of $\lambda$-terms, instead they do weak reduction (no reduction under abstraction).
I recently experimented several tests on $\lambda$-terms. I applied strong reduction and call by value reduction on them.
strong reduction took l... |
Often there are programming languages that are specialized for specific tasks. Some programming languages are excellent at array arithmetic (such as matrices and the use of multidimensional arrays), yet some are much better at higher-level mathematics that is hard to reproduce in other languages (yet still possible all... |
Consider these two sets of coordinate pairs with weights:
| set 1 | | set 2 |
| (1,0) - (0,1) 1 | | (1,1) - (1,1) 2 |
| (0,1) - (1,1) 4 | | (0,0) - (0,0) 1 |
| (1,1) - (0,0) 3 | | (1,0) - (1,0) 3 |
| (0,0) - (1,0) 8 | | (0,1) - (0,1) 6 |
Each set has the properties:
A coordinate is ... |
H_max() algorithms work by considering a state in the planning graph, and using all applicable actions to make every atom in that state true. The h_max() for a given state is the cost of the most expensive atom in that state. Lets say that we have a relaxed planning task and it's heuristic (h+) then c*h_max()
|
Defunctionalization is a transformation first described 1972 by John C. Reynolds to eliminate higher-order functions. Are there alternative transformations (more efficient?) to eliminate higher-order functions?
|
I want to know if adding an edge to a undirected acyclic graph introduces no new vertex to the undirected acyclic graph then therefore we can say that adding this edge creates a cycle? I am confident this is correct, but I am looking for a formal proof on this if it is true(preferably a published paper that shows this)... |
Is there a flowcharting application like Raptor for Mac. I am using the OS X (Sierra) version. I use Raptor in Windows and need a similar application
for Mac.
|
Describe the problem as a graph problem. I've tried to modify the breadth first search algorithm, but haven't gotten anywhere. Any ideas?
|
I'm very curious about anything related to packet headers since im not well aware of how TCP/UDP protocols identify it's connection endpoint after a public IP is addressed. As for today I know the port will identify the process, but what happens when typically more than one computer is working over the same public IP a... |
In the course of my research, I stumbled upon a problem which can be recast as the following decision problem:
First some notation:
Let $\mathbb{F}=\{0,1\}$ be the binary field. For $x\in\mathbb{F}^N$, $N\in\mathbb{N}$ arbitrary, let $w(x)$ denote the Hamming weight of $x$, i.e., the number of non-zero components.
Le... |
Following is the problem from a finished programming contest.
Two players try to create a number, DesiredTotal, by adding numbers
from 1 to N. The first to cross the number is the winner. The number to be
added cannot be repeated. For example, if one player used 4 to increase the sum from
20 to 24, the neither p... |
Having single operator, which could do work and it's time of availability - for example from 8 am till 9 pm. And operator have limited resource - let's call it energy (e), e <= E_MAX.
List of works that need to be done: [w1, w2, w3, ... ,wN], (operator could complete only subset of works, all incompleted works moving... |
From what I know, the high level scheduler decides which process is to be taken from backing store and placed into memory/ready queue, while the low level scheduler decides which process in the ready queue is executed by the CPU. If this is the case, which of the two schedulers actually use the scheduling algorithms (s... |
In unification, for example set $s=\{ f(a,Y),f(X,d) \}$ has a disagreement set $\{ (a,X),(Y,d) \}$, since these two elements does not match on their fields. simply speaking that is a set disagreement set and in unification finds terms for $X$ and $Y$ to make disagreement disappear, so unifies.
I got a question about no... |
NB: I've been trying to Google for prior work on the problem described later in this post, but the search results I get for all the keywords I can come up with (e.g. minimal satisfying sets) are inundated with false positives. In this post I'm just asking for terminology/nomenclature/buzzwords to make my Google searc... |
Let be the following problem : "Given a graph $G$, does it exists a clique in $G$ of length $\ge k$" for a given $k\in\mathbb{N}$. Show that it is NP-Complete
I know how to show that
a set of vertices $S$ is a stable set in $G$ iif $S$ is a clique in
$G_C$.
the Hamiltonian cycle problem is in $NP$
And I know the d... |
Suppose you have two heaps each containing $2^k - 1$ elements.
Design an efficient algorithm for merging these two heaps into a single heap.
My approach was to assume two heaps are maxheap. Create one node with value $-\infty$ and attach one heap as left subtree and another as right subtree, and call the heapify proce... |
In many formal definitions of Turing machines, the Greek letter $\Gamma$ is used to denote the tape alphabet of the TM.
What is the origin of using $\Gamma$ for this? I'm having a hard time imagining what this might stand for.
|
I was just thinking about Turing-completeness and its relationship with modern computers. I've always thought that a real computer is not technically Turing-complete. It is equivalent to a linear-bounded automaton; a Turing machine has infinite memory, whereas a real computer has only finite memory.
However, you can ... |
Knuth's Algorithm X is a recursive, nondeterministic, depth-first, backtracking algorithm that solves the NP-complete problem exact cover (EC). (It actually finds all solutions to EC.)
I do not understand how such algorithm could do that. What is the time complexity of this algorithm in terms of big-O notation?
Here is... |
(source: edu.au)
This is the sort of bidirectional shift register, I'm talking about.
I understand why the normal right shift is useful, but when you shift it left, all you're really doing is sending the data input straight to the output.
Is there a useful reason for shifting bits in this manner?
EDIT-
I'm trying to u... |
It seems to me that the 'implies' in English language does not mean the same thing as the logical operator 'implies', in a similar way how 'OR' word in most cases means 'Exclusive OR' in our everyday language use.
Let's take two examples:
If today is Monday then tomorrow is Tuesday.
This is true.
But if we say:
If t... |
I'm evaluating Amazon's machine learning platform, and thought that I would give it a "simple" classification problem first. As a disclaimer, I am quite new to machine learning (hence my interest in an ML platform).
The classification problem is language detection. Given a list of 20k words, and their language (Engli... |
A subset $S$ of vertices in an undirected graph $G$ is called almost independent if at most 100 edges in $G$ have both endpoints in $S$. Prove that finding the size of the largest almost-independent set of vertices in a given undirected graph is NP-hard.
For these types of problems, I know that I should try to find a... |
It is clear that AKS primality proving is the newest one, but as the results show it is not the fastest one.
When I try the 9 digits long prime number it consume about 6 minutes to give you the result.
Are there any modifications to make it faster for large random primes in size above 200 digits?
The problems in the AK... |
Background: I am a complete layman in computer science.
I was reading about Busy Beaver numbers here, and I found the following passage:
Humanity may never know the value of BB(6) for certain, let alone that of BB(7) or any higher number in the sequence.
Indeed, already the top five and six-rule contenders elude us: w... |
In Windows, if you write a random assembly program that has a random jump to an address that doesn't exist, the program crashes and Windows says something went wrong with the program.
Since each computer system is essentially a constant execution of assembly, how does the one program crashing not cause the entire syste... |
In my GATE Exam I have given with the following question statements and
R5 ← R0 + R1
R6 ← R2 * R5
R5 ← R3 - R6
R6 ← R5/R4
X ← R6
the question was to calculate number of Output, True and Anti Dependencies in the instructions.
I calculated and it turns out to be
RAW (True Dependency)
I1 - I2 (R5)
I2 - I3 (R6)
I3 - I... |
I am studying DFA's, but I've been struggling to find an explanation of what does the final state mean? I know that it is indicated by double circle on the graph, but what does it imply?
|
Currently I'm using the well-known ratio-2 algorithm which is nice and fast, but I'm looking for an intuitive way to improve my results.
All the articles I read so far were way too complicated for me, I'm looking for simple ideas to improve the results.
What I got so far:
def approx_vc(g):
"""
Find ... |
Let $D=(V,E)$ be a digraph and let $a\colon E\to\mathbb{R}$ be a cost function on the edges.
How can I prove that $D$ has no circuits with negative costs only if there exists a function $\pi\colon V\to\mathbb{R}$ such that $a(uv) + \pi(u) − \pi(v) \ge 0$, for all $uv\in E$?
I realised that this is true by some examples... |
I have this version of Prim's algorithm
Prim$(G=(V,E),s\in V,w)\\
1.\ d(s)\leftarrow 0;\forall u \neq s:d(u)\leftarrow \infty\quad \color{red}{O(|V|)}\\
2.\ \forall u \in V:p(u)\leftarrow \text{null}\quad \color{red}{O(|V|)}\\
3.\ s\leftarrow \emptyset,T\leftarrow \emptyset\quad \color{red}{O(1)}\\
4.\ Q \leftarrow \... |
Since my question relates directly to a part of the text from a 2004 book, Logic in Computer Science: Modelling and Reasoning about Systems (2nd Edition) by Michael Huth and Mark Ryan, in order to provide context for the following discussion, I'm partially quoting the book verbatim:
The decision problem of validity in... |
im looking for efficient algorithm to expand $(x+a)^n$ without using binomial theorem
is the repeating square method efficient for that problem with the help of binary representation of n ?
|
Currently I have to learn Coq and don't know how to deal with an or :
As an example, as simple as it is, I don't see how to prove:
Theorem T0: x \/ ~x.
I would really appreciate it, if someone could help me.
For reference I use this cheat sheet.
Also an example of a proof I have in mind: Here for double negation:
Re... |
Creating a context-free grammar for the language
$L_1 = \{ 0^{n} 1 ^{m} \mid m,n \in \mathbb{N} \wedge m \equiv n \mod 3\}$
is quite easy. A grammar is
$$ S \rightarrow \epsilon \mid 0A $$
$$ A \rightarrow 1 \mid 0B $$
$$ B \rightarrow 11 \mid 0S $$
But I am now trying to create a context-free grammar for
$L_2 ... |
Let's say our alphabet is 0 and 1.
How would you approach writing a regex to generate a language of words that do NOT contain 101.
The only regex operators allowed are concatenation , star * and OR |.
I am stuck now and I want to know if anybody has an idea.
|
I was looking for non-recursive implementation of DFS algorithm.
I found the following pseudocode on this page.
1 procedure DFS-iterative(G,v):
2 let S be a stack
3 S.push(v)
4 while S is not empty
5 v = S.pop()
6 if v is not labeled as discovered:
7 label v as discovered
... |
Let's say we want to write a regular expression that matches a string that ends with the same pattern that it begins with.
Let's say that we have an alphabet composed of the binary symbols: {0,1}
We should make a regular expression to create a language that is composed of words (W) with the following pattern:
W=w1w2w1 ... |
The iOS emoji keyboard has a Frequently Used section. Notably, this is different from a Recently Used implementation - the data structure behind it is not an array of emoji where once you use an emoji it is inserted in the array (after first removing it if it already exists). But neither does it appear to be implemente... |
Given an undirected graph $G$ of $N$ nodes and a starting node $s$, I want to build, with dynamic programming, a table whose $(k, n)$-th entry is $1$ if node $n$ is reachable with exactly $k$ steps from node $s$.
Specifically, for the first row of the table, I set $(1, n)$ to 1 if node $n$ is connected to node $s$. The... |
say you want to make a Pushdown Automaton to recognize this language.
What exactly does the +1 mean? I see in the example it just pushes an a to the stack before arriving at an acceptance state but I don't quite get why.
|
So in regular algebra we have some basic operations defined such as multiplication, addition, subtraction and division.
For these operations/operators, we have some properties like commutativity, associativity and distributivity.
Is there an analogue set of properties for the operations/operators on that we do with Reg... |
So if we have a complex equation in regular algebra we can use properties like distrbuivity, associativity and commutativity to make an equation simper or more compact.
Can we use some sort of techniques on regular expressions to make them more simpler?
For example what is the relation between concatenation and kleene ... |
A (non-deterministic) finite state automaton for "all strings that contain substring $w$" is very simple. Just make the path for $w$ and add looped transitions for all letters at the first initial state and the last final state.
When asked to make a deterministic automaton in general we might expect that the automaton ... |
Knowing
D={p|p is a polynomial evaluating to 0 for some assignment of integers to its variables} is not decidable, how can I prove that E={p|p is a polynomial evaluating to a prime for some assignment of integers to its variables} is not decidable?
Proving that D is mapping reducible or Turing reducible to E would be... |
I have an NP-hard problem P where we are trying to minimize some objective function subject to some constraints. Problem P is very hard in the sense that even finding a feasible solution is NP-hard! (i.e., finding a solution that satisfies the constraints is NP-hard).
Let OPT denotes the optimal algorithm for P. That i... |
How is the valid/invalid bit in paged memory useful?
I am not able to understand the significance.
Is it also somehow used to share the processes among different users.
|
What are advantages and disadvantages of weight balanced binary tree over the height balanced binary tree?
|
I am trying to solve this branch and bound problem but I could not come up with any approximate cost function which is better than the cost.
Let's say $G$ is a graph of $n$ nodes $\{1, 2, 3, \ldots , n\}$. For a permutation $f$ of the nodes of $G$, the weight of each edge $(x,y)$ will be $|f(x)-f(y)|$. The total we... |
Let $G = (S, T, E)$ be a bipartite graph without isolated vertices.
For each edge $e ∈ E$, $e = st$ (where $s ∈ S$, $t ∈ T$), the inequality
$d_G (s) ≥ d_G (t)$ holds. Prove that there is a matching in $G$ saturating all
of $S$'s vertices.
|
A CFG is in strong GNF when all rewrite rules are in the following form:
$A \rightarrow aA_1...A_n$
where $n \leq 2$.
|
When we parallelize tasks and measure the perforamnce,two common measures of parallel scaling are
Strong Scaling: Time for fixed problem size as number of processor is increased
Weak Scaling: Time for fixed computational work per processor as problem size is increased
Some documents mention that the weak scaling is eas... |
I'm trying to follow the center star algorithm error analysis - section 6.5.3. They claim that for the center string $S_1$ the distance induced by the algorithm $d(1, j)$ is always equal the optimal alignment $D(S_1, S_j)$ since $\delta(-,-) = 0$.
I don't understand this argument. For each j, the algorithm aligns a to... |
A literal is a piece of data which gets its value at compile time.
Means: Becomes set at compile time and afterward the value is fixed incorporated into the machine code as a code consisting out of 0s and 1s.
What are literals in interpreted languages like for example JavaScript?
As far as I know the code within JavaS... |
Propose a reasonably efficient algorithm to decide, given a DFA $A$ and a CFG $G$, whether $L(G) ⊆ L(A)$.
I think that I have to prove it by computing the intersection of both (DFA,CFG), and then look if the language generated by the intersection is the same as that generated by the CFG. But I'm not sure if it works.... |
How can I prove that the language $L=\left\{\langle M\rangle\mid L(M)=\left\{\langle M\rangle\right\}\right\}$ is not decidable?
When trying to use a diagonal argument, I cannot conclude from $L(M)\ne\left\{\langle M\rangle\right\}$ that $\langle M\rangle\not\in L(M)$.
Also, it seems that I cannot apply Rice's theorem ... |
I'm studying for my computing languages and I have some problem on getting the production rules from a push down automata.
The automaton accepts all strings over alphabet $\{e,k,q,y\}$ of the form $w\,kyyk\,w'$ such that $|w|=|w'|$.
There are the productions rules I get.
S -> QkyykK
Q -> qQ
Q -> yQ
Q -> eQ
Q -> kQ
Q ->... |
https://en.wikipedia.org/wiki/P_versus_NP_problem states:
If graph isomorphism is NP-complete, the polynomial time hierarchy
collapses to its second level.
They further state that this may be unlikely, but at least it's a possibility. However, https://en.wikipedia.org/wiki/Time_hierarchy_theorem states:
The theore... |
a b c Y
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 1 0
1 1 0 0
How would you put this into a logical expression that shows Y's behaviour?
|
As far as I know (despite some variations which provide empirical average-case improvements) quick-sort is worst case $O(n^2)$ with the original Hoare partition scheme having a particularly bad behavior for already sorted lists, reverse-sorted, repeated element lists.
On the other hand a B-Tree has $O(\log n)$ inserti... |
Whenever I'm coding a dynamic program , I usually struggle building the solution from the predecessor matrix . How should use the predecessor matrix to find the solution ?
Thanks,
|
Once we fix a polynomial time deterministic verifier V(input, certificate), its corresponding NP problem is the question: For this input, does a (polynomial size) certificate exist such that V(input, certificate) returns True?
The associated counting problem (#P class) is: How many certificates exist such that V(input,... |
For instance, if we know a language $L_1 = \{ \langle M \rangle \mid ~ \lvert L(M) \rvert = n \} $ is decidable, can we prove that $ L_2 = \{ \langle M \rangle \mid ~ \lvert L(M) \rvert = n-1 \}$ is also decidable? In other words, prove $L_2$ reduces to $L_1$.
|
I am trying to come up with a proof for the following:
For any language $A$, there exists a language $B$ such that $A \le_{\mathrm{T}} B$ but B $\nleq_{\mathrm{T}} A$.
I was thinking of letting $B$ be $A_{\mathrm{TM}}$, but I realize that not all languages are Turing reducible to $A_{\mathrm{TM}}$, so $A \le _T B$ wo... |
Let's say we have circuitry that can send pieces of data to the past state of the program through literal time travel. Said time travel takes 1-5 clock cycles (I cannot assume the nature of time travel so I am giving slight lee-way) and sends one byte to some byte in the past programs memory along with a check bit to s... |
I've got a test on this tomorrow, my instructor's lectures aren't up, and the notes are ambiguous...
Anyhow, we've been covering floating point operations, specifically addition, and he mentioned these three bits. While I can surmise their meaning to a degree, I'm wondering if anyone could explain concretely what they... |
In articles you often find the terminus "capture avoiding substitution" that saves the author(s) from the tedious process to re-define a recursive function -including alpha-conversion and the invention of fresh names- in the discussion of dynamic semantics. The terminus is well understood by the readers and somewhat st... |
$\textbf{stmt} \to$ $ \textbf{if} $expr$ \textbf{then}$ stmt
$\mid $ $\textbf{if}$ expr $ \textbf{then}$ stmt$ \textbf{else}$ stmt
$\mid \textbf{other} $
This grammar is called as Dangling Else Problem . However the ambiguity is resolved by parser as described as fo... |
Has there been any research on the proof complexity of a resolution to the P=NP problem? If not, given the lack of progress on the problem, would it be unreasonable to conjecture that any proof that resolves the P=NP problem will require a super-polynomial number of steps?
|
You have two binary search trees A and B, each one is a complete binary tree containing $2^k-1$
nodes. The maximum value of the keys in the tree A is less than the minimum value of the keys
in tree B.
Propose an efficient algorithm for creating a single height-balanced binary search tree containing the key values of a... |
Background:
The idea of this data structure is as follows. We will have a collection of arrays, where array $i$ has size $2^i$. Each array is either empty or full, and each is in sorted order. However, there will be no relationship between the items in different arrays. The issue of which arrays are full and which are... |
While setting left=0, right=n-1 and A an array of n numbers, find out the running time complexity in terms of $\Theta$. Firstly find out the recurrence and then evaluate it by using the substitution technique. (MergeSort is a regular mergesort between the given 2 indexes, and Merge is of linear time complexity as the n... |
How many different binary search trees are possible that store the values 1,2,...,n ?
So far I found a recursive formula for the number (by case distinction what's at the root):
$ T(n) = 2T(n-1) + \sum_{i=2}^{n-1}T(i-1)T(n-i), n > 1 $ and $ T(1) = 1 $
But I have no idea how to solve this recursion. Our task was only to... |
so I am currently learning about dfa and nfa and i came across the following question which requires me to use Brzozowski's derivatives method to construct a minimal DFA recognizing the language defined by the rational expression below. I am having quite a bit of trouble understanding how Brzozowski's derivatives works... |
Is $L=\{ M | M\text{ leaves the start state on every input}\}$ decidable?
I have an intuition that the following language is undecidable, since the complement $L^C$ seems to not be recursively enumerable. Some TM might remain on the start state for $k$ steps, but then leave at $k+1$ steps, so we can't get a definitive ... |
I have to solve linear transportation problems for a research project. Ideally, I should design an application that will recieve the problem data as an input and then show some results. The size of the problems are in the order of N=10.000 sources and N=10.000 destinations, and 2N=20.000 restrictions of equality, one f... |
I am working on finding the asymptotic estimate for $$ \sum_{k=1}^{N} {\frac{1}{k^2 H_k}}.$$
All I know is that ${\frac{1}{k^2 H_k}}$ is convergent because $${\frac{1}{k^2 H_k}}<\frac{1}{k^2}$$ and $\frac{1}{k^2}$ is convergent.
Am I right to conclude that the asymptotic estimate for this is $O(\frac{1}{k^2})$?
|
This statement really made me confused, Is any superset of an undecidable set is uncountable?
|
I want to prove that $L = \{\langle T\rangle\mid T \text{ is a DFA and $L(T)$=$(101)^*$}\}$ is decidable.
I have the following idea in mind:
I design a TM $M$ such that, first of all, $M$ converts $(101)^*$ to NFA $P$. Then it converts $P$ to DFA $K$. After that $M$ determines whether $K$ and $T$ recognise the same la... |
I'm currently reading up a bit on Turing decidability reductions as I'll take a more in-depth course about the topic next semester. While reading up on some older course material I asked myself the following question which leaves me a bit puzzled:
Let $A, B$ be languages, and $\le_m$ be the mapping reduction for langua... |
In lambda calculus, starting from $KII$ we can get by a single $\beta$-reduction to either
$\lambda y.II$
or $KI$
Now, according to Church-Rosser, these should be reducing into a common normal form. But the first reduces to $I$ and the second to $\lambda y.\lambda z.z$.
Am I doing wrong $\beta$-reductions or the theore... |
Write the conjunctive or disjunctive normal form of an expression $f$ that is true if the number $t=(xyz)_2$ is a zero of the following polynomial:
$$p(t)=(t-6)(t-5)(t-4)(t-2)t(t+1)(t+3)(t+7)$$
The zeros of this polynomial are $-7,-3,-1,0,2,4,5,6$. So $t$ has to be $(000)_2$ or $(010)_2$ or $(100)_2$ or $(101)_2$ or $... |
I'm leaving out some specifics because this is a challenge problem and I don't want to be spoon-fed the answer, but I need a nudge in the right direction.
I am given a complete digraph with the following characteristics:
There is one "start" node
There is one "end" node
There are N additional "special" nodes
Edges may... |
If I have a nx2 grid which I need to fill using 2x1 dominoes and L shaped trominoes in any combination, how many different combinations are possible?
I am aware that when only 2x1 dominoes are used then the cell definition using dynamic programming is:
$$
f\left [ 0 \right ]= 0
$$
$$
f\left [ 1 \right ]= 1, i=1
$$
$$
f... |
During my programming assignments in multi-agent systems, I noticed that it feels impossible to get distributed agents to cooperate without a synchronous component. Let me explain what I mean by these terms:
Cooperation: I would loosely define this as any process which a single agent cannot solve without receiving non-... |
All we know is that if a language is countable than it must be recognizable. However, a recognizable language may or may not be decidable.
|
Do we know an infinite sequence of decision problems where the most efficient algorithm for each problem takes $\Theta(n^k)$ time, where $k$ increases unboundedly?
Suppose for example that we would know that finding a k-clique takes $\Theta(n^k)$, then this sequence could be {1-clique, 2-clique, 3-clique, ...}. However... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.