Double or Divide!
Practice
3.7 (107 votes)
Number theory
Data structures
Easy Medium
Greedy algorithm
Ready
Approved
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
193 votes
Tags:
AlgorithmsApprovedEasyImplementationOpen
Points:30
452 votes
Tags:
Modular exponentiationMediumModular arithmeticApprovedMathematics
Points:30
3 votes
Tags:
Data StructuresRecruitNumber TheoryHiringEasy-MediumMathematicsApproved
Editorial

Login to unlock the editorial