Assignment Session 14
Assignment Session 14
4. Please kindly review some resources (put the link) related to learning data structure and
give your opinion about that resource?
Answer : The paper discusses dynamic trees. A data structure is proposed to maintain a
collection of vertex-disjoint trees under a sequence of two kinds of operations: a link
operation that combines two trees into one by adding an edge, and a cut operation that
divides one tree into two by deleting an edge. Each operation requires O time. Using this
data structure, new fast algorithms are obtained for the following problems: computing
nearest common ancestors, Solving various network flow problems including finding
maximum flows, blocking flows, and acyclic flows. Computing certain kinds of
constrained minimum spanning trees, and Implementing the network simplex algorithm
for minimum-cost flows.
Source : Sleator, D. D., & Endre Tarjan, R. (1983). A data structure for dynamic trees.
Journal of Computer and System Sciences, 26(3), 362–391.
doi:10.1016/0022-0000(83)90006-5
Reference:
- https://www.hackerearth.com/blog/developers/7-steps-to-improve-your-data-structure-an
d-algorithm-skills/
- https://www.geeksforgeeks.org/why-data-structures-and-algorithms-are-important-to-lear
n/
- https://www.quora.com/What-skills-in-terms-of-programming-data-structures-and-algorith
ms-should-you-have-before-you-can-hope-to-solve-coding-interview-questions
- Sleator, D. D., & Endre Tarjan, R. (1983). A data structure for dynamic trees. Journal of
Computer and System Sciences, 26(3), 362–391. doi:10.1016/0022-0000(83)90006-5