Beta

Jimmy's Journey

Description:

Jimmy is a hiker.

Given his path to the end point, calculate the time taken to finish his journey.

Examples:

ETA('---/|-///-') == 13.5

ETA('///-||||-/') == 12

ETA('|--/--|/-|') == 10.5

If:

  • Going up '/' equals 2 units

  • Going down '|' equals half unit

Puzzles

Similar Kata:

More By Author:

Check out these other kata created by elmoiv

Stats:

CreatedMar 5, 2019
PublishedMar 5, 2019
Warriors Trained181
Total Skips4
Total Code Submissions229
Total Times Completed127
Python Completions127
Total Stars4
% of votes with a positive feedback rating81% of 84
Total "Very Satisfied" Votes61
Total "Somewhat Satisfied" Votes14
Total "Not Satisfied" Votes9
Total Rank Assessments78
Average Assessed Rank
7 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • elmoiv Avatar
Ad