• 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
davazp Avatar
Name:David Vázquez
Clan:Unknown
Skills:lisp, python, javascript, mathematics
Member Since:Oct 2013
Last Seen:Sep 2022
Profiles:
Following:2
Followers:29
Allies:2
View Profile Badges
Ad
8 Reasons Why Codewarriors Practice Coding with Codewars
Not everyone trains the same. Discover new ways to leverage Codewars in your education and career.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (809)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Hudson512
    • commented on "Moving Zeros To The End" javascript solution
    • 2 months ago

    Muito bom!

  • Custom User Avatar
    • pigmeej
    • commented on "Human readable duration format" kata
    • 3 months ago

    Yep, that was it. Thanks bud.

  • Custom User Avatar
    • Chrono79
    • commented on "Human readable duration format" kata
    • 3 months ago

    Probably this:

    For the purpose of this Kata, a year is 365 days and a day is 24 hours.

  • Custom User Avatar
    • pigmeej
    • commented on "Human readable duration format" kata
    • 3 months ago

    Test fails for Java with expected:<4 years, 6[8 days, 3 hours and 4 minute]s> but was:<4 years, 6[7 days, 3 hours, 48 minutes and 56 second]s>
    Asserted case (4 years, 68 days, 3 hours and 4 minutes) equals to 132 113 944 seconds. When run locally that's what I'm getting. Is the test case wrong?

  • Custom User Avatar
    • soda-caustica
    • created an issue for "Human readable duration format" kata
    • 4 months ago

    Due to changes in Haskell the new type signature of the solution should be

    (Integral i, Show i) => i -> String

    instead of

    Integral i => i -> String

  • Custom User Avatar
    • CornSnek
    • commented on "Human readable duration format" kata
    • 4 months ago

    Nice kata. It had all the necessary information in the description of all edge cases to consider.

  • Custom User Avatar
    • nikpri1
    • commented on "Human readable duration format" kata
    • 6 months ago

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

  • Custom User Avatar
    • dfhwze
    • commented on "Break the pieces" kata
    • 7 months ago

    it's not supposed to be easy

  • Custom User Avatar
    • Uoao1807
    • commented on "Break the pieces" kata
    • 7 months ago

    maybe I'm not ready for 2kyu kata; haft a day trying to fix my code but it still not work. Good luck to those who want to try this. :/

  • Custom User Avatar
    • k_sh_2011
    • commented on "Break the pieces" kata
    • 7 months ago

    10 November 2024

    170 lines of code. Python. My time is 2142.13ms

    This one is not hard, it took me only 8 hours.

  • Custom User Avatar
    • evrofighter
    • created a suggestion for "Human readable duration format" kata
    • 9 months ago

    Nice Kata! However, Java tests (random tests) dont really test the solution properly, as there are 99,9% chance that the time chunk will end with seconds. This way, u can just use "...and second(s)", as there are almost never a test ending with days/hours (which needs to be solved through "...days and 3 hours").
    I suggest adding some manually writen tests exactly for those cases, otherwise not fully-solved Katas are getting through.

  • Custom User Avatar
    • ebbscode
    • commented on "Moving Zeros To The End" javascript solution
    • 9 months ago

    Nice one indeed, i actualy did the smae as you.

  • Custom User Avatar
    • dron11231
    • commented on "Moving Zeros To The End" javascript solution
    • 10 months ago

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

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Human readable duration format" kata
    • 10 months ago

    expected x to equal y

    means that the tests expected y but your code returned x. you are missing a comma after 182 days. please do not raise issues so lightly in the future, ask questions instead.

  • Custom User Avatar
    • fbrtyu
    • created an issue for "Human readable duration format" kata
    • 10 months ago

    Error in browser
    Expected : 182 days 1 hour, 44 minutes and 40 seconds
    to equal : 182 days, 1 hour, 44 minutes and 40 seconds
    But in my vscode i get 182 days 1 hour, 44 minutes and 40 seconds
    How can this be?

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...