Given an integer n, generate all binary strings of length n. Return them sorted lexicographically.
binaryStrings(2) => ["00","01","10","11"]
Waiting for you...
CodeBot will comment on your code as you write...
Click "Run Code" or press Ctrl+Enter to test your solution