Top 50 Strings Interview Questions
The most frequently asked Strings questions across all roles and companies, ranked by real interview frequency. Updated daily.
Use a hash map to find two array elements that sum to a target in O(n) time.
iCapital
Paycom
Blend360Find the longest substring with all unique characters using a sliding window.
DeepInstinct
Taboola
EDF RenewablesFind the first non-repeating character in a string using frequency counting and a second pass in O(n) time.
Cloudsek
Brightside Health
McAfeeUse a sliding window and hash map to find the longest substring without repeated characters in a string.
Insight Global
O'Reilly Media
AvisoSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Use a two-pointer string scan to determine whether a string reads the same forward and backward.
Dsv Air & Sea
Lucid Motors
AfterqueryUse two pointers to determine whether a City National Bank reference label reads identically forward and backward.
Taboola
iHerb
SharpSpringFind the longest shared starting substring across an array of strings using prefix shrinking.
GEICO
Cloudscouts Software Solutions
Ping Identity

