Top 50 string manipulation Interview Questions
The most frequently asked string manipulation questions across all roles and companies, ranked by real interview frequency. Updated daily.
Reverse a string using a two-pointer swap approach in linear time.
Dassault SystèmesAArctic WolfImplement in-place reversal and swapping without extra memory using two pointers or arithmetic/XOR.
Boeing
Health Care Solutions At Home
SuperAGIFind the longest substring without repeated characters using a sliding window and last-seen index map.
Find two array values that reach a target sum using a hash map in O(n) time.
MaerskEEmsyne
CitigroupUse center expansion to find the longest palindromic substring in a Sumo Logic log fragment.
Amazon Lab126
Pocket Gems
FinacleReverse the order of words in a report string while preserving each word and normalizing whitespace.
LeidosHHelmerich & Payne
TencentCount exact occurrences of a target character in a PlayStation message using a single string traversal.
PlayStation
Keysight Technologies
MphasisReverse ASCII letters and digits while preserving punctuation, then reverse an integer array in place.
Vericast
Planned Systems International
Calamos InvestmentsSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Compare normalized character signatures to determine whether each pair of strings is an anagram.
AdobeClean, validate, and transform DNA strings while calculating sequence length, GC content, and reverse complements.
Scribd