Skip to content

Deduplicate - trim string #178

@hobovsky

Description

@hobovsky

From wiki list

  1. Trimming a string
  • 7 kyu
  • Ellipsis contributes to the requested length. Special handling for strings with length < 4.
  • Satisfaction 85% with 2.9k completions
  • 2 pending issues
  • 5 languages + 3 pending translations
  • Published Nov 2015, author inactive.
  1. Truncate a string!
  • 7 kyu
  • Ellipsis contributes to the requested length. Special handling for strings with length < 4 (seems to be an exact duplicate of 1.)
  • Satisfaction 81% with 1.1k completions
  • No pending issues
  • 3 languages, no pending translations (all covered by 1.)
  • Published Aug 2016, author inactive.
  1. Limit string length - 1
  • 7 kyu
  • Truncate to requested length and then append ellipsis
  • Satisfaction 90% with ~7.3k completions
  • 2 pending issues
  • 5 languages, no pending translations
  • Published Aug 2013, author inactive

Conclusion

Filling gaps

  • Move C# translation from 3. to 1.
  • Move Rust translation from 3. to 1.

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