Most Popular

1500 questions
14
votes
2 answers

Reduction from 3-Partition problem to Balanced Partition problem

The 3-Partition problem asks whether a set of $3n$ integers can be partitioned into $n$ sets of three integers such that each set sums up to some given integer $B$. The Balanced Partition problem asks whether $2n$ integers can be partitioned into…
Mohammad Al-Turkistany
  • 4,477
  • 1
  • 28
  • 37
14
votes
2 answers

Why we do isomorphism, automorphism and homomorphism?

What are the key differences between these three terms isomorphism, automorphism and homomorphism in simple layman language and why we do isomorphism, automorphism and homomorphism ?
Xara
  • 351
  • 3
  • 11
14
votes
3 answers

What's the difference between a calculus and a programming language?

I think I'm pretty confused about what's called a calculus and what's called a programming language. I tend to think, and might have been told, that a calculus is a formal system for reasoning about the equivalence of programs. Programs have an…
14
votes
1 answer

Asymptotic Analysis for two variables?

How is asymptotic analysis (big o, little o, big theta, big theta etc.) defined for functions with multiple variables? I know that the Wikipedia article has a section on it, but it uses a lot of mathematical notation which I am unfamiliar with it. I…
sas
  • 143
  • 1
  • 4
14
votes
1 answer

Research on evaluating the performance of cache-obliviousness in practice

Cache-oblivious algorithms and data structures are a rather new thing, introduced by Frigo et al. in Cache-oblivious algorithms, 1999. Prokop's thesis from the same year introduces the early ideas as well. The paper by Frigo et al. present some…
14
votes
3 answers

Theoretical CS and Math - self-study recommendations

I am a non-CS grad and my field of study is unrelated to CS. However, as part of a larger plan to become a computer scientist, I want to obtain a solid background in theoretical computer science and math as it relates to CS. I did a plenty of…
CSLover
  • 143
  • 1
  • 5
14
votes
1 answer

Cell walls in Conway's Game of Life?

Do there exist robust structures in Conway's Game of Life? For instance, has anyone constructed a spaceship with a shield that absorbs all small oscillators and gliders it collides with?
Nick
  • 141
  • 3
14
votes
2 answers

Random Sudoku generator

I want to generate a completely random Sudoku. Define a Sudoku grid as a $9\times9$ grid of integers between $1$ and $9$ where some elements can be omitted. A grid is a valid puzzle if there is a unique way to complete it to match the Sudoku…
Justin
  • 273
  • 2
  • 4
14
votes
3 answers

What is the origin of the client server model?

I was wondering if someone knew the origin of the client server model. Where does the term come from (paper, software application, book)?
14
votes
4 answers

What does it mean by saying "Asymptotically more efficient"?

What does it mean when we say that an algorithm $X$ is asymptotically more efficient than $Y$ ? $X$ will be a better choice for all inputs. $X$ will be a better choice for all inputs except small inputs. $X$ will be a better choice for all inputs…
Garrick
  • 492
  • 1
  • 7
  • 24
14
votes
1 answer

Is it proven that quantum computation is no better at solving NP complete problems than classical computation?

Is it proven that quantum computation is no better at solving NP complete problems than classical computation or it's just believed?
kptlronyttcna
  • 243
  • 1
  • 7
14
votes
6 answers

PRNG for generating numbers with n set bits exactly

I'm currently writing some code to generate binary data. I specifically need to generate 64-bit numbers with a given number of set bits; more precisely, the procedure should take some $0 < n < 64$ and return a pseudo-random 64-bit number with…
14
votes
2 answers

How did the word "production" end up being a synonym with the word "rule" in the context of Computer Science?

I am studying formal languages and production bases systems (rule-bases systems) and I am a little confused about why do these two word "production" and "rule" mean the same thing in so many context in Computer Science. In English Language they do…
14
votes
2 answers

Function that spreads input

I'd like to know if there is a function $f$ from n-bit numbers to n-bit numbers that has the following characteristics: $f$ should be bijective Both $f$ and $f^{-1}$ should be calculable pretty fast $f$ should return a number that has no…
fuz
  • 913
  • 6
  • 20
14
votes
3 answers

Is it mandatory to define transitions on every possible alphabet in Deterministic Finite Automata?

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?…
HQuser
  • 255
  • 2
  • 8