• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
mouseduc12 Avatar
Name:Pham
Clan:V School
Member Since:Dec 2017
Last Seen:May 2020
Profiles:
Following:23
Followers:23
Allies:23
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (4)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Chrono79
    • commented on "Remove duplication " kata
    • 7 years ago

    Please when pasting code, use proper markdown and also mark your post as having spoiler content (I did for you this time).
    The keys of an object are strings, so you should convert them before pushing to your array to have an array of numbers.

  • Custom User Avatar
    • mouseduc12
    • commented on "Remove duplication " kata
    • 7 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Remove duplication " kata
    • 7 years ago

    That's not an issue, you're returning an array/list of strings instead of one of numbers. The problem is in your code.

  • Custom User Avatar
    • mouseduc12
    • created an issue for "Remove duplication " kata
    • 7 years ago

    This comment is hidden because it contains spoiler information about the solution

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...