string Interview Questions

(Posted anonymously by job candidates)

22 Interview Questions: 110 of 22 Sort by  

Jan 20, 2014

Interview Question for Java Software Developer at Glory Global Solutions:

“why is
"".equals(someString);
safer than
someString.equals("");”

Feb 28, 2013

Interview Question for Software Development Engineer In Test (SDET) at Microsoft:

“Write a program that takes in a string and removes any duplicate spaces (including leading and trailing spaces – there should be none when finished). This program should not have any embedded loops…”

Feb 28, 2013

Interview Question for Software Development Engineer In Test (SDET) at Microsoft:

“Write a program that reads in a string and prints the character once it has been found to have duplicates (2 or more). The program should only print the character once, not every time a duplicate is…”

Feb 28, 2013

Interview Question for Software Development Engineer In Test (SDET) at Microsoft:

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…”

Jul 3, 2012

Interview Question for Senior Software Development Engineer at Amazon.com:

“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.”

Jan 12, 2012

Interview Question for Member of Technical Staff Software Engineer at VMware:

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

Jul 26, 2011

Interview Question for Program Manager at Microsoft:

“Standard string manipulation question in C. Pencil and paper.”

Jul 12, 2011

Interview Question for Software Development Engineer at Amazon.com:

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

Jul 12, 2011

Interview Question for Software Development Engineer at Amazon.com:

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

Jul 10, 2011

Interview Question for Software Engineer at Symantec:

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

Glassdoor is your free inside look at string interview questions and reviews. All 22 interview questions posted anonymously by employees and interview candidates.