This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This one is quite easy.Actually subproblem from one programming competition. Input: any String(containing combination of letters from a to z) Output:String array,each string contains hyphen at different position example:1) Input :a output:-a,a- 2)Input aqw output: -aqw,a-qw,aq-w,aqw- Write a program.