[go: up one dir, main page]

0% found this document useful (0 votes)
6 views1 page

ASSI_1_String

Uploaded by

suraj.rajput2023
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

ASSI_1_String

Uploaded by

suraj.rajput2023
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Write a program to reverse a string.

2. Write a program to check if a string is a palindrome.


3. Write a program to count the number of vowels and consonants in a string.
4. Write a program to count the occurrences of a particular character in a string.
5. Write a program to check if two strings are anagrams of each other.
6. Write a program to remove all white spaces from a string.
7. Write a program to convert all lowercase characters in a string to uppercase.
8. Write a program to find the longest word in a sentence.
9. Write a program to concatenate two strings without using the strcat() function.
10. Write a program to find the first non-repeated character in a string.
11. Write a program to find all the permutations of a given string.
12. Write a program to find the first occurrence of a substring in a string.
13. Write a program to check if a string is a rotation of another string.
14. Write a program to reverse words in a sentence.
15. Write a program to find the most frequent character in a string.
16. Write a program to check if a string contains only digits.
17. Write a program to convert a decimal number to a binary string.
18. Write a program to remove duplicate characters from a string.
19. Write a program to check if a string is a valid palindrome after removing at most one
character.
20. Write a program to find the shortest palindrome in a string.
21. Write a program to sort characters of a string in alphabetical order.
22. Write a program to find the longest common prefix among an array of strings.
23. Write a program to reverse the order of words in a sentence.
24. Write a program to check if a string is a valid shuffle of two other strings.
25. Write a program to find the first non-repeating character in a string.
26. Write a program to check if a string is a valid shuffle of two other strings.
27. Write a program to convert a Roman numeral to an integer.
28. Write a program to check if a string contains only unique characters.
29. Write a program to find the minimum window in a string containing all characters of another
string.
30. Write a program to find the longest substring without repeating characters.

You might also like