- Write a program to reverse a string.
- Check if a given string is a palindrome.
- Count the number of vowels in a string.
- Convert a string to uppercase.
- Convert a string to lowercase.
- Find the length of a string without using the built-in length property.
- Remove all spaces from a string.
- Concatenate two strings without using the + operator.
- Find the first non-repeated character in a string.
- Replace all occurrences of a substring with another substring in a given string.
- Remove all occurrences of a specified character from a string.
- Check if a string starts with a specific substring.
- Check if a string ends with a specific substring.
- Count the number of words in a sentence.
- Remove duplicate characters from a string.
- Convert a sentence to title case (capitalize the first letter of each word).
- Swap the case of each character in a string (e.g., 'Hello' becomes 'hELLO').
- Find the most frequent character in a string.
- Implement a function to truncate a string if it's longer than a certain length, adding "..." at the end.
- Check if a string is a valid URL.
- Implement a function to check if two strings are anagrams.
- Check if a string contains only digits.
- Count the occurrences of a specific word in a paragraph.
- Reverse the order of words in a sentence.
- Capitalize the first letter of each word in a sentence.
- Find the longest substring without repeating characters.
- Rotate a string to the left by a given number of positions.
- Check if a string is a valid email address.
- Implement a function to perform string compression (e.g., "aabcccccaaa" becomes "a2b1c5a3").
- Calculate the Levenshtein distance between two strings.
- Implement a function to convert a string to camel case.
- Check if a string is a valid IPv4 address.
- Reverse the order of words and the characters within each word in a sentence.
- Write a program to remove all HTML tags from a string.
- Implement a function to encode a string using Run-Length Encoding (e.g., "aaabbbbbcc" becomes "a3b5c2").
- Find the longest common prefix of an array of strings.
- Implement a function to decode a Run-Length Encoded string.
- Implement a function to perform base64 encoding and decoding.
- Check if a string contains a valid date in a specific format (e.g., "MM/DD/YYYY").
- Implement a function to convert a string to "snake_case".
- Implement the indexOf function without using the built-in method.
- Find the longest palindrome substring in a given string.
- Implement regular expression matching for a simple pattern (e.g., ".ab" matches "aaaab").
- Write a program to reverse words in a sentence while preserving whitespace.
- Implement a function to perform basic string parsing similar to a compiler's lexer.
- Count the number of distinct substrings in a string.
- Implement the split function without using the built-in method.
- Write a program to generate all possible permutations of a string.
- Implement a function to calculate the edit distance between two strings.
- Find the shortest superstring that contains all given strings as substrings.
- Implement a function to reverse words in a sentence, while keeping the words' relative order unchanged (e.g., "The quick brown fox" becomes "ehT kciuq nworb xof").
- Implement a function to find the longest substring with at most K distinct characters.
- Write a program to format a multi-line text into a paragraph (word wrapping).
- Check if a given string follows a specific pattern (e.g., "abab" matches "redblueredblue").
- Implement a function to find the shortest palindrome that can be formed by adding characters to the end of a given string.
- Count the number of anagrams of a given word in a list of words.
- Implement a function to find the minimum window in a string that contains all characters of another string.
- Check if a string is a valid Roman numeral.
- Write a program to generate all valid IP addresses from a given string containing digits.
- Implement a function to reverse the order of words in a sentence, while preserving the spaces and punctuation.