• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
resticate Avatar
Name:iridant
Clan:waddup
Skills:owning
Member Since:Aug 2016
Last Seen:Apr 2022
Profiles:
Following:5
Followers:5
Allies:5
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (111)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • onursevil
    • commented on "Remove duplicates from list" python solution

    wise

  • Custom User Avatar
    • JupperTV
    • commented on "String repeat" python solution

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

  • Custom User Avatar
    • nomennescio
    • commented on "Return Two Highest Values in List" kata

    C translation by far is harder than 8 Kyu

  • Default User Avatar
    • Ливан
    • commented on "Return Two Highest Values in List" kata

    Yeah, I understood my mistake. Thank you!

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Return Two Highest Values in List" kata

    Not a kata issue, your function returned the wrong value.

  • Default User Avatar
    • Ливан
    • created an issue for "Return Two Highest Values in List" kata

    Good evening!

    Don't you think that answer is incorrect?

    Testing for [59162,51782,72847,48186,55098,11610,8150,81156,1767,98293,44591,91635,11148,90553,43927,58884,9930,80008,97382,83712,72845,52064,77214,40896,59596,15806,58905,93013,29576,33781,20852,21018,89984,69471,75391,74113,60283,19659,19619,95692,48601,16922,47250,3800,73073,86086,65198,91995,46941]:
    expected [ 98293, 3800 ] to deeply equal [ 98293, 97382 ]

    I think there is mistake in this assignment

  • Custom User Avatar
    • dinglemouse
    • resolved a suggestion on "Return Two Highest Values in List" kata

    i added a mutability test so your solution and others have been invalidated for casting const away :p

    touché

  • Default User Avatar
    • trashy_incel
    • commented on "Return Two Highest Values in List" kata

    i added another test that should take care of sloppy comparator functions. the only solution left is mine ^^ you guys should aim for O(n) anyway :p

  • Default User Avatar
    • trashy_incel
    • commented on "Return Two Highest Values in List" kata

    i added a mutability test so your solution and others have been invalidated for casting const away :p

  • Default User Avatar
    • trashy_incel
    • commented on "Return Two Highest Values in List" kata

    edit : nevermind

  • Custom User Avatar
    • dinglemouse
    • created a suggestion for "Return Two Highest Values in List" kata

    Please inclue another C test like:

    do_sample_test((C {LLONG_MAX, 0}), (C {LLONG_MAX, 0}));

    I think the above might detect/fail some solutions using bogus qsort comparator functions.

  • Custom User Avatar
    • akar-0
    • commented on "Return Two Highest Values in List" kata

    Seems ok now :)

  • Default User Avatar
    • trashy_incel
    • commented on "Return Two Highest Values in List" kata

    how embarassing ><
    i fixed a bug and republished , can you please retry ?

  • Custom User Avatar
    • akar-0
    • commented on "Return Two Highest Values in List" kata

    it seems there's an issue with reference solution:

    for array:
    {-73, -51, 53, -73}
    expected:
    {53}
    but got:
    {53, -51}
    
    for array:
    {-70, 3}
    expected:
    {3}
    but got:
    {3, -70}
    
  • Custom User Avatar
    • akar-0
    • resolved a suggestion on "Return Two Highest Values in List" kata

    Thanks :)

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection