Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
1
answer
10
views
Computability, Totality, and Range of Two Turing Machine-Dependent Functions
I am analyzing two functions that are defined in terms of an effective enumeration $(M_n)_{n \in \mathbb{N}}$ of all Turing machines. For a given input $x$, the notation $M_n(x) \downarrow$ means that …
0
votes
1
answer
22
views
Strictly n-skipping Turing Machine
Suppose that we have a Turing Machine that can only move for multiples of n cells at a time. In other words it can jump from one cell to another with jumping $n, 2n, 3n$, and so on with a single move. …
0
votes
1
answer
6
views
Prove for every graph G that if every vertex v∈V has deg(v)≥((n+1)/2)+1 then G is 2-connected
I had a question if this is possible to prove:
Prove for every graph G=(V,E), that if every vertex v∈V has deg(v)≥((n+1)/2) then G is 2-connected.
i tried by using the theorem that if every vertex has …
0
votes
1
answer
29
views
Approximate LCM of reals
Is there an efficient algorithm to find the approximate LCM of a list of reals?
More precisely, given an epsilon, find the least L such that it is atmost epsilon away from a multiple of each real in t …
0
votes
1
answer
32
views
What does weaker term mean in the definition of BigO
I am reading Computer Science Distilled book and in section 2.2 The Big-O Notation there is a line.
A function with fastest-growing term of $2^n$ or weaker is $O(2^n)$
What does weaker mean here? Al …
-3
votes
1
answer
50
views
What is the difference between "inclusive and" and "exclusive and"
As we know that there is a difference between "inclusive or" and "exclusive or" same way can we explain the difference between "inclusive and" and "exclusive and".
1
vote
1
answer
190
views
What Comes After Sum Types?
According to the first chapter of the HoTT book, dependent functions beget products:
$$
(x : A) \rightarrow B\,x \equiv: \prod_{x : A} B\,x
$$
of which $A \times B$ is a special form ($A \times B \con …
0
votes
1
answer
59
views
Why $TIME(2^{n^k})\nsubseteq NTIME(n^k)$?
There is a theorem that said for every nondeterministic Turing machine that runs in $O(n^k)$ there is an equivalent deterministic Turing machine that runs in $O(2^{n^k})$.
From this theorem, I underst …
1
vote
1
answer
41
views
Does adding two positive IEEE-754 floating point numbers ever result in a smaller number?
When dealing with floating point numbers, is there every a time when adding two non-negative, finite, non-NaN numbers will result in a result that is less than the greater of the two? x + y < max(x, y …
3
votes
1
answer
35
views
Other vertices on the shortest path between two specific vertices
I have been trying to solve a question that says in a directed graph with n vertices and m edges whose weights are all positive integers, we have specified two of them, namely $a$ and $b$. We want to …
0
votes
4
answers
175
views
Why is map sort ideology less common?
Instead of doing a quicksort, you can store everything in a map. Because the map is alphabetical it's already sorted.
It seems like instead of doing a quicksort you could instantly put everything in a …
1
vote
1
answer
56
views
Counting long and short intervals with two sensors
On a recent job interview, I was asked the following question:
A conveyer belt at a factory carries wooden planks. Planks are placed with spaces between them (length of spaces can vary).
Each plank is …
1
vote
2
answers
35
views
What is the language generated by the context free grammar $S \rightarrow aSb \ | \ bSa| \ \...
I can't identify the language generated by the following grammar, $$S \rightarrow aSb \ | \ bSa| \ \epsilon $$
Based on my understating of CFGs, the language generated would be $L(G) = (L_1 + L_2 + L …
1
vote
1
answer
9
views
build a model with fuzzy prior knowledge and train it
Given that there are variables x1, x2, x3, and y, I know that x1, x2 are positively correlated with y, while x3 is negatively correlated with y, but the specific quantitative relationships are unknown …
0
votes
1
answer
32
views
Decidability using oracle
I have the language:
G = {<B,w> | B is an oracle TM and B[ATM] accepts w}
I need to prove if this language is decidable relative to ATM.
How would I go on about doing that??
My idea was to build a mac …