QUESTIONS BY COMPANY

TCS LeetCode Questions 2026

Browse LeetCode problems frequently asked by TCS. Filter by difficulty and timeframe to focus your interview prep.

Last updated: 20 Feb 2026

ProblemDifficultyFrequencyTopics
Two SumEASY
87.5%
ArrayHash Table
Add Two NumbersMEDIUM
50%
Linked ListMathRecursion
Longest Substring Without Repeating CharactersMEDIUM
50%
Hash TableStringSliding Window
Longest Palindromic SubstringMEDIUM
75%
Two PointersStringDynamic Programming
Reverse IntegerMEDIUM
50%
Math
Palindrome NumberEASY
75%
Math
Container With Most WaterMEDIUM
50%
ArrayTwo PointersGreedy
Roman to IntegerEASY
50%
Hash TableMathString
Longest Common PrefixEASY
62.5%
ArrayStringTrie
3Sum ClosestMEDIUM
37.5%
ArrayTwo PointersSorting
4SumMEDIUM
50%
ArrayTwo PointersSorting
3SumMEDIUM
62.5%
ArrayTwo PointersSorting
Merge Two Sorted ListsEASY
25%
Linked ListRecursion
Generate ParenthesesMEDIUM
37.5%
StringDynamic ProgrammingBacktracking
Remove Duplicates from Sorted ArrayEASY
50%
ArrayTwo Pointers
Find the Index of the First Occurrence in a StringEASY
62.5%
Two PointersStringString Matching
Valid ParenthesesEASY
62.5%
StringStack
Next PermutationMEDIUM
37.5%
ArrayTwo Pointers
Find First and Last Position of Element in Sorted ArrayMEDIUM
37.5%
ArrayBinary Search
Combination SumMEDIUM
25%
ArrayBacktracking

Need Help Solving These Problems?

CodingInterviewAI can instantly identify algorithms and generate optimal solutions for any LeetCode problem. Get step-by-step explanations and ace your next technical interview.

CodingInterviewAI logo

© 2026 CodingInterviewAI. All rights reserved

CodingInterviewAI

HomeBlogGive Feedback