I need help please send me reply:
Write a program "if given a string like 'HAT', the
combination's returned should be like ATH,THA,TAH in java"?
Answer Posted / sudhir
it is same as pallindrome ;
take 2 string or character and and exchange the first and
last location at every loop condition.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the differences between c++ and java?
What is the difference between assignment and initialization?
Explain how hashmap works?
What is a function in java?
Can we inherit inner class?
Why string is immutable or final in java
What is main string [] args?
How do you write methodology?
What is variable and example?
What is return data type?
Why do we declare a class static?
What does localhost mean?
How to sort list of list in java?
Is set thread safe java?
How can we run a java program without making any object?