Mphasis coding interview questions
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.
| Progress | Title | Difficulty | Next step |
|---|---|---|---|
| Second Largest Element in an ArraySorting | Easy | Solve | |
| Reverse StringTwo Pointer | Easy | Solve | |
| Longest Palindromic SubstringStrings | Medium | Solve | |
| Sort an ArrayMerge Sort Like Approach | Medium | Solve | |
| Sort ColorsDutch National Flag | Medium | Solve | |
| Linked List CycleSlow Fast Pointers | Easy | Solve | |
| Binary Tree Level Order TraversalTraversals | Medium | Solve | |
| Ransom NoteHashing | Easy | Solve | |
| Reverse Linked ListFront Middle Back Pointer | Easy | Solve | |
| N-Queens2D Matrix | Hard | Solve | |
| Kadane's Algorithm - SimpleKadane's Algorithm | Medium | Solve | |
| Valid PalindromeTwo Pointer | Easy | Solve | |
| Coin ChangeKnapsack | Medium | Solve | |
| Fibonacci Number1D DP | Easy | Solve |
No questions match these filters.
Also reported, being added to AlgoRung (12)
Merge two sorted arrays without duplicates · Armstrong Number · Sum of Digits of a Number · Print prime numbers in a range · Check if a Number is Prime · Dijkstra's shortest path from a source · Search in a nearly sorted array · Print 1 to N and back to 1 with a single loop · Print a circular seating order starting from a given person · Print a number triangle pattern · Print a word N times without a loop · Reverse words in a sentence
Questions people ask
What coding questions does Mphasis ask most?
Second Largest Element in an Array, Reverse String, Longest Palindromic Substring, Sort an Array, Sort Colors, Linked List Cycle, Binary Tree Level Order Traversal, Ransom Note.
Which topics come up in Mphasis coding rounds?
arrays, strings, linked list, sorting, math, trees.
How hard are Mphasis coding questions?
Of the reported questions, 7 are easy, 6 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.