XYZ Path queries
Practice
4.7 (16 votes)
Algorithms
Bit manipulation
Combinatorics
Depth first search
Dynamic programming
Graphs
Lowest common ancestor
Trees
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...

Submissions
Please login to view your submissions
Similar Problems
Points:50
22 votes
Tags:
GraphsMediumOpen
Points:50
Tags:
AlgorithmsGraphsMedium
Points:50
37 votes
Tags:
Data StructuresDisjoint setGraphsMapsMediumReadyTrees
Editorial

Login to unlock the editorial