← redBus questions

Minutes needed to charge a phone from level A to B

Filed under redBus

The question

Given charge levels A and B and charging rates for different level ranges (for example 0-10 takes 8 minutes, 11-50 takes 6 minutes), compute the minutes M needed. With A=0 and B=5, M is 8.

No write-up yet. Related questions below have one.

Related redBus questions

Collected from public candidate posts and coding forums. Updated Nov 2026.