Tree Trips
Practice
5 (3 votes)
Breadth First search
Brute force
Algorithms
Depth first search
Graphs
Disjoint set union
Bitmask
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:30
6 votes
Tags:
AlgorithmsDepth First SearchGraphsGreedy AlgorithmsMediumSortingTrees
Points:50
2 votes
Tags:
AlgorithmsHard
Points:30
8 votes
Tags:
AlgorithmsApprovedCombinatoricsDepth First SearchDynamic ProgrammingGraphsMathMediumReadyRecruit
Editorial

Login to unlock the editorial