Beta

Tiny Tony's Magic Beard

Description:

Tiny Tony is a pirate, and he wants to grow a beard.

Tiny tony has an ideal beard length in mind, and he knows exactly how fast his beard grows. Tiny Tony also believes that by shaving, he can make his beard grow faster.

For every day Tiny Tony shaves his beard, instead of just letting it grow. His Beard Growth Speed will be increased. We will call this value the Shave Bonus

Using Beard Growth Speed, Shave Bonus, and Desired Beard length, please caculate the how it is possible for Tiny Tony to get the beard he wants and return the shaves and days taken like so

['1 shave', '4 days']

Tony cares about words being properly pluralised, so please be careful.

If there is no way for Tony to get his beard, please return 'Impossible'

If there are several possible ways to solutions, please return the one with the least amount of shaves required.

Fundamentals

Similar Kata:

More By Author:

Check out these other kata created by Jwhiles

Stats:

CreatedAug 21, 2016
PublishedAug 21, 2016
Warriors Trained108
Total Skips16
Total Code Submissions127
Total Times Completed12
JavaScript Completions12
Total Stars3
% of votes with a positive feedback rating90% of 5
Total "Very Satisfied" Votes4
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes0
Total Rank Assessments5
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Jwhiles Avatar
Ad