Rasta in Tavaspolis
Practice
3.8 (12 votes)
Data structures
Graph theory
Open
Divide And Conquer algorithm
Hard
Algorithms
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:50
22 votes
Tags:
Heavy Light DecompositionAdvanced AlgorithmsAlgorithms
Points:50
Tags:
Dynamic ProgrammingHardHeavy light decompositionAlgorithmsOpenApprovedAlgorithmsDisjoint set
Points:50
24 votes
Tags:
Data StructuresHardOpenBinary search treeHeavy light decompositionAlgorithms
Editorial

Login to unlock the editorial