1 votes 1 votes why do we count here empty string also , it has no 1's , so what's the reason for counting this ? radha gogia asked Mar 6, 2016 radha gogia 2.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes Empty string does not violate the given condition. But usually we don't count that when we count the no. of strings. To avoid confusion they usually say non-empty string. Arjun answered Mar 6, 2016 • selected Mar 7, 2016 by radha gogia Arjun comment Share Follow See all 0 reply Please log in or register to add a comment.