about | help | code help+videos | done | prefs |
containsAllDigits
Returns true if the parameter num has every digit from 0 through 9 and false otherwise. Note that the parameter num is of type long as an int can't store every possible ten digit number. Precondition: num does not have a leading zero. containsAllDigits(1111111111) → false containsAllDigits(1234567890) → true containsAllDigits(123456789) → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy