0 day streak

Tata 1mg coding interview questions

ProductE-commerce and consumer India Machine coding / LLD

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Remove Nth Node From End of ListFront Back Pointer Medium Linked List Meta, Apple, eBay +22 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Amazon, Microsoft +41 Solve
Letter Combinations of a Phone NumberChoice per Position Medium Recursion & Backtracking Amazon, Microsoft, Meta +25 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Majority ElementMoore's Voting Algorithm Easy Arrays & Hashing Bloomberg, Instacart, Autodesk +18 Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List LinkedIn, Airbnb, Akamai +26 Solve
Find Pivot IndexPrefix Sum Strategy Easy Arrays & Hashing Spotify, Tesla, Expedia Group +13 Solve
Maximal SquareSquares Medium Dynamic Programming Google, Amazon, Airbnb +14 Solve
Maximal RectangleMonotonic Stack Hard Monotonic Stack Google, Wayfair, Indeed +7 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Binary Tree Level Order TraversalTraversals Medium Trees & BST Microsoft, Apple, Netflix +24 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Also reported, being added to AlgoRung (1)

Second Highest Salary

Questions people ask

What coding questions does Tata 1mg ask most?

Remove Nth Node From End of List, LRU Cache, Longest Substring Without Repeating Characters, Two Sum, Subarray Sum Equals K, Letter Combinations of a Phone Number, Kadane's Algorithm - Simple, Best Time to Buy and Sell Stock.

Which topics come up in Tata 1mg coding rounds?

linked list, strings, arrays, dynamic programming, tries, trees.

How hard are Tata 1mg coding questions?

Of the reported questions, 8 are easy, 8 medium and 1 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.