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: 10 July 2026

Try CodingInterviewAI free on a practice problem

New accounts get 10 free credits for the free AI model—up to five complete problems.

Download the app
ProblemDifficultyFrequencyTopics
Two SumEASY
87.5%
ArrayHash Table
Add Two NumbersMEDIUM
50%
Linked ListMathRecursion
Longest Substring Without Repeating CharactersMEDIUM
62.5%
Hash TableStringSliding Window
Longest Palindromic SubstringMEDIUM
75%
Two PointersStringDynamic Programming
Reverse IntegerMEDIUM
62.5%
Math
Palindrome NumberEASY
75%
Math
Container With Most WaterMEDIUM
62.5%
ArrayTwo PointersGreedy
Roman to IntegerEASY
50%
Hash TableMathString
Longest Common PrefixEASY
62.5%
ArrayStringTrie
4SumMEDIUM
50%
ArrayTwo PointersSorting
3SumMEDIUM
62.5%
ArrayTwo PointersSorting
Merge Two Sorted ListsEASY
37.5%
Linked ListRecursion
Generate ParenthesesMEDIUM
37.5%
StringDynamic ProgrammingBacktracking
Remove Duplicates from Sorted ArrayEASY
62.5%
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
50%
ArrayBinary Search
Trapping Rain WaterHARD
50%
ArrayTwo PointersDynamic ProgrammingStackMonotonic Stack
Pow(x, n)MEDIUM
50%
MathRecursion

Practice with AI help

Find algorithm patterns and generate explained solutions.

Download the app