7 kyu

Cogs

92 of 1,413dinglemouse

Description:

cogs

Kata Task

You are given a list of cogs in a gear train

Each element represents the number of teeth of that cog

e.g. [100, 75] means

  • 1st cog has 100 teeth
  • 2nd cog has 75 teeth

If the first cog rotates clockwise at 1 RPM what is the RPM of the final cog?

(use negative numbers for anti-clockwise rotation)

Notes

  • no two cogs share the same shaft

Series:

Fundamentals

Similar Kata:

Stats:

CreatedOct 14, 2017
PublishedOct 14, 2017
Warriors Trained3512
Total Skips83
Total Code Submissions7255
Total Times Completed1413
Java Completions233
JavaScript Completions439
Python Completions472
Ruby Completions47
C# Completions91
C Completions92
C++ Completions175
NASM Completions20
CoffeeScript Completions8
Total Stars39
% of votes with a positive feedback rating92% of 310
Total "Very Satisfied" Votes269
Total "Somewhat Satisfied" Votes34
Total "Not Satisfied" Votes7
Total Rank Assessments6
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • dinglemouse Avatar
  • aweleshetu Avatar
  • kazk Avatar
  • Firefly2002 Avatar
  • clcraig Avatar
  • FArekkusu Avatar
  • hobovsky Avatar
  • Just4FunCoder Avatar
  • LosBlobbos Avatar
Ad