0 day streak

MAQ Software coding interview questions

Service and IT India

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
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Largest Rectangle in HistogramMonotonic Stack Hard Monotonic Stack Microsoft, Meta, DoorDash +23 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Longest Palindromic SubsequenceStrings Medium Dynamic Programming Microsoft, LinkedIn, Goldman Sachs +8 Solve
Longest Valid ParenthesesStrings Hard Dynamic Programming Amazon, Microsoft, Booking.com +15 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Amazon, Meta, Apple +51 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Databricks +52 Solve
Fibonacci Number1D DP Easy Dynamic Programming Spotify, Instacart, Zillow +38 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Agoda, Akamai, Zynga +22 Solve
Rat in a Maze2D Matrix Backtracking Medium Recursion & Backtracking Citi, Thoughtworks, Lenskart +1 Solve
Palindrome NumberMath / Number Theory Easy Arrays & Hashing Bloomberg, Cloudflare, Morgan Stanley +27 Solve
Valid AnagramHashing Easy Arrays & Hashing Netflix, Databricks, Bloomberg +42 Solve
Majority ElementMoore's Voting Algorithm Easy Arrays & Hashing Bloomberg, Instacart, Autodesk +18 Solve
Sort Characters By FrequencyTop K / Kth Largest / Smallest Medium Heaps Scale AI, Target, Citi +6 Solve
Also reported, being added to AlgoRung (4)

Unique Substrings in Wraparound String · Delete Duplicate Emails · Chocolate Distribution Problem · Second Highest Salary

Questions people ask

What coding questions does MAQ Software ask most?

Longest Substring Without Repeating Characters, Largest Rectangle in Histogram, Longest Palindromic Substring, Longest Palindromic Subsequence, Longest Valid Parentheses, Kth Largest Element in an Array, Valid Parentheses, Spiral Matrix.

Which topics come up in MAQ Software coding rounds?

arrays, strings, dynamic programming, stack, linked list.

How hard are MAQ Software coding questions?

Of the reported questions, 6 are easy, 7 medium and 2 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.