String Data Structure & Algorithm Problems

PNo Level Program Name Solution
1 Medium String Matching Algorithms Click Here
2 Medium Reverse a String Click Here
3 Medium Check if the String is Palindrome Click Here
4 Medium Anagrams Click Here
5 Medium Permutations of a String Click Here
6 Medium Longest Common Prefix Click Here
7 Medium Longest Common Substring Click Here
8 Medium Longest Palindromic Substring Click Here
9 Medium Regular Expression Matching Click Here
10 Medium Implement strStr() Click Here
11 Medium Valid Parentheses Click Here
12 Medium Longest Valid Parentheses Click Here
13 Medium Valid Palindrome Click Here
14 Medium Group Anagrams Click Here
15 Medium Minimum Window Substring Click Here
16 Medium Find All Anagrams in a String Click Here
17 Medium Longest Substring Without Repeating Characters Click Here
18 Medium Valid Anagram Click Here
19 Medium Count and Say Click Here
20 Medium Implement Trie (Prefix Tree) Click Here
21 Medium Find the Difference Click Here
22 Medium Add Strings Click Here
23 Medium Multiply Strings Click Here
24 Medium First Unique Character in a String Click Here
25 Medium Valid Palindrome II Click Here
26 Medium Repeated Substring Pattern Click Here
27 Medium Implement strStr() (KMP Algorithm) Click Here
28 Medium Reverse Words in a String Click Here
29 Medium Find All Duplicates in a String Click Here
30 Medium Encode and Decode Strings Click Here
31 Medium Custom Sort String Click Here
32 Medium Find the Longest Substring Without Repeating Characters Click Here
33 Medium Partition Labels Click Here
34 Medium Longest Word in Dictionary through Deleting Click Here
35 Medium Unique Email Addresses Click Here
36 Medium Number of Segments in a String Click Here
37 Medium Valid Word Abbreviation Click Here
38 Medium Repeated String Match Click Here
39 Medium Expressive Words Click Here
40 Medium Compare Strings by Frequency of the Smallest Character Click Here
41 Medium Find and Replace Pattern Click Here
42 Medium Zigzag Conversion Click Here
43 Medium Add Binary Click Here
44 Medium Roman to Integer Click Here
45 Medium Longest Substring with At Most Two Distinct Characters Click Here
46 Medium Valid Parentheses String Click Here
47 Medium Next Closest Time Click Here
48 Medium Ransom Note Click Here
49 Medium Unique Morse Code Words Click Here
50 Medium License Key Formatting Click Here
51 Medium Longest Absolute File Path Click Here
52 Medium Number of Atoms Click Here
53 Medium Backspace String Compare Click Here
54 Medium Most Common Word Click Here
55 Medium Length of Last Word Click Here
56 Medium Valid Mountain Array Click Here
57 Medium Add Strings as Numbers Click Here
58 Medium Longest Substring with At Least K Repeating Characters Click Here
59 Medium Custom Sort String Click Here
60 Medium Reverse String II Click Here
61 Medium Reorganize String Click Here
62 Medium Repeated Substring Pattern Click Here
63 Medium Add Strings as Numbers Click Here
64 Medium Longest Substring with At Least K Repeating Characters Click Here
65 Medium Custom Sort String Click Here
66 Medium Reverse String II Click Here
67 Medium Reorganize String Click Here
68 Medium Repeated Substring Pattern Click Here
69 Medium Add Strings as Numbers Click Here
70 Medium Longest Substring with At Least K Repeating Characters Click Here
71 Medium Custom Sort String Click Here
72 Medium Reverse String II Click Here
73 Medium Reorganize String Click Here
74 Medium Repeated Substring Pattern Click Here
75 Medium Add Strings as Numbers Click Here
76 Medium Longest Substring with At Least K Repeating Characters Click Here
77 Medium Custom Sort String Click Here
78 Medium Reverse String II Click Here
79 Medium Reorganize String Click Here
80 Medium Repeated Substring Pattern Click Here
81 Medium Add Strings as Numbers Click Here
82 Medium Longest Substring with At Least K Repeating Characters Click Here
83 Medium Custom Sort String Click Here
84 Medium Reverse String II Click Here
85 Medium Reorganize String Click Here
86 Medium Repeated Substring Pattern Click Here
87 Medium Add Strings as Numbers Click Here
88 Medium Longest Substring with At Least K Repeating Characters Click Here
89 Medium Custom Sort String Click Here
90 Medium Reverse String II Click Here
91 Medium Reorganize String Click Here
92 Medium Repeated Substring Pattern Click Here
93 Medium Add Strings as Numbers Click Here
94 Medium Longest Substring with At Least K Repeating Characters Click Here
95 Medium Custom Sort String Click Here
96 Medium Reverse String II Click Here
97 Medium Reorganize String Click Here
98 Medium Repeated Substring Pattern Click Here
99 Medium Add Strings as Numbers Click Here
100 Medium Longest Substring with At Least K Repeating Characters Click Here