About 76,200 results
Open links in new tab
  1. Minimum dominating set on trees - Computer Science Stack Exchange

    Jun 30, 2023 · The problem is solvable in linear time by dynamic programming. Root a the input tree in an arbitrary vertex and let be the subtree of rooted in v. Let denote the size of a minimum dominating …

  2. Finding maximal elements of a partially ordered set

    Jun 25, 2024 · Semi-obvious complexity bounds Assume the set has N elements. No algorithm can have a best case (and thus an average case) better than O(N): any algorithm, on any input data, must …

  3. complexity theory - Showing Maximum Independent Set is $NP-hard ...

    Jun 11, 2019 · I've read about Maximum Independent Set problem being both $NP-hard$ and $CoNP-hard$. I know this can be shown using reduction from the corresponding Max-Clique problem, But …

  4. Internal implementtation of Spin Locks with Test-And-Set and …

    Nov 12, 2024 · Internal implementtation of Spin Locks with Test-And-Set and CompareAndSwap Ask Question Asked 1 year, 1 month ago Modified 1 year, 1 month ago

  5. Does the empty language have a CFG in CNF? - Computer Science …

    If your set of production rules is empty, you cannot derive a single word with the grammar, hence its language is $\emptyset$.

  6. Prove that the set of recursive languages is infinite

    0 I know that set of all deciders is countable. I am wondering whether it is infinite.In other words can we prove that the set of recursive languages is infinite ? Edit : The above question has small mistake as …

  7. DFA which accepts all strings starting and ending with 'aa'

    Mar 7, 2019 · I have to construct a DFA which accepts set of all strings over {a,b} which start and end with 'aa'. I have constructed the following DFA, but it does not accept 'aa' and 'aaa'.

  8. Is the set of all strings over a finite alphabet finite? [closed]

    The star operator is a unary operator known as Kleene star (or Kleene closure) and the result of its application on $\Sigma$ (an arbitrary set of strings) is another set that contains all possible finite …

  9. How come the set of all binary strings is uncountable?

    Jun 13, 2021 · The set of finite binary strings is countable. The set of infinite binary strings is uncountable. That's just the way it is. Finite and infinite behave differently.

  10. Hitting Set Problem with non-minimal Greedy Algorithm

    Oct 22, 2019 · Minimal set in a family of sets (say the set of all hitting sets), is a set that is not a superset of any other set in the family. That means, a minimal hitting set is a hitting set where if you exclude …