• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Unknown
Member Since:Feb 2018
Last Seen:Feb 2021
Profiles:
    Following:3
    Followers:15
    Allies:3
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (340)
    • Replies
    • Authored
    • Needs Resolution
      • FArekkusu
      • resolved a suggestion on "N smallest elements in original order (performance edition)" kata

      Would it not be good to include negative and bigger integers as well?

      This wouldn't change the intended approach in any way, only some concrete implementations would be affected. During the final iteration of redesigning the tests a couple years ago I stopped on the [1; 50] range, and IMO it'd be better to not change the specs again for such insignificant reason. I removed the note about the input range earlier, but now it's back as a part of the specifications.

      • Blind4Basics
      • commented on "N smallest elements in original order (performance edition)" kata

      for 6 kyu...? na, 'don't think so...

      • trincot
      • created a suggestion for "N smallest elements in original order (performance edition)" kata

      It seems like all the inputs have non-negative integers within the 0..2³² range. Yet the kata just speaks of integers. Would it not be good to include negative and bigger integers as well? I see some JavaScript solutions work on the assumption that there are no such integers in the input.

      • trincot
      • commented on "N smallest elements in original order (performance edition)" javascript solution

      This would fail if the input integers are out outside of the array-index range (0..2^31), as such object keys would be iterated in insertion order, not numerical order.

      • hobovsky
      • resolved an issue on "We are Family" kata

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

      • LoginovIlya
      • created an issue for "We are Family" kata

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

      • trincot
      • created an issue for "Rubiks cube CFOP algo : Cross" kata

      Tests don't work:

      Traceback (most recent call last):
        File "main.py", line 25, in <module>
          testing(cube)
        File "main.py", line 10, in testing
          sequence = make_white_cross_on_B(initial_state)
      NameError: name 'make_white_cross_on_B' is not defined
      
      • trincot
      • commented on "We are Family" kata

      Thank you for your nice comment. I appreciate it!

      • MDabrowski1990
      • commented on "We are Family" kata

      This Kata xD
      It sounds easy at the beginning, but then number of exceptions to be taken into consideration is damn high.

      Good job on preparing such Kata, there are not many problems (on Codewars) like this one.

      • trincot
      • commented on "Chess - checkmate with rook in 16 moves" python solution

      Glad to hear you like it. ;-)

      • Ciprian Amza
      • commented on "Chess - checkmate with rook in 16 moves" python solution

      I never saw something like this before. Looks really impressive!

      • G_kuldeep
      • commented on "Find nth Digit In a Infinite Addition Result" kata

      i am having same problem

      • ALowVerus
      • commented on "We are Family" kata

      XD

      • trincot
      • commented on "We are Family" kata

      Did the reader imply they did not read the whole description? shock😲

      Quote:

      Although the task relates to genealogy, the rules of this kata are not claimed to be realistic. Several simplifications and rules apply, which may not hold in real life:

      • [...]
      • Once a person has an assigned gender, it cannot be changed.
      • No gender conclusions should be made from personal names: "Bob" could well be a woman and "Susan" a man.
      • People cannot have more than one mother and one father.
      • [...]

      The author is quite aware (and supportive) of families with two dads, two moms, or other constellations. The quite restrictive rules are only there to make it into an interesting coding challenge.

      • ALowVerus
      • commented on "We are Family" kata

      is kata author implying that a family cannot have two dads / two moms? shock 😲

    • Loading more items...
    • © 2021 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm