Skip to content

Deduplicate - Find most occurrence in array #138

@hobovsky

Description

@hobovsky

From #39

  1. Highest Rank Number in an Array
  • 6kyu
  • Return a single, the largest element with the largest count
  • 92% with 11k completions
  • 6 pending issues
  • 8 languages + 2 pending translations
  • Published Sep 2014, author inactive
  1. Most Frequent Elements
  • 7kyu
  • Return a set of all elements with the max count
  • 87% with 1.7k completions
  • 1 pending issue
  • 1 language (Python) + 1 pending translation (JS)
  • Published Aug 2014, author last active Jun 2022
  1. Thinkful - Dictionary Drills: Multiple Modes
  • 6kyu
  • A bit convoluted rules related to resolving ties
  • 91% with 1k completions
  • No pending issues (but I think that the ["redder"] test case is buggy)
  • Python only
  • Published Jan 2017, author inactive
  1. Find the majority
  • 7kyu
  • Return None for all inputs when there's no unambiguous winner
  • 92% with ~550 completions
  • No pending issues
  • 2 languages (Python + JS), no pending issues
  • Published May 2018, author inactive

Conclusion

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