Skip to main content

All Questions

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12 votes
0 answers
530 views

Finding the diameter of an unknown tree: Is BFS optimal?

I'm interested on the following nice problem that is somewhat standard in CS, but I was surprised on the lack of references on the optimal algorithm to this problem. Ana and Banana plays the ...
Curious's user avatar
  • 63
2 votes
0 answers
110 views

Does there exist a linear-time algorithm to find a basis of the null space of the adjacency matrix of a tree?

I am working on a decomposition of trees based on the null space of the adjacency matrix of the tree. Most algorithm on trees are really fast. The decomposition could give some algorithms to find ...
Daniel Alejandro Jaume's user avatar
1 vote
0 answers
52 views

How can we hang the weighted trees so that vertices nearer to root (based on distances, not hop count) lie in upper levels?

I have a set of edge weighted trees, each tree rooted at some vertex. Consider these trees are hung from the roots and vertices are arranged in some levels. I wish to design an algorithm (...
Hemraj Raikwar's user avatar
1 vote
0 answers
82 views

Treewidth problem equivalence

Say we are solving a tree decomposition problem, e.g. given a graph $G = (V, E)$ we try to find a chordal graph $H$ such that $V(H) = V(G)$, $E(G) \in E(H)$ and the maximal clique in $H$ is minimal ...
qbit-'s user avatar
  • 71