All challenges

Strings

Working with text: characters, words, reversing, counting and matching.

StatusChallengeLevelSave
1.Say helloRead a name and greet that person.Easy
2.Count the vowelsCount how many vowels a line of text has.Easy
3.Reverse a linePrint a line of text backwards.Easy
4.Count the wordsCount the words in a line of text.Easy
5.Valid PalindromeCheck whether text reads the same both ways, ignoring case and punctuation.Easy
6.Valid ParenthesesCheck that every bracket is closed by the right kind, in the right order.Easy
7.Valid AnagramCheck whether one word is a rearrangement of another.Easy
8.Roman to IntegerTurn a Roman numeral into a number.Easy
9.Longest Common PrefixFind the longest start that every word shares.Easy
10.First Unique CharacterFind the first letter that appears only once.Easy
11.Longest Substring Without RepeatsFind the longest stretch of text with no repeated character.Medium
12.Generate ParenthesesList every balanced string of n pairs of parentheses.Medium
13.Edit DistanceCount the fewest single-letter edits that turn one word into another.Hard
14.Longest Valid ParenthesesFind the longest balanced run in a string of parentheses.Hard
15.Minimum Window SubstringFind the shortest stretch of text that contains every letter of another string.Hard
16.Word LadderFind the shortest chain of one-letter changes from one word to another.Hard
17.Pattern MatchingMatch text against a pattern with . and * wildcards.Hard