Problem Detail: For a connected undirected graph $G$, given a particular vertex $v$, is there a known (efficient) algorithm to find all simple cycles in $G$ that contain $v$? In my case, I have weights for every edge. Ideally I’d like Read More …
Author: ignougroup
[Solved]: Distributed 6-color Vertex Coloring
Problem Detail: I am trying to understand the distributed 6-color algorithm for vertex coloring (on page 10). Here is a short description Idea of the algorithm: We start with color labels that have $log n$ bits. In each synchronous round we Read More …
[Solved]: Finding a fixed-size set whose members are contained by the largest number of other sets
Problem Detail: I’ve been thinking about a problem, inspired by meeting a beginner-level foreign language professor at the Goethe-Institut who learned the five most common languages spoken by students in order to communicate with as many students as possible. Consider some Read More …
[Solved]: Approaches to Solve PDA
Problem Detail: There is a saying by Computer Science Professor’s everywhere : PDA Checks the intelligence of Students, as certainly there is no approach except power and imagination of mind to solve problems and design PDA… While thinking today i thought Read More …
[Solved]: Set the parameters of a Erdos-Renyi graph generator to get a specific mean degree
Problem Detail: I’m trying to reproduce the synthetic networks (graphs) described in some papers. The topic is the same as a previous question of mine, but with a different focus. It is stated that the Erdos-Renyi model was used to create Read More …
[Solved]: Dynamic subtraction game
Problem Detail: I came across the following dynamic subtraction game: There is one pile of n chips. The first player to move may remove as many chips as desired, at least one chip but not the whole pile. Thereafter, the players Read More …
[Solved]: Dynamic Programming for finding shortest alternating paths between all pairs of vertices in a graph
Problem Detail: I’m learning Dynamic Programming (By myself) and in the textbook there is this question: Given two undirected graphs $G_1=(V,E_1)$ and $G_2=(V,E_2)$ over the same set of Vertices $V$ and a weight function $w: E_1 cup E_2 rightarrow mathbb{R}$, let Read More …
[Solved]: Efficiently enumerating all paths from i to j of given length in a graph
Problem Detail: I’ve been trying to efficiently solve this problem : given a integer p > 0 and a directed graph whose nodes are 0, …, N-1, enumerate (not simply count) all the paths (not necessarily elementary) from a node i Read More …
[Solved]: Difference between the tilde and big-O notations
Problem Detail: Robert Sedgewick, at his Algorithms – Part 1 course in Coursera, states that people usually misunderstand the big-O notation when using it to show the order of growth of algorithms. Instead, he advocates for the tilde notation. I understand Read More …
[Solved]: A and B are Turing recognizable, is A – B Turing recognizable?
Problem Detail: If A and B are Turing recognizable, is A – B Turing recognizable? I think that A – B would be Turing recognizable because they’re both in the space of Turing recognizability. For example, if A is context free Read More …