Beta

Multiple Number Options

Description
Loading description...
Fundamentals
  • Please sign in or sign up to leave a comment.
  • donaldsebleung Avatar

    Needs random test cases

  • tu6619 Avatar

    EXCLUDING the the numbers in the test case

    watch out for the double "the"!

  • tasnim Avatar

    Hi, I think in the description you could give an example of what the function should return. Then the reader can figure out what they need to do with their results. Also, in your solution some of your arrays aren't sorted. If that's how it's meant to be, you'll need to give the reader the necessary information

  • FrankK Avatar

    Hi, I really like your Kata but I do not understand your Kata completely. How do you determine the order of items? It is not ascending I saw in your test example.

    • coding251 Avatar

      Hi FrankK, I have made it ascending now, matching the order os of the number, with the order of the the match, so "23" all the variations of "2" then match to the variations of "3" etc, I have also made this clearer, please let me know if there is more you think I should add :)

      Issue marked resolved by coding251 10 years ago
    • FrankK Avatar

      OK, it's great now! :)

  • ZozoFouchtra Avatar

    Tests fail because expected area is not sorted ! eg :

    observed = 66
    expected => ["11","13","14","15","17","18","19","12","31", ... ,"92","21","23","24","25","27","28","29","22"] <-- '2' are not sorted
    
    oberved = 11
    expected =>  ["22","23","24","25","26","27","28","29","32", ... ,"99"] <-- sorted
    
    oberverd = 45
    expected => ["11","13","14","16","17","18","19","12","21","23", ..., "99"] <-- '2' sorted when in 1st place not when in 2d place ...
    

    Please sort expected results before comparing them with gotten ones !