Open In App

Top 50 String Coding Problems for Interviews

Last Updated : 21 Mar, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Here is the collection of the Top 50 list of frequently asked interview questions on Strings. Problems in this Article are divided into three Levels so that readers can practice according to the difficulty level step by step. 

Top-50-String-Coding-Problems-for-Interviews

Level 1

Problems

Solve

Reverse words in a given string Solve
Longest Common Prefix Solve
Roman Number to Integer Solve
Integer to Roman Solve
Closest Strings Solve
Divisible by 7 Solve
Encrypt the String – II Solve
Equal point in a string of brackets Solve
Isomorphic Strings Solve
Check if two strings are k-anagrams or not Solve
Panagram Checking Solve
Minimum Deletions Solve
Number of Distinct Subsequences Solve
Check if string is rotated by two places Solve

Level 2

Problems

Solve

Implement Atoi Solve
Validate an IP address Solve
License Key Formatting Solve
Find the largest word in dictionary Solve
Equal 0,1, and 2 Solve
Find and replace in String  
Add Binary Strings Solve
Sum of two large numbers Solve
Multiply two strings Solve
Look and say Pattern Solve
Minimum times A has to be repeated to make B a Substring Solve
Excel Sheet – I Solve
Form a Palindrome Solve
Find the N-th character Solve
Next higher palindromic number using the same set of digits Solve
Length of longest prefix suffix Solve
Longest K unique characters substring Solve
Smallest window in string containing all characters Solve
Longest Palindromic Subsequence Solve
Longest substring without repeating characters Solve
Substrings of length k with k-1 distinct elements Solve
Count number of substrings Solve
Interleaved Strings Solve
Print Anagrams together Solve
Rank the permutation Solve
A Special Keyboard Solve

Level 3

Problems Solve
Restrictive Candy Crush Solve
Edit Distance Solve
Search Pattern (KMP-Algorithm) Solve
Search Pattern (Rabin-Karp Algorithm) Solve
Search Pattern (Z-algorithm) Solve
Shortest Common Supersequence Solve
Number of words with K maximum distinct vowels Solve
Longest substring to form a Palindrome Solve
Longest Valid Parenthesis Solve
Distinct Palindromic Substrings Solve

Related Articles:

Some other important Tutorials:



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads