AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: String-question / Level: Beginner
1. Reverse a given string.
2. Count the number of vowels in a string.
3. Check if a string is a palindrome.
4. Find the length of a string without using built-in functions.
5. Convert a string to uppercase.
6. Convert a string to lowercase.
7. Count the number of words in a string.
8. Replace all spaces in a string with hyphens.
9. Find the frequency of a character in a string.
10. Remove all vowels from a string.
11. Find the first non-repeating character in a string.
12. Check if two strings are anagrams.
13. Remove all spaces from a string.
14. Replace all occurrences of a character in a string with another character.
15. Reverse the order of words in a string.
16. Find all substrings of a string.
17. Check if a string contains only digits.
18. Check if a string contains only alphabets.
19. Convert the first letter of each word in a string to uppercase.
20. Remove duplicate characters from a string.
21. Find the most frequent character in a string.
22. Concatenate two strings without using built-in functions.
23. Find the second most frequent character in a string.
24. Remove the first occurrence of a character in a string.
25. Remove all occurrences of a character in a string.
26. Check if a string starts with a given substring.
27. Check if a string ends with a given substring.
28. Check if a string contains a given substring.
29. Find the longest word in a string.
30. Convert a string to title case.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Implement a function to find the k most frequent words in a string.
Write a function to count the number of distinct palindromic subsequences in a string.
Implement a function to count the number of substrings where each character occurs at least twice.
Write a function to find the smallest number of adjacent swaps to make two strings anagrams of each other.
Implement a function to find the longest palindrome that can be made from a string by swapping at most two characters.
Implement a function to determine the lexicographical rank of a string among its permutations.
Implement a function to check if two strings are one edit distance apart.
Implement a function to determine if a string is a valid IP address.
Write a function to find the longest substring that can be rearranged into a palindrome by deleting exactly one character.
Write a function to check if two strings can be made identical by reversing any two non-overlapping substrings.
Write a function to check if one string is a rotation of another string.
Write a function to remove all adjacent pairs of duplicate characters from a string until no such pairs exist.
Write a function to check if a string can be segmented into words from a dictionary.
Write a function to check if two strings can be made identical by swapping any two characters.
Write a function to find the smallest number of operations to transform a string into a valid anagram of another string using only cyclic shifts.