Navigation: Main Index | Chapter Guide
This folder contains solutions for all 45 String practice exercises.
javac 31-LongestSubstringWithoutRepeating.java
java LongestSubstringWithoutRepeating- Accept and Display String
- String Length Without length()
- Convert to Uppercase
- Convert to Lowercase
- Reverse String
- Reverse Using StringBuilder
- Palindrome String
- Count Vowels and Consonants
- Count Words
- Count Spaces
- Count Uppercase and Lowercase
- Count Digits, Letters, and Special Characters
- Character Frequency
- String Contains Only Digits
- Remove All Spaces
- Find Duplicate Characters
- Remove Duplicate Characters
- First Non-Repeating Character
- First Repeating Character
- Anagram Check
- Rotation Check
- Longest Word
- Shortest Word
- Reverse Each Word
- Reverse Word Order
- Capitalize Words
- Frequency of Every Character
- Most Frequent Character
- Compare Strings Without equals()
- Remove Duplicate Words
- Longest Substring Without Repeating Characters
- Longest Palindromic Substring
- Longest Common Prefix
- Longest Common Subsequence
- Pattern Matching
- Basic indexOf()
- Basic replace()
- Valid Palindrome Ignoring Characters
- Compress String
- All Permutations
- All Substrings
- Run-Length Encoding
- Password Validation
- Word Frequency Counter
- Simple Text Processor