A conversion
Practice
4.2 (150 votes)
Ready
Brute Force search
Easy Medium
Approved
Breadth First search
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:10
169 votes
Tags:
ImplementationBasic ProgrammingVery-EasyReadyMathematicsApproved
Points:50
2 votes
Tags:
AlgorithmsApprovedBit ManipulationFenwick treeHardOpenTrees
Points:50
1 votes
Tags:
Dynamic ProgrammingLinear AlgebraHardMatrix ExponentiationAlgorithmsMathematicsOpenApproved
Editorial

Login to unlock the editorial