I have this problem to solve
There is an input word from user which has been formed from two different words like
AppleCake or BrownPie
Now we need to develop a program which will take this input and match it against a library of words and break the word into it's meaningful parts i-e Apple and Cake
Input:AppleCake
Output:This input has two words Apple and Cake
Input: RedGrapesWine
Output: This Input has three words Red, Grapes and Wine
My question is:
How should I start working on this problem?
Can anyone help me with pseudoCode/ Steps towards its solution?