Ad
  • Default User Avatar

    This is the last example in the discription, and should be false as the discreption indicates.
    This test case must be wrong for some languages.

  • Default User Avatar

    I'm stuck on the same case in Rust, yet it has 1k solves.

    vec![121, 144, 19, 161, 19, 144, 19, 11], vec![121, 14641, 20736, 36100, 25921, 361, 20736, 361]
    
    assertion failed: `(left == right)`
    left: `false`,
    right: `true`
    

    I assume the case was meant to have 19, 19, 190, not three 19s.

  • Custom User Avatar

    Read the description carefully. What you print is not the case expecting true.

  • Default User Avatar

    Right but it also doesn't specify what color socks you should wear. Both of those things are out of scope for the kata.

  • Custom User Avatar

    in SQL katas, you don't have to build a function/procedure (I mean, you can, but it isn't what makes you complete the kata), but you have to write a SELECT statement that is returning all the results. I guess you forgot that part.

    => copy your current code, then reset the trainer and you'll see the initial code. You just have to modify it a bit to pass the kata.