Is "12" a valid test case ?


  • 1
    A

    @administrators :
    Is "12" a valid test case ? Because, I was considering combinations for 1 which is 1 itself and generating the output. I get the submission as "Accepted" even though my answer does not match the "Expected answer" . PFA screenshot .

    0_1477514483405_Telephone number combination.JPG


  • 0

    @aritra90tnp No. Because the image in the problem description does not have a mapping for the digit 1. The problem description should clarify this though, I am sorry as the older problems have worse description compared to the newer ones.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.