Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 Strings Interview Questions

The most frequently asked Strings questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
1,733companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
StringsStart here. 6 questions · ~150 min
2
Hash Tables23 questions · ~575 min
Two Sum with TargetEasy
Practice
Recently asked

Use a hash map to find two array elements that sum to a target in O(n) time.

Hash TablesArraysStringsiCapitalPaycomBlend360
Longest Substring Without RepeatsMedium
Practice
Recently asked

Find the longest substring with all unique characters using a sliding window.

Hash TablesStringsTwo PointersDeepInstinctTaboolaEDF Renewables
First Non-Repeating CharacterEasy
Practice
Recently asked

Find the first non-repeating character in a string using frequency counting and a second pass in O(n) time.

Hash TablesStringsSearchingCloudsekBrightside HealthMcAfee
Longest Unique Substring in EnoMedium
Practice
Recently asked

Use a sliding window and hash map to find the longest substring without repeated characters in a string.

Hash TablesStringsTwo PointersInsight GlobalO'Reilly MediaAviso
More Hash Tables questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
3
Recursion11 questions · ~275 min
Check Palindrome StringEasy
Practice
Recently asked

Use a two-pointer string scan to determine whether a string reads the same forward and backward.

RecursionStringsData StructuresDsv Air & SeaLucid MotorsAfterquery
Palindrome FunctionEasy
Practice
Recently asked

Use two pointers to determine whether a City National Bank reference label reads identically forward and backward.

RecursionStringsTwo PointersTaboolaiHerbSharpSpring
More Recursion questions with a free account
4
Math3 questions · ~75 min
More Math questions with a free account
5
More topics7 questions · ~175 min
Longest Common Prefix in StringsEasy
Practice
Recently asked

Find the longest shared starting substring across an array of strings using prefix shrinking.

ArraysStringsGEICOCloudscouts Software SolutionsPing Identity
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.