<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Algorithms Q&amp;A - Recent questions in Backtracking/DFS/BFS</title>
<link>https://notexponential.com/questions/graph-traversal</link>
<description>Powered by Question2Answer</description>
<item>
<title>Topological Sort</title>
<link>https://notexponential.com/377/topological-sort</link>
<description>Given a directed acyclic graph G=(V,E), a topological sort T is an ordering of vertices, such that, for each directed edge(u,v) in E, u comes before v in T. Which is the best possible algorithm to perform a topological sort on the graph.</description>
<category>Backtracking/DFS/BFS</category>
<guid isPermaLink="true">https://notexponential.com/377/topological-sort</guid>
<pubDate>Sat, 05 Nov 2016 21:05:25 +0000</pubDate>
</item>
<item>
<title>Finding non-leaf node of a tree with no large subtrees</title>
<link>https://notexponential.com/376/finding-non-leaf-node-of-a-tree-with-no-large-subtrees</link>
<description>When you create a non-leaf node of a tree, you create more than 1 subtree. Given a tree with n nodes, give an algorithm to find a non-leaf node v, such that deletion of node v leaves no subtree with more than n/2 nodes.</description>
<category>Backtracking/DFS/BFS</category>
<guid isPermaLink="true">https://notexponential.com/376/finding-non-leaf-node-of-a-tree-with-no-large-subtrees</guid>
<pubDate>Sat, 05 Nov 2016 21:04:24 +0000</pubDate>
</item>
</channel>
</rss>