This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.