instruction stringlengths 35 29.1k |
|---|
I don't mean a TI-84 type calculator, and I also do not mean a simple calculator app on your phone.
Does a basic scientific calculator require an operating system?
|
Is there a name for the problem of turning a bipartite graph into two graphs in the following way? We form one graph from the vertices on the left, such that two vertices are made adjacent if they share a common neighbour on the right; we form the other graph similarly from the vertices on the right.
This pops up, for ... |
For all NFA $A = (Q, \Sigma, Q_0, \Delta, F)$ such that:
$\Sigma = \{0,1\}$
$|Q| = 4$
There exists a complete DFA $A' = (Q', \Sigma, q_0, \delta, F')$ such that:
$L(A) = L(A')$
$|Q'| \leq 15$
How does one go about the proof of such a thing? I think it should be true that if $|Q| = 3$, then $|Q'| \leq 7$, however I ... |
Question
Does there exist a DSL for describing data structures and their manipulation? I realize that a "normal" programming language describes data structures, but they also do a lot more (e.g. IO).
I'm curious what the smallest language is required to describe classic data structures like List, Tree, Set, Stack, Que... |
There's a number of questions on the internet (this site and others; e.g. Why hasn't there been an encryption algorithm that is based on the known NP-Hard problems? ) discussing NP hardness of different asymmetric cryptosystems. How well established are NP hard key-sharing systems? That is, systems for establishing a s... |
let me tell you first what is written in the book I am following.
If the array is full,create a new array of twice the size, and copy items.
At n=1,we do 1 copy operation,at n=2,we do 2 copy operation and at n=4 we do 4 copy operation and so on.
By the time we reach n=32,the total number of copy operation is $1+2+4+8+1... |
I just finished watching these 3 Coursera videos on back propagation in neural networks. I get the idea of what we're trying to do, but I don't get how we achieve that by calculating error in each step as weight * cascaded error (eg. the formula at the top right of screen at 12:07 in the linked video). Let's say we sta... |
Kleene's recursion theorem guarantees that any Turing complete language must have quines. However, consider the following quine (in C, taken from the Quine page):
char*f="char*f=%c%s%c;main()
{printf(f,34,f,34,10);}%c";
main(){printf(f,34,f,34,10);}
It makes no use of while or recursive functions, or any other of t... |
I'm looking at a textbook exercise that asks to prove or give a counterexample that $\forall A : A \leq_m A \cup \{0\}$.
$A \leq_m B$ is defined as:
$\exists f$ total, computable s.t. $\forall x \in A : x \in A \Leftrightarrow f(x) \in B$,
It then says in the answer sheet something to the effect of:
The only counterex... |
How to understand at least a small introduction to the complexity time for algorithm , how i can know that algorithm need O(log^2 N ) and so on is there any basic reference for this topic , needed in my project
|
I have the following task:
Main memory capacity = 64MB (B = byte)
Cache capacity = 64KB
Block size = 16B
Processor addressed information with address A = 0052A622h
Calculate address tag of associated tag and minimum/maximum address inside of that block.
This is the solution:
Address - 0000 0000 0101 0010 10... |
I am getting properly stuck into reinforcement learning and I am currently reading the review paper by Kober et al. (2013).
And there is one constant feature that I cannot get my head around, but which is mentioned a lot, not just in this paper, but others too; namely the existence of gradients.
In section 2.2.2. they... |
The standard binary search algorithm gives log N time, where N is the total number of elements in the array. When the array has duplicates, I don't see how you could detect those duplicates ahead of time. (Iterating through the array takes N time, which is too much.) Consequently how do you improve the performance from... |
I did not find any book discussing this but I came across the problem. The given set of FD was:
$F=\{B\rightarrow A,D\rightarrow AC,B\rightarrow C,AB\rightarrow D,BC\rightarrow D\}$
Surprisingly the answer given was
$F_{min}=\{B\rightarrow D,D\rightarrow A,D\rightarrow C\}$
$B\rightarrow D$ wasnt present directly in t... |
Apart from the fact that there isn't really a language as SQL and they are less standardized , i was wondering (in terms of their applications) where graph databases are (or can be) more efficient than Relational Databases.
More precisely, if there are some specific kinds of Data sets where the graph organization perf... |
For me, the most difficulty when it comes to learning about reinforcement learning is that there is not much to learn in the sense that without running some algorithm, it is very difficult to get a sense of how abstract RL framework is done in practice.
This is in contrast to a lot of the stuff you learn in related co... |
What is the space complexity of function $f(x) = \sum_{i=1}^x g(i)$ where g(n) is O(n)?
Is it O(n) because the maximum stack size is n, or is it O($n^2$) because there are $n(n+1)/2$ memory references?
|
I am trying to find a lead on how to solve or find a heuristic the following kind of problem:
Given an array/matrix with entries of only 1s and 0s, using a set of looping functions/patterns of a given form, generate indices for the 1 entries in the array/matrix.
The looping function/pattern is as followings:
index = (z... |
Informally, it is often said that some quines "cheat", such as those that read their own source code from memory, or the case where a program consisting of the empty string happens to output the empty string.
Quines that are considerd to be "non-cheating" always seem to have the same structure. There is some data struc... |
In Tarjan's algorithm for finding SCC/AP/Bridges, we update the value of the low[u] to be the min ( low[u], desc[v] ) given that v is a neighbor and has been discovered before, why it's not like this instead low[u] = min(low[u], low[v])?
|
Is it possible for MSO graph/tree transducers to reflect themselves, namely to create an interpreter of tree/graph transducers using tree/graph transducers? If yes, I'll be happy for some design guidelines.
|
In the book "The New Turing Omnibus", an excercise reads as the follows:
"Show that no finite automaton can accept the language consisting of
all words of the form $a^n b^n, n=1,2,3,...$ The formula represents
$n$ a's followed by $n$ b's."
I have no idea why a finite automaton shouldn't accept such words. Couldn... |
I try to estimate error detection capabilities of arbitrary CRC polynomials. One important criteria is if a given polynomial is primitive. So I need an algorithm to check that. My goal is to write a C or C++ routine.
Unfortunately I only found analytical solutions for the problem on the web.
Is there some numerical al... |
Let $I$ be a finite set of items and $\mathcal{M} = \{M | M \subseteq I\}$ be a set of subsets of $I$.
The task is to find the biggest subset $\tilde{\mathcal{M}} \subseteq \mathcal{M}$ so that all elements of $\tilde{\mathcal{M}}$ are pairwise disjoint:
$$\text{arg } \max_{\tilde{\mathcal{M}} \subseteq \mathcal{M}} |\... |
Suppose I have some locations where goods are to be delivered in multiple time slots(like 7-10 am , 10 am-1 pm, time slots are continuous). All the locations are connected with each other(completely connected graph).
1.) Firstly orders of first slot are to be delivered and then only orders of other slots can be deliver... |
I do sure that "grammar" and "syntax" is two different thing in CS, e.g
Syntax of Java language is defined by a context-free grammar.
My question are
What is different in definitions of "grammar" and "syntax" in CS?
What is relation between them, can we describe it by using set theory?
|
Let be given a 4-step pipeline with the steps "Get command, get operands, Execute command, Write back result" and an Assembler Code:
1 movl $1 , %eax
2 movl $2 , %ecx
3 movl $3 , %edx
4 addl %edx , %ecx
5 addl %ecx , %eax
The line 4 addl command is forced to wait until command 3 completely walked through the pipeline.... |
I have an $n$-dimensional ellipsoid $E$ and a hyperplane $H$. This hyperplane cuts $E$ into two parts: $E_1$ and $E_2$ (whose disjoint union is $E$). I want to find another ellipsoid $E'$ that has minimal hyper-volume and contains $E_1$. Is there an efficient algorithm to do this?
My first thought was to formulate it ... |
I've been tasked to create the systems architecture for a distributed system.
One approach to designing this system is to pick systems architecture patterns, and then evaluate different technologies that implement those architectural patterns.
For example, a particular architecture might call for a message bus, and giv... |
Let's consider a rooted tree $T$ of $n$ nodes. For any node $u$ of the tree, define $L(u,d)$ to be the list of descendants of $u$ that are distance $d$ away from $u$. Let $|L(u,d)|$ denote the number of nodes that are present in the list $L(u,d)$.
Prove that the sum of $|L(u,d)|$ over all distinct lists $L(u,d)$ is bou... |
I'd like to design a language that is able to reason over itseslf, means, able to get as input a code in that language (that might have went through some external redundant preprocessing, or "reflection" if to use another term) and reason over it. MLTT is of course a natural choice. But I'm seeking for a logically comp... |
Say I have two arrays, { energy and score }, and they could have elements like this:
E: 1 3 4 7
S: 16 10 5 1
What I want is the best score with the best energy. What data structure can support inserting items in a way that I don't have have an item with less energy and less score than another item i.e. for any i,j w... |
Toda's theorem says that $PH \subset P^{PP}$. Does this imply any relationship between $PH$ and $PP$ that does not involve oracles? Does it imply either that $PH \subset PP$ or that $PP \subset PH$? Is it known or conjectured whether either of those hold?
|
How do I present the complement using set notation?
I guess it has to be shows with universal set - {aa,bb} but I do not know how to represent the universal set in terms of set notation. Since, the strings of the universal set can be anything over alphabets {a,b}. So, how to represent it?
I guess something like this mi... |
Let us consider the set of all NPComplete problems. Since every problem in the set is Reducible to/from at least one known NPComplete problem, lets create a directed Graph with the following conventions:
If a problem B is Reducible from Problem A, create an edge from A to B. We assume an oracle who knows all possible ... |
I am working on a transformation from k Vertex Cover to SAT and I have some issues regarding the last clause in the boolean formula.
Here is my approach:
$$\forall \text{ nodes } n_i \in V, \text{ invent variables } v_i$$
$$\forall \text{ edges } (n_i, n_j) \in E, \text{ invent the terms } (v_i \lor v_j) \Right... |
In Booth's bit-pair recording technique how to multiply a multiplicand with -2 or 2? For example while multiplying 01101(+13, multiplicand) and 11010(-6, multiplier), we get 01101 x 0-1-2.
How to multiply the multiplicand using -2?
|
I want to compute the sum
$$\binom{n}{0}+\binom{n}{2}+\binom{n}{4}+\binom{n}{6}+\dots+\binom{n}{k} \bmod 10^9+7$$
where $n$ and $k$ can be up to $10^{14}$ and $k\le n$.
I found several links on stack overflow to calculate sum of binomial coefficients but none of them works on large constraints like $10^{14}$. I tried ... |
Vectors clocks seem to be a common way to synchronize the partial ordering of events in a distributed, peer-to-peer, system across all clients.
Is there any benefit to using them in a centralized system, where one node in the system has the power to order all events anyway, to order events? If one computer can decide t... |
I am looking for an algorithm that I can use to compare nested and potentially recursive data structures, for example to implement the Scheme equal? function. equal? recursively compares two objects for equality and properly handles cycles. Specifically, the algorithm needs to return true iff the (possibly infinite) ... |
While reading some of proofs in Computability Theory, I came up with following conclusion:
We can design a Turing Machine which exclusively accepts finite strings (obvious).
Now while trying the same for infinite string, I came up with the following conclusion :
There exist no Turing Machine which exclusively accepts i... |
Input: Directed, weighted, cyclic graph G. Two distinct vertices in that graph, A and B, where there exists a path from A to B. A distance d.
Output: A path between A and B with distance closest to d. The path need not be a simple path - it can contain repeated edges and vertices.
Which algorithms exist to solve this p... |
Is there some optimal solution in an auction where each bidder bids on a bundle of items?
|
I'd like to check if a certain order of events happens if another property holds true using UPPAAL and TCTL.
If A==true then eventually (B==true and eventually (C==true and eventually (D==true)))
But since "In contrast to TCTL, Uppaal does not allow nesting of path formulae." I'm not sure how to do this.
What I'v got s... |
I followed an explanation of Kosaraju's and Tarjan's strongly-connected components algorithms, and they say that both have O(|V|+|E|) time complexity.
That didn't make sense to me since Kosaraju uses two DFS passes and computes the transposed graph, but Tarjan's use only one DFS.
|
If there exists a Cook reduction of a decision problem $\mathcal{P}_1$ into another decision problem $\mathcal{P}_2$ and also a Cook reduction of $\mathcal{P}_2$ into $\mathcal{P}_1$, then is there also a Karp reduction (a polynomial transformation) between $\mathcal{P}_1$ and $\mathcal{P}_2$ (in both directions)?
Thes... |
How do you know that a decision problem $X$ is NP-complete?, if all other NP-problems polynomially transform to $X$ or if all other NP-problems polynomially reduces (there exist a polynomial time oracle for any problem in NP using an oracle for $X$).
Definitions seem to differ all over the web.
Thanks!
|
Are finite and recursive instances of $L$ possible with the following constraints?
$\text{L $\subseteq$ {0,1}*}$ and $L \leq HALT \leq \overline L$ where $\overline L = \{\text{ x $\in$ {0,1}* : x $\notin$ L }\}$.
NOTE: Raphael and Yuval kindly pointed out that I was overlooking $\overline L$ is undecidable. Aside fr... |
While playing around with optimization sets in LLVM, it occurs to me that the order in which optimizations are run matters greatly since, in general, A(B(src)) is not equal to B(A(src)) where A and B are some optimization of type source -> source and src is of type source.
Are there optimizations for which that propert... |
Given languages $L_1$ and $L_2$, how do we prove that
$$(L_1L_2)^{\mathrm{rev}} = (L_2^{\mathrm{rev}})(L_1^{\mathrm{rev}})\,,$$
where ${}^{\mathrm{rev}}$ denotes reversal?
I think using mathematical induction, it can be shown true for two languages $L_1$ and $L_2$ of length $1$ each and then do induction using one of t... |
just confuse with this problem. What is n × n grid graph and how many edges it has?
|
Consider $N$ sets $S_1,S_2,....,S_{N}$ of binary strings with don't-cares ($X$) with $|S_i| = n$ and the length of all strings is $m$.
In my application, $N=1000$, $n=100$ and $m=500$.
I have to find atleast one binary string with all set bits (either $1$ or $0$) that is compatible with at least one string of each set.... |
Thanks in advance for the help.
I have the following problem which, for lack of a better description, I'm referring to as the problem I've listed in the title.
Specifically I have a knapsack problem where I must exactly fill the knapsack. Additionally, the order in which I place the elements into the knapsack affects ... |
I am trying to use epipolar geometry concepts to estimate the relative pose of cameras between two images. I am currently using a simulator to get my camera images, so the distortion is zero and I know the camera parameters beforehand. I am using OpenCV (through the findEssentialMat, recoverPose, solvePnP functions) fo... |
Does there exist an algorithm that can solve the minimum cost maximum flow problem even if the residual graph contains negative weight cycles?
I have an implementation that uses shortest paths to compute the minimum cost maximum flow but this fails to find the minimum cost flow even though such a flow is well defined. ... |
So the question is: "Imagine the compression of a text written only with the first 5 characters of the alphabet (a, b, c, d, e). Knowing that their apparition's frequency is 1)e, 2)a, 3)c, 4)d, 5)b, code the letters on the minimum bits possible."
so here's how I did start:
We have 5 characters, so 3bits will be enough... |
I'm really new to learning about PDA's and stuff, i understand that on a edge between 2 nodes you'll have something like this a,b->c. This means:
if a is in the beginning of your string and b is on top of your stack you can
remove a from your string (the one you run through the PDA),
remove b from your stack
place c... |
How to judge whether a rectangle in the figure is inside the given point cloud? For example, in this figure, the red rectangle is outside the point cloud and the green rectangle is outside the point cloud.
|
I have an automaton, for example the below automaton and would like to generate a single formula (LTL or CTL, or some other representation) that satisfy exactly the traces provided. e.g.,
$t_1 = i^*f_4f_5f_7f_8f_7f_5f_4i^+$
$t_2 = i^*f_4f_6f_7f_9f_7f_6f_4i^+$
$t_3 = t_1^*t_2^*t_1^*$
$T = \{t_1 ...t_x\}$
I may have the... |
According to Wikipedia's article on Turing Reduction
It can be understood as an algorithm that could be used to solve A if it had available to it a subroutine for solving B.
Does solving mean always halting (accept/reject)? Should B assumed to be decidable language for the sake of proofs ?
|
When I was fairly young, I taught myself to count in binary. I thought it would be a fun party trick to impress people. I soon found out that it was not.
Over the years I've come to appreciate Gray code/reflected binary code for its property of only flipping one bit for each increment/decrement of the underlying count.... |
Consider the dominator tree of, say, the graph of objects in memory, computed by a memory profiler - one of the most powerful memory leak debugging features, I believe.
The dominator tree tells you "if you manage to make this object unreachable, you'll reduce overall memory consumption by its whole subtree".
Obviously,... |
Determining if a graph is $3$-colorable is NP-complete. But this is equivalent, by a resolved case of Hadwiger's Conjecture, to checking if the graph has $K_4$ as a minor.
Per https://en.wikipedia.org/wiki/Graph_minor#Algorithms, this can be done in $O(n^3)$ time, where $n$ is the number of vertices, as $K_4$ has a con... |
Given two ellipsoids $e_1, e_2$, and we need to find another ellispoid $E$ such that $E=\arg\min_{E\ :\ e_1,e_2\subseteq E} {V(E)}$ (where $V(E)$ is $E$'s volume). In words, $E$ has the minimal volume among all ellipsoids that contain both $e_1$ and $e_2$.
So, I am looking for some algorithm/ formula for computing $E$.... |
I am interested in combinatorial (worst-case) one-way functions. I came across this problem which may be related to coding theory problems (I am not an expert in coding theory).
INPUT: Two vectors $R_{n*1}$ and $C_{1*n}$.
QUESTION: Is there a binary matrix $A_{n*n}$ such that vector $R$ contains the parity check of ea... |
Here is a description I read from one of the sources about 2WNFA:
"Unlike ordinary finite automata, a 2DFA needs only a single accept state
and a single reject state. We can think of it as halting immediately when
it enters one of these two states, although formally it keeps running but
remains in the accept or reject ... |
I was given a HW assignment that asks me the following:
Given a system of $m$ linear equations in variables $x_1,x_2,...,x_n$ over $\mathbb{F_p}$, find a randomized algorithm that find an assignment for all the $x_i$ such that the expected number of equations solved are $m/p$. Then do a derandomization that gives an ef... |
I have a decision problem $X$ of which I think I can show its complexity by using a reduction from a problem $Y$ that has been shown to be strongly NP-hard.
I tried to follow the same procedure as for proving NP-completeness which I try to summarize here:
Show that problem $X$ is in NP (polynomial time verifiable)
Mak... |
I often wondered why languages like c do not have simple syntactical allowances that would help readability. For example, large numbers such as 1073741823 can be hard to read so my opinion is modern day languages should allow delimiters such as , (comma) so you can write a statement such as x = 1,073,741,823. That is... |
I just watched a video by Computerphile on the halting problem (https://www.youtube.com/watch?v=macM_MtS_w4) . I’m having some difficulty understanding the argument as it is made. Let me explain it as I see it:
So that our terminology is the same, H is a (hypothetical) program which can analyze another program to see... |
Recently I have come across a paper which talks of "(1+ε)-inapproximability" and of "logarithmic approximation".
While I have a basic knowledge of computational complexity (I more or less know what it means to be in P, NP, NP-hard and so on), I tried to study some basic texts on approximability but I'm not sure I reall... |
In the context of Turing machines, consider a $k$-sized macro machine (k-MM) which operates on groups of $k$ symbols at once. This is a common optimization in the search for Busy Beavers, explained e.g. by Holkner: Acceleration Techniques for Busy Beaver Candidates, 2004.
Holkner writes:
The number of shifts required ... |
I want to create a hybrid genetic algorithm for a project to solve really high dimensional problems (1000+) One of my ideas is to incorporate a local optimization method within GA so each individual will be optimized to its local optima before fitness evaluation.
I've read some papers on hybrid GAs with hill climbing.... |
If we have a finite automaton that accepts a string,
is there any numerical relationship that always is true like S ≥ |w| or something similar?
Where |w| the length of the string and S the number of transited states (counting multiplicities).
For example, if we have this automata and the string w = 010 :
S = 3 and |w... |
Let's define Cyclic deterministic finite automata (CDFA) as a DFA that treats its input a bit differently -- namely, CDFA when given input $w$, firstly transforms its input into $w@$, where $@$ is a special character outside the alphabet that acts as a loop, gluing end of $w$ to the beginning of $w$. So, when CDFA read... |
I want to find out whether, assuming a language $L_1$ being mapping reducible (i.e., $L_1$ maps to $L_2$ and the complement of $L_1$ maps to the complement of $L_2$) to a language $L_2$ and $L_2$ being recursively enumerable, $L_1$ is recursive or not.
I tried creating a recursive Turing machine for $L_1$ by using the ... |
My problem is to find all integer solutions to an ILP. As an example, I'm using an ILP with two variables, but I may have more than two variables. I describe the method I currently use to solve this problem near the end, but I'm interested in knowing if there is a proper and efficient algorithm or method for solving th... |
This is the question where I'm stuck:
With a 32-bit virtual address, 4 KB pages(12 offset bits), and 4 bytes per page table
entry, we can compute the total page table size:
Number of page table entries = 2^(32-12) = 2^20
Size of page table is 2^20 * 2 = 4MB
I understand this, but what I don't get is that each page t... |
Let's say I needed to render an image at 1920 x 1080 and also at 1024 x 768. Instead of drawing two separate images, it might make sense to draw the scene in a common "virtual" coordinate system and then translate that to the appropriate output coordinate system.
Is there a name for this problem? I'm having a hard time... |
Given a convex polytope $\{x\in \mathbb R^n | Ax\leq b\}$ where $A$ is a matrix, and $b$ is a vector, and inequality between two vectors (like $Ax\leq b$) means inequality between their components ($\forall i : (Ax)_i \leq b_i$).
Is it NP-complete to compute its volume? Or are there efficient algorithms for doing that?... |
This is an exercise from old exam on formal languages that I don't know how to solve:
Let $p \ge 5$ be a prime number and $L_p$ be a language of words over $\{0,1\}$ that read in binary from right (i.e. from least significant bit) give a number that gives remainder modulo $p$ from the set $\{1,2, \ldots, \frac{p-1}{2}\... |
This is a follow-up question on my previous one, How hard is recovering a binary matrix from its check sums?. Consider the following problem, which adds an extra restriction that the matrix be invertible:
Parity Problem
INPUT: Two vectors $R_{n*1}$ and $C_{1*n}$.
QUESTION: Is there an invertible binary matrix $A_{n*n... |
Russell's paradox: The set that contains all the sets that do not contain themselves. Does it contain itself? It contains itself if and only if it does not contain itself.
Russell's paradox for the lambda-calculus: The functions that may not be applied to themselves when combined with themselves, they negate themselves... |
It appears that "Basic Regular Expressions" as defined by POSIX.1-2008 do not support alternation, a|b (although some grep implementations recognize the escaped version, \|).
Since the regular languages are closed under union by definition, does this mean that POSIX BRE has less expressive power than a finite automaton... |
Powerset construction is used to convert a non-deterministic finite automaton (NFA) into a deterministic finite automaton (DFA). Is the method/algorithm used to do this deterministic itself and if so, why?
|
I'm doing a research on NLG systems.
I need to annotate my corpus (~6 million words) automatically. My algorithm works well and I want to calculate Cohen's Kappa. What I cannot understand is the second annotator; I don't have the possibility to have another annotation.
Is there any solution for this problem? Can I ha... |
The general formula for time complexity is $T(n) = aT(n/c) + bn^k$.
If $a> c^k$, the complexity is $O(n^{\log_c a})$.
If $a = c^k$, it is $O(n^k \log n)$.
If $a < c^k$, it is $O(n^k)$.
$a$ is the amount of times the recursive function is called, but what do $b$, $c$, and $k$ represent?
|
An n delay transducer in the context of the problem simply means that the output is same as the input but after waiting for 2 more symbols in the input.
2-delay transducer: We can't show any result till we see 2 symbols. So, to store in DFA we need states 00 01 10 11.
But in order to create 00 01 10 11, we need another... |
This is an exercise from an old exam that I don't know how to solve.
For any undirected graph $G$, let $c(G)$ be the length of the longest (simple) cycle in $G$. Show that if there exists a polynomial time algorithm which, for every graph $G$, returns some cycle in that graph which length is at least $\frac{c(G)}{2}$,... |
I'm not sure what terminology to use. Here is some input:
John has items: A B D
Peter has items: A C D
And I want to produce such a table, that would count the # of people having these items (0-count is not required to be outputted):
A 2
B 1
C 1
D 1
A,B 1
A,C 1
A,D 1
A,B,D 1
A,C,D 1
What's the ... |
I have N tasks, each of them requires some time to complete. Time to complete is not the same for all tasks. Each task may depend on a number of other tasks (assume, that no dependency cycles are present). I have M (M is fixed, small and << N) workers that may be used to complete the tasks. I need to find a sequence of... |
Let us consider a specific case of an extended Kakuro puzzle. Given an integer $n$, we must form $n$ as the sum of $k$ distinct positive integers each less than or equal to $r$. From a mathematical standpoint we know that any number including, and between $L=\frac{k(k+1)}{2}$ and $R=k(r+1)-L$ is achievable in such a wa... |
So, I know Church-Rosser has 2 thesis:
CR1: If $ E_1 \leftrightarrow E_2 $, then there exists an Expression E so $ E_1 \rightarrow E $ and $ E_2 \rightarrow E $
CR2: If $ E \rightarrow N $ (with N in normalform), then there exists a reduction row in normalorder (first reduce the left most ouuter most index) from E to ... |
I'm working on a tool that can analyze sizes of individual functions in a compiled binary. For each one it calculates how much space would be saved if the function was removed.
However, the current algorithm is quadratic in the number of functions and as such is quite slow. Is there a better one? The problem formulatio... |
The structure of the question is as follows: at first, I provide the concept of collective recognition, further I provide explanation of the various methods of group classification that I found, in the end I introduce you the question. Those who are experts in this field and may not need explanations might just look at... |
Let's say I have a graph with $N$ nodes, $A$ arcs and an average branching factor $b$. I want to find the $K$ shortest paths between two nodes.
Is there some relation (even approximate is fine) that expresses the dependency between the parameter $K$ and percentage of nodes included in the paths discovered by running t... |
A cache with 64 blocks(block0 to block63) and each block of size 16 bytes (or 4 words).
This is what I think of the address arrangement, if it is byte addressable.
block0 has addresses: 0, 64, 64*2, 64*3, ...., 64*15
block1: 1, 64+1, 64*2 + 1, 64*3 + 1, .... 64*15 + 1
block2:
...
...
...
...
block63: 63, 64... |
We have many problems, like factorization, that are strongly conjectured, but not proven, to be outside P. Are there any questions with the opposite property, namely, that they are strongly conjectured but not proven to be inside P?
|
Where can I find a proof that Martin-Löf Type Theory isn't Turing Complete, if such proof exists?
|
So every NFA can be transformed to a DFA and every DFA can be transformed to a minimal DFA.
But every NFA can also be transformed to a GNFA (generalized NFA) with 2 states. This is just the start and end-state with the RE of the $ L_{NFA} $ written on the bow between.
So I think the GNFA can be smaller (less states) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.