Skip to content

Deduplicate - String repeat #109

@hobovsky

Description

@hobovsky

If not stated otherwise, all kata take a string and a count as arguments and expect a return value of the string repeated requested amount of times.

  1. String repeat
  • 8kyu
  • 88% with ~160k solutions
  • 4 pending issues
  • 34 languages, 1 pending translation
  • Published Aug 2016, author last active May 2022
  1. Thinkful - String Drills: Repeater
  • 7kyu, but seems to not follow rank votes (15x8kyu, 2x7kyu)
  • 86% with 17k solutions
  • 2 pending issues, one about being a duplicate
  • 16 languages, no pending translations, none unique
  • Published Dec 2016, author inactive.
  1. Thinkful - String Drills: Repeater level 2
  • 7kyu
  • The returned answer needs to be formatted in a specific way
  • 88% with 2k completions
  • No pending issues
  • 5 languages + 2 pending translations, none exclusive
  • Published Dec 2016, author inactive
  1. (Don't) Make Me Repeat Myself
  • 7kyu
  • JS only, repeat forbidden but ejini reports it can be bypass easily
  • 86% with 3.4k solutions
  • 1 pending issue
  • 1 language
  • Published Sep 2013, author inactive
  1. Multiply characters
  • 7kyu
  • bug fixing kata, but the presented bug is of (arguably) a dubious value and heavily varies between languages
  • 88% with ~7.2k solutions
  • No pending issues
  • 7 languages
  • Published Jan 2014, author inactive
  1. Contamination #1 -String-
  • 8kyu
  • Repeats a single character a given amount of times. Task is slightly concealed. The main logic is the same as all other kata for languages which treat characters as one-character-long strings (Python, JS), but can be significantly different for languages which strongly distinguish between strings and characters (C, C#, Java, ...).
  • 92% with 4.8k solutions
  • 1 pending issue
  • 6 languages + 2 pending translations, none unique
  • Published Jul 2017, author inactive

ADDED:

  1. repeatIt
  • 8 kyu
  • Same as 1., with addition of potentially invalid inputs of incorrect types
  • 92% with 10,5k solutions
  • 4 pending issues
  • 8 approved languages, 0 pending translations, none unique
  • Published Jun 2015, author active

Conclusion

Since kata 1. covers all languages available in other kata, there's no need to move any translations.

Metadata

Metadata

Assignees

Labels

discussion/deduplicateDiscussion and vote what to do with duplicate kata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions