Infosys String Coding Interview Questions
27 string coding problems are tagged as asked at Infosys in interviews and online assessments reported by candidates. By difficulty they split into 11 basic, 10 intermediate and 6 advanced. The topics they most often combine with are Two Pointers, Dynamic Programming, Stack, Math.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Infosys tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Reverse String (Basic)
- Valid Palindrome (Basic)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Reverse Words in a String (Basic)
- Roman to Integer (Intermediate)
- Add Binary (Basic)
- Edit Distance (Advanced)
- Longest Valid Parentheses (Advanced)
- Partition Labels (Intermediate)
- Is Subsequence (Basic)
- Zigzag Conversion (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Minimum Window Substring (Advanced)
- Palindrome Linked List (Basic)
- Regular Expression Matching (Advanced)
- Find First Occurrence (Basic)
- String to Integer (Intermediate)
- Evaluate Reverse Polish Notation (Intermediate)
- Basic Calculator (Advanced)
- Reorganize String (Intermediate)
- Substring With Concatenation of All Words (Advanced)
- Merge Strings Alternately (Basic)
- Remove Digit to Maximize Result (Basic)
- Longest Repeating Character Replacement (Intermediate)
Related
- Infosys coding interview questions
- String problems
- Infosys basic problems
- Infosys intermediate problems
- Infosys advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Infosys problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Infosys interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.