Light it up
Practice
4.2 (18 votes)
Hard
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:20
118 votes
Tags:
AlgorithmsApprovedBinary SearchEasyOpenSorting
Points:30
6 votes
Tags:
Easy-Medium
Points:50
Tags:
Dynamic ProgrammingLinear AlgebraHardApprovedMathematicsOpenMatrix Exponentiation
Editorial

Login to unlock the editorial