TCS · DSA
Every coding problem TCS has asked, most frequent first. Tick them off as you go; your ticks stay in this browser.
- mostly asked
- 78
- hard
- 7
- done
- 0
78 of 78 problems
- 1Two Sum (opens LeetCode in a new tab)Array, Hash Table · at 38 companiesEasyFrequency 100
- 2Longest Palindromic Substring (opens LeetCode in a new tab)Two Pointers, String, Dynamic Programming · at 25 companiesMediumFrequency 92
- 3Palindrome Number (opens LeetCode in a new tab)Math · at 17 companiesEasyFrequency 89
- 4Maximum Subarray (opens LeetCode in a new tab)Array, Divide and Conquer, Dynamic Programming · at 25 companiesMediumFrequency 85
- 5Container With Most Water (opens LeetCode in a new tab)Array, Two Pointers, Greedy · at 24 companiesMediumFrequency 82
- 6Move Zeroes (opens LeetCode in a new tab)Array, Two Pointers · at 21 companiesEasyFrequency 80
- 7Best Time to Buy and Sell Stock (opens LeetCode in a new tab)Array, Dynamic Programming · at 29 companiesEasyFrequency 80
- 8Valid Anagram (opens LeetCode in a new tab)Hash Table, String, Sorting · at 22 companiesEasyFrequency 78
- 9Fibonacci Number (opens LeetCode in a new tab)Math, Dynamic Programming, Recursion · at 12 companiesEasyFrequency 76
- 10Valid Parentheses (opens LeetCode in a new tab)String, Stack, Bracket Sequences · at 32 companiesEasyFrequency 75
- 11Rank Transform of an Array (opens LeetCode in a new tab)Array, Hash Table, Sorting · at 6 companiesEasyFrequency 75
- 12Second Highest Salary (opens LeetCode in a new tab)Database · at 14 companiesMediumFrequency 74
- 13Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 73
- 14Roman to Integer (opens LeetCode in a new tab)Hash Table, Math, String · at 23 companiesEasyFrequency 73
- 15Longest Common Prefix (opens LeetCode in a new tab)Array, String, Trie · at 22 companiesEasyFrequency 73
- 163Sum (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 23 companiesMediumFrequency 73
- 17Sort Colors (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 21 companiesMediumFrequency 73
- 18Merge Sorted Array (opens LeetCode in a new tab)Array, Two Pointers, Sorting · at 19 companiesEasyFrequency 73
- 19First Missing Positive (opens LeetCode in a new tab)Array, Hash Table · at 17 companiesHardFrequency 73
- 20Single Number (opens LeetCode in a new tab)Array, Bit Manipulation · at 14 companiesEasyFrequency 72
- 21Majority Element (opens LeetCode in a new tab)Array, Hash Table, Divide and Conquer · at 14 companiesEasyFrequency 72
- 22Remove Duplicates from Sorted Array (opens LeetCode in a new tab)Array, Two Pointers · at 17 companiesEasyFrequency 70
- 23Reverse String (opens LeetCode in a new tab)Two Pointers, String · at 12 companiesEasyFrequency 70
- 24Integer to Roman (opens LeetCode in a new tab)Hash Table, Math, String · at 16 companiesMediumFrequency 70
- 25Spiral Matrix (opens LeetCode in a new tab)Array, Matrix, Simulation · at 20 companiesMediumFrequency 69
- Showing 25 of 78
Mostly asked is the top quarter of the company’s list by how often a problem is reported. We don’t refresh this data often enough to show the last 30 days or 6 months. Frequency is relative within one company: 100 is its most asked problem. At N companies counts the companies in DSA Atlas that ask the problem; use Also asked at to cut a long list down to the problems many companies share. Your ticks are saved in this browser only.
Credits
These lists are the work of two open GitHub projects. Thank you to their authors.
- liquidslr/leetcode-company-wise-problems: the problem lists for each company (titles, difficulty, frequency, topics, LeetCode links).
- nishant-Tiwari24/company-wise-dsa: the focus tip and important topics shown on each company card.
Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.
Last synced