Maximum OR After At Most K Doublings

Company: Atlassian

Difficulty: medium