String Programs
String Programs
Reverse a String
2. check if a String is Palindrome?
3. count number of words in a String (with / without split function)
4. Program to check if two strings are same or not (without using inbuilt function
.equals())
5. Update a character in a string (without using .replace() function)
6. Sort string of characters
7. Print frequency of all the characters in string
8. Remove Vowels from a String
9. Reverse Words internally in a String
10. find duplicate chars from string
11. remove All Digits
12. Merge Strings Alternatively
13. Check if all words are palindrome
14. Check if string have equal digits and chars
15. Remove duplicate chars from string
https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/
https://leetcode.com/problems/truncate-sentence/
https://leetcode.com/problems/find-first-palindromic-string-in-the-array/
https://leetcode.com/problems/counting-words-with-a-given-prefix/
https://leetcode.com/problems/maximum-number-of-words-found-in-sentences
String test
4. Pattern:
P
PR
PRO
PROG
PROGR
PROGRA
PROGRAM