Durable Messaging Chat System
Design a reliable text-chat service for one-to-one and group conversations.
PracticeInfosys interview practice
FastPrep has 50 coding questions tagged Infosys, plus 4 system design and 1 low-level design questions. Filter them by interview stage and open any one to practice it.
Question list
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 50 of 50 Infosys questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| At Most K Jumps with Quadratic Transition CostArrayDynamic Programming | Hard | OA | 2 reports · last Nov 2026 |
| Minimum Coins for a TargetDynamic Programming | Medium | Onsite | 2 reports · last Nov 2026 |
| Tenth-Highest Distinct SalaryDatabase | Medium | Onsite | 2 reports · last Oct 2026 |
| Hiking Club Fastest PaceGreedySorting | Medium | OA | 1 report · last Nov 2026 |
| Lowest Common Ancestor with a Changing RootTreeGraph | Hard | OA | 1 report · last Nov 2026 |
| Minimum Leaf Path Sum over All RootsTreeGraph | Hard | OA | 1 report · last Nov 2026 |
| Split Array to Minimize the Largest SumArrayBinary Search | Hard | OA | 1 report · last Nov 2026 |
| Cherry PickupArrayDynamic Programming | Hard | OA | 1 report · last Nov 2026 |
| Delete Duplicate Employee RecordsDatabase | Easy | Onsite | 1 report · last Nov 2026 |
| Find Duplicate Employee RecordsDatabase | Easy | Onsite | 1 report · last Nov 2026 |
| Lexicographically Smallest Grid Path with One Letter ChangeStringDynamic Programming | Hard | OA | 1 report · last Nov 2026 |
| Minimum Cost to Supply Water with Wells and PipesGraphUnion Find | Hard | OA | 1 report · last Nov 2026 |
| Minimum Cost to Tile a Strip with Widths 1, 2, and 3ArrayDynamic Programming | Medium | OA | 1 report · last Nov 2026 |
| Minimum Insertion Steps to Make a String PalindromeStringDynamic Programming | Hard | Onsite | 1 report · last Nov 2026 |
| Minimum Rounds to Complete All TasksArrayHash Table | Medium | OA | 1 report · last Nov 2026 |
| Lift Total TravelSimulationArray | Easy | OA | 1 report · last Nov 2026 |
| Swap Two Gender ValuesDatabase | Easy | Phone | 1 report · last Oct 2026 |
| Count Equal-Distinct Character PartitionsDynamic ProgrammingSliding Window | Hard | OA | 1 report · last Oct 2026 |
| Maximize the Even-Odd Index Product GapArrayMath | Medium | Onsite | 1 report · last Oct 2026 |
| Maximum Alternating-Index Packet ValueGreedySorting | Medium | OA | 1 report · last Oct 2026 |
| Minimum Nonadjacent Flips for an Alternating Binary StringStringGreedy | Medium | Onsite | 1 report · last Oct 2026 |
| Usable Water with Contaminated PillarsTwo PointersArray | Medium | OA | 1 report · last Oct 2026 |
| Second-Highest Distinct SalaryDatabase | Easy | Phone | 1 report · last Sep 2026 |
| Count Reachable Values by Halving and DecrementingBreadth-First SearchHash Table | Medium | OA | 1 report · last Sep 2026 |
| Minimum Paid Swaps to Group Ones and TwosArrayGreedy | Medium | OA | 1 report · last Sep 2026 |
| Assign Cookies With Matching ParityArrayGreedy | Medium | Onsite | 1 report · last Sep 2026 |
| Count Equal Code Pairs Within Distance KArrayHash Table | Medium | Onsite | 1 report · last Sep 2026 |
| Daily Successful Transactions Per DepartmentDatabase | Easy | Onsite | 1 report · last Sep 2026 |
| Detect Substring In Any RotationString | Easy | Onsite | 1 report · last Sep 2026 |
| Enumerate All SubsequencesStringBacktracking | Medium | Onsite | 1 report · last Sep 2026 |
| Longest Substring Without Repeating CharactersStringSliding Window | Medium | Onsite | 1 report · last Sep 2026 |
| Product Of Array Except SelfArrayPrefix Sum | Medium | Onsite | 1 report · last Sep 2026 |
| Filter Excel Employee Records with PandasDatabase | Easy | Onsite | 1 report · last Sep 2026 |
| Maximum Purchases with a Cooler-Bag FeeArrayGreedy | Medium | OA | 1 report · last Aug 2026 |
| Sort ColorsArraySorting | Medium | Onsite | 1 report · last Aug 2026 |
| Top K Frequent ElementsArrayHash Table | Medium | Onsite | 1 report · last Aug 2026 |
| Top-K Salaries Per DepartmentDatabase | Medium | Onsite | 1 report · last Aug 2026 |
| Swap Two Numbers Without a Third VariableBit Manipulation | Easy | Onsite | 1 report · last Aug 2026 |
| Count Valid A-B-C Sequences Under a Modulo-Four RuleDynamic ProgrammingMath | Hard | OA | 1 report · last Aug 2026 |
| Maximum Product of a Strictly Increasing Contiguous SubarrayArrayDynamic Programming | Medium | OA | 1 report · last Aug 2026 |
| Minimum Cost to Assign Candidates to Two CitiesArrayGreedy | Medium | OA | 1 report · last Aug 2026 |
| Merge Two Sorted Arrays In PlaceArraySorting | Hard | Onsite | 1 report · last Jul 2026 |
| Sort Sentence WordsStringSorting | Easy | Onsite | 1 report · last Jul 2026 |
| Minimum Path Sum With Grid Switches | Unrated | Onsite | 1 report · last May 2026 |
| Maximum Subarray Sum After Swaps | Unrated | OA | 1 report · last Feb 2026 |
| Null-Safe Full NameDatabase | Easy | Onsite | 1 report · last Jan 2026 |
| Find Number of Good Subsequences 🍅Dynamic ProgrammingCombinatorics | Hard | OA | 1 report · last Apr 2024 |
| Number of Unique Elements After Modifications 🍁ArrayPrefix Sum | Medium | OA | 1 report · last Mar 2024 |
| Obtain Maximum Score Using Minimum SwapsGreedySorting | Medium | OA | 1 report · last Feb 2024 |
| Extract CardsGreedyArray | Hard | OA | 1 report · last Feb 2024 |
At a glance
FastPrep has 50 Infosys coding interview questions: 25 questions from the online assessment (OA), 2 questions from phone screens and 23 questions from onsite rounds. By difficulty: 24 medium, 13 hard and 11 easy. The most common topics are Array, Greedy, Dynamic Programming, Database and Sorting. The latest report is from Nov 2026.
25 questions · 12 medium, 11 hard and 1 easy
Topics: Array, Greedy and Dynamic Programming
Latest report: Nov 2026
2 questions · 2 easy
Topics: Database
Latest report: Oct 2026
23 questions · 12 medium, 8 easy and 2 hard
Topics: Array, Database and String
Latest report: Nov 2026
By stage and level
01 · Preparation plan
The Infosys set supports a gradual move from basic array operations to optimization and counting. Keep the general programming intent distinct from named recruitment programs: a company tag does not prove that an exercise belongs to a particular test version or specialist hiring track. This is a suggested practice order, not Infosys's interview process. Your invitation and recruiter come first.
Sort Colors is a focused invariant exercise: describe which regions are complete and which remain unclassified before moving a pointer.
Use two-city assignment to reason about opportunity cost. The useful comparison is not each absolute cost but the cost of changing a candidate's destination.
The A-B-C sequence exercise is a way to practice counting under modular restrictions without enumerating every sequence.
02 · Design and project questions
Beyond coding questions, FastPrep has 4 system design and 1 low-level design questions tagged Infosys.
Design a reliable text-chat service for one-to-one and group conversations.
PracticeModel a parking journey and implement the allocation and release core safely.
PracticeDesign the data model and regional services that match riders with nearby drivers while preserving a single active assignment.
PracticeDistribute and evaluate a million-domain block policy with fast decisions, bounded staleness, and safe cache updates.
PracticeDesign a browser-based autosave system that preserves edits offline, synchronizes them safely after reconnect, and resolves concurrent changes without silent data loss.
Practice03 · About these questions
Each question on this page is tagged Infosys in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Infosys interviews.
Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.
04 · FAQ
For hiring news and timelines, see the Infosys hiring insights page.
The 50 Infosys coding questions on FastPrep come from the online assessment (25 questions), phone screens (2 questions) and onsite rounds (23 questions). Stages differ by role, level and date, so check your invitation for your own process.
25 of the 50 Infosys coding questions on FastPrep come from the online assessment. By difficulty: 12 medium, 11 hard and 1 easy. Common OA topics: Array, Greedy and Dynamic Programming. The latest OA report is from Nov 2026.
By difficulty, the 48 rated questions are 24 medium, 13 hard and 11 easy.
Across 50 Infosys coding questions, the most common topics are Array (20 questions), Greedy (13 questions), Dynamic Programming (12 questions), Database (9 questions) and Sorting (9 questions).
The most reported questions are “At Most K Jumps with Quadratic Transition Cost” (2 reports), “Minimum Coins for a Target” (2 reports) and “Tenth-Highest Distinct Salary” (2 reports).
No. These are public company-tagged practice assets. They do not establish a current test's question order, scoring, duration, or program-specific syllabus. Use them to strengthen implementation and reasoning, then follow the official instructions for the particular Infosys role or recruitment program you entered.
No. FastPrep is an independent interview prep site and is not affiliated with Infosys. These are practice questions from FastPrep's problem bank, not official, private or leaked Infosys questions.
Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.
The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.
No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.
Next step
Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.
Back to the question list