Top 10 Interview Problems on Strings

1 Text Justification Problem Easy
2 Print All Possible Valid Combinations Of Parenthesis of Given ‘N’ Expert
3 Generate All Strings of n bits. Medium
4 Print All The Permutations Of a String Expert
5 Check if one string is Rotation of another string Easy
6 String Compression using count of repeated characters — Run Length Encoding Easy
7 Replace all spaces in a String with ‘%20′ Medium
8 Find Whether Two Strings are Permutation of each other Medium
9 Find The Longest Sequence Of Prefix Shared By All The Words In A String Expert
10 Find Whether Given Sequence of parentheses are well formed. Medium

Top Companies Interview Questions..-

Google Microsoft Amazon Facebook more..

If you find anything incorrect or you feel that there is any better approach to solve the above problem, please write comment.

%d bloggers like this: