explain reversing string, concatenating strings, extracting substring form a string operations
Answers
Answered by
2
Answer:
This is your answer
Given a string S and an array of indices A[], the task is to reverse the substrings of the given String according to the given Array of indices.
Answered by
0
Under string operations, reversing strings, concatenating strings and extracting substring are taken place.
- Reversing a string is the technique in JAVA programming that reverses or changes the order of a given string so that the last character of the string becomes the first character of the string and the second last character becomes the second character from start and so on.
- Moreover, we can also check the Palindrome of the given string by reversing the original string.
- In JAVA language theory and computer programming, string concatenation is the operation of joining character strings end-to-end. For example, the concatenation of "BIG " and "CAT " is 'BIGCAT".
- An extracting substring is a string within a string. For example, the tab and cable are both substrings of the table.
#SPJ2
Similar questions
Business Studies,
1 month ago
Math,
1 month ago
Social Sciences,
2 months ago
Math,
10 months ago
Math,
10 months ago
English,
10 months ago