can’t we store the spellings in 1d array??
Recursion - 2048 Problem
Since you are using C-styled string by character array…To store all the spelling you will need a 2d array of characters.1 D array can store only one string.
But if you are using STL string class(the datatype is string) then it can be done by a 1D array.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.