• 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
teochewthunder Avatar
Name:Roger Tan
Clan:Unknown
Member Since:Oct 2015
Last Seen:Apr 2016
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
Ad
How to Create a Software Engineer Portfolio to Land Your First Junior Dev Job
A portfolio isn't optional. It's necessary. Find out how to create a standout portfolio.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (4)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • BigQiu
    • commented on "Complete The Pattern #2" kata
    • 10 years ago

    remove the last "\n".your output is "sb.toString()"= "54321\n5432\n543\n54\n5\n"

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Same Array?" kata
    • 10 years ago

    I started in your same shoes, but luckily here was (and still is!) an awesome place to practice and learn :)

  • Custom User Avatar
    • DivyanshBatham
    • commented on "Complete The Pattern #2" kata
    • 10 years ago

    Thanks CM for replying ^_^

  • Custom User Avatar
    • CrazyMerlyn
    • commented on "Complete The Pattern #2" kata
    • 10 years ago

    Most probably a whitespace problem. It's difficult to see them in browsers.
    Make sure you are not printing any extra newline chars before or at the end of pattern.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...