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
How much ram can a 64 bit processor theoretically?
Java is pass by value or pass by reference? Explain
What is final access modifier in java?
What is the flag in java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is the use of StringTokenizer class?
When should a function throw an exception?
What is the final field modifier?
What is a cup of java?
How do you check if two given string are anagrams?
What are the methods available in a class?
What is object data type?
What is this () in java?
What is Garbage Collection in Java
What is canonical name in java?