String Interview Questions

Sort: Popular Date
Sort: Popular Date

“Given a string, remove all the duplicate characters (not necessarily consecutive)”

“Given a string find the first non-repeated character.”

“Given a string like "I'm being interviewed by Amazon" implement a method that reverses the given string so that it looks like "Amazon by interviewed being I'm".”

“Given an array, put all repeated characters together.”

“convert the result of 7^n (7 to the Nth) to string”

1 of 1 found helpful

“Write a program takes in a string and a delimiter, and uses that delimiter to split a string and then will reverse the characters in every word (or jumble of characters between the delimiters…”

“Given a series of strings, find the biggest common prefix.”

Engineering at imo.im

Jun 27, 2011

“Given a set of Sentences containing lower case letters only, remove common phrases from each sentence. Here a phrase is defined by 3 or more consecutive words.
E.g:
S1 = "I my bye good";
S2 = "my…”

“Given a trie and a prefix, find the word (in the trie) that starts with some subsequence of the prefix and also has the longest such subsequence.”

“Find substring 'substr' in string 'str'”

110 of 23 Interview Questions