I intend to write in lowest level of computer programming as a hobby, any suggestion how to start.
Tagging as C as I dont know the tag.
Input: arr = {'a', 'b'}, length = 3
Output: aaa aab aba abb baa bab bba bbb