Advanced Algorithms II

Conquering challenges

Code Trail6 of 6

Elevate your algorithmic skills with complex concepts such as Tree algorithms, Topological Sort, and Disjoint Set. This trail empowers you to handle intricate data structures and algorithms.

5 Chapters

24

0123456789
0123456789

Concept Explanations & Warm up problems

Learn concepts with detailed explanations and illustrations. Wrap up with practice problems to apply what you've learned.

108

0123456789
0123456789
0123456789

Challenge Problems

Apply what you've learned to various practice problems and identify any gaps in your understanding.

17

0123456789
0123456789

Test Problems

The final stage of each chapter consists of test problems that you must solve on your own, without solutions or discussion features. With a slightly higher difficulty level, these problems help you refine your skills.

Table of contents

1

Advanced Tree Algorithms

Learn about binary tree traversals, tree-based dynamic programming, and Lowest Common Ancestor algorithms.

Tree

Traversal

Tree

Lowest Common Ancestor

2

Minimum Spanning Trees

Understand the concept of disjoint sets and how to use them in algorithms for finding Minimum Spanning Trees.

Disjoint Set

Kruskal

Prim

3

Topological Sort

Explore topological sorting in graphs and its applications in dynamic programming problems.

Topological Sort

Graph

4

Fundamental String Algorithms

Learn essential string algorithms and data structures like Knuth-Morris-Pratt and Trie.

Manacher's algorithm

String Hashing

KMP

Trie

5

Advanced Dynamic Programming

Tackle challenging dynamic programming problems, including Bitonic DP and Bit-masking DP techniques.

Bitonic Cycle

DP that scales from small to large intervals

Bitmask

Bitmask DP

The skills you gain...

Ability to select and implement appropriate data structures and algorithms for diverse problem scenarios

Proficiency in writing efficient and optimized code for complex algorithmic challenges

Confidence in tackling a wide range of advanced coding problems, including those found in top-tier tech company assessments

Enhanced understanding of advanced tree algorithms, graph theory, and string processing techniques

Recommended for those that need...

Can consistently write correct solutions and want to focus on advanced optimization techniques

Seek to broaden their knowledge of complex algorithms like Disjoint Set, Dijkstra's algorithm, and Minimum Spanning Trees

Want to deepen their understanding of tree-based algorithms and dynamic programming

Aim to master advanced problem-solving strategies for competitive programming

Desire to refine their skills in tackling the most challenging coding assessment problems

Branch and Bound Co., Ltd. | © 2026. Branch and Bound Inc.

All educational materials on the Codetree site are protected by copyright law. Unauthorized reproduction/copying/distribution without the consent of the author is prohibited. Copyright © Branch & Bound | contact@codetree.ai

CEO : Seung-Yong Lee | Address: 1000 N. West Street, Suite 1200, Wilmington, Delaware, 19801 | Landline : +1 302 295 4813 | Contact : contact@codetree.ai