• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Alberto García cobo
Clan:Ironhack
Skills:java, c, python, jquery, javascript, crm, erp, itil
Member Since:Oct 2018
Last Seen:Jan 2021
Profiles:
Following:760
Followers:811
Allies:746
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored
  • Needs Resolution (10)
    • Mutharasan
    • created a question for "regex pattern to check if string has all characters" kata

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

    • steffan153
    • created an issue for " Baby shark lyrics generator" kata

    JS code length test can be bypassed: https://www.codewars.com/kata/reviews/5d2996110abb7b00018ca285/groups/5eab87d9d0f3e000012a02ce

    • FArekkusu
    • created a suggestion for "Pandas Series 102: Max From Common DataFrames" kata

    Input modification test provides zero value to the task.

    • ArnobAr
    • created a question for "rotate the letters of each element" kata

    Can someone please share me some guidance of how to solve this problem? I am not aware of any of the methods those have been used to solve this problem. Link or topic names regarding methods to solve this problem, would be much appreciated.

    • FArekkusu
    • created an issue for "Computer problem series #6: Autoformat code level 1" kata

    If the actual line starts with zero or more whitespaces and an closing bracket }, this bracket, and only this first one, should be taken into account for the calculation of N by adding an additional closing bracket to the result.

    So how should such case be handled?

    for (...) {
    if (...) {
    // do something
    }}
    
    • Blind4Basics
    • created an issue for "Computer problem series #6: Autoformat code level 1" kata

    XD

    'var size = 5;\n\nfor(var i=0; i<size.lenght; i++){\n  for(var j=0; j<size.lenght; j++){\n    console.log(i+j);\n  }\n}' 
    'var size = 5;\n\nfor(var i=0; i<size.lenght; i++){\n  for(var j=0; j<size.lenght; j++){\n    console.log(i+j); \n  }\n}'
                                                                                                                   ^
    

    Serioulsy? ;o

    Well, either you're absolutely explicit about trailing spaces and you show a clear example about that in the description/give the rule, or just ask for triming the lines while correcting indentation (or just don't use/generate inputs with "hidden chars"). ;)

    • FArekkusu
    • created an issue for "Computer problem series #6: Autoformat code level 1" kata

    'Syntax error' should equal 'h{wHZyks}csRoJVAjtbmBbu'

    The input validation makes this kata more annoying than anything. No sane person will waste their time building blocks upon blocks of if's to handle this mess of random chars "correctly". Especially, when you can submit a couple of times, and eventually pass.

    • B1ts
    • created an issue for "Computer problem series #6: Autoformat code level 1" kata

    The rules about invalid programs should be made more clear. Is it valid for a line to begin with { ?

    Also, random tests seems to generate lines with multiple brackets on same line, but how that should be handled seems to be unspecified.

    • FArekkusu
    • created an issue for "Computer problem series #3: Hacha software" kata

    Slicing in groups of n is not a new kata idea.

    • dinglemouse
    • created a suggestion for "Computer problem series #1: Fill the Hard Disk Drive" kata

    I think strange things can happen to some of the accepted solutions if you get too close to the limits of the data type the file size...

    e.g. (in C)

      { const size_t array[5] = {LONG_MAX, LONG_MAX, 4, 3, 3};
        cr_assert_eq(save(5, array, LONG_MAX), 1); }
    

    Perhaps Kata description should say these kind of boundaries are not tested by the Kata...

  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm