This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am trying to find least common prefix of suffixes in a string using C. For this i am using simple array of charaacters. The length of a string can be of 100000. I am able to find out the answer, however, i could not do it in stipulated time limit. Will the usage of pointers with arrays decrease the time of execution?
Post the code snippet - it might be a confidential or very project specific code, but you can post only the part that does this finding prefix with commenting or removing other parts.
It will definitely help others to see the algorithm/programming technique used.
Everyday is a Learning phase! Hence ask "What have I learnt today?"