← Infosys roles

Interview question tracker

Infosys Coding Interview Questions — All time

Practice 138 coding questions from Infosys company-tagged LeetCode lists across all available reporting periods. Explore reported interview questions and track your progress.

Company-wide data from Fahad7177-jeh/leetcode-company-wise-questions; see its AGPL-3.0 license. All-time questions also use dataengineervishal/leetcode-companywise-questions (MIT license).

Reporting periods reflect source data, not verified interview dates. Questions can recur; inclusion does not guarantee they will appear in your interview.

Updated weekly · Latest source check: ⓘLatest successful check of the sources used by this company. A check does not necessarily mean the questions changed.

One question at a time.

Top questions 138

DoneQuestionLeetCode
Two SumSolve
Count the Number of Ideal ArraysSolve
Eat Pizzas!Solve
Find Building Where Alice and Bob Can MeetSolve
Longest Substring Without Repeating CharactersSolve
Maximum Sum of Subsequence With Non-adjacent ElementsSolve
Minimum Reverse OperationsSolve
Transform Array by ParitySolve
Best Time to Buy and Sell StockSolve
Can Convert String in K MovesSolve
Determine the Minimum Sum of a k-avoiding ArraySolve
Find the Minimum Possible Sum of a Beautiful ArraySolve
Find the Number of Subsequences With Equal GCDSolve
Gas StationSolve
Largest Number After Mutating SubstringSolve
Longest Well-Performing IntervalSolve
Maximize the Minimum Game ScoreSolve
Maximum Good Subtree ScoreSolve
Maximum Number of Consecutive Values You Can MakeSolve
Maximum Product After K IncrementsSolve
Maximum Segment Sum After RemovalsSolve
Maximum SubarraySolve
Maximum Walls Destroyed by RobotsSolve
Minimum Addition to Make Integer BeautifulSolve
Minimum Total Distance TraveledSolve
Next PermutationSolve
Number of Beautiful Integers in the RangeSolve
Number of Nodes With Value OneSolve
Palindrome NumberSolve
Sort the PeopleSolve
Stone Game VIIISolve
Sum of Beautiful SubsequencesSolve
The Number of Beautiful SubsetsSolve
Trionic Array ISolve
Trionic Array IISolve
Valid ParenthesesSolve
XOR After Range Multiplication Queries ISolve
XOR After Range Multiplication Queries IISolve
Add Two NumbersSolve
Climbing StairsSolve
Coin ChangeSolve
Container With Most WaterSolve
Fibonacci NumberSolve
Generate ParenthesesSolve
Group AnagramsSolve
House RobberSolve
Linked List CycleSolve
Longest Common PrefixSolve
Longest Palindromic SubstringSolve
Merge IntervalsSolve
Merge Sorted ArraySolve
Merge Two Sorted ListsSolve
Missing NumberSolve
Product of Array Except SelfSolve
Remove Duplicates from Sorted ArraySolve
Reverse IntegerSolve
Reverse StringSolve
Reverse Words in a StringSolve
Rotate ArraySolve
Rotate ImageSolve
Second Highest SalarySolve
Spiral MatrixSolve
Subarray Sum Equals KSolve
Trapping Rain WaterSolve
Valid AnagramSolve
4SumSolve
Average Time of Process per MachineSolve
Binary SearchSolve
Find Peak ElementSolve
Kids With the Greatest Number of CandiesSolve
Koko Eating BananasSolve
Kth Largest Element in an ArraySolve
Linked List Cycle IISolve
Longest Consecutive SequenceSolve
Minimum Window SubstringSolve
Move ZeroesSolve
Palindrome PartitioningSolve
Rotting OrangesSolve
Sort an ArraySolve
Top K Frequent ElementsSolve
Two Sum II - Input Array Is SortedSolve
Valid PalindromeSolve
3SumSolve
Average Selling PriceSolve
Best Time to Buy and Sell Stock IISolve
Car FleetSolve
Car PoolingSolve
Combination SumSolve
Combination Sum IISolve
CombinationsSolve
Count Good NumbersSolve
Count Pairs That Form a Complete Day ISolve
Delete Duplicate EmailsSolve
Delete Node in a BSTSolve
Delete Operation for Two StringsSolve
Edit DistanceSolve
Employees Earning More Than Their ManagersSolve
Find First and Last Position of Element in Sorted ArraySolve
Find Minimum in Rotated Sorted ArraySolve
Find Sum of Array Product of Magical SequencesSolve
Find the Duplicate NumberSolve
Find the Index of the First Occurrence in a StringSolve
Greatest Common Divisor of StringsSolve
Implement Queue using StacksSolve
Integer to RomanSolve
Intersection of Two ArraysSolve
Is SubsequenceSolve
Longest Palindromic SubsequenceSolve
Majority Element IISolve
Maximum Depth of Binary TreeSolve
Maximum Product of Three NumbersSolve
Maximum Score Words Formed by LettersSolve
Median of Two Sorted ArraysSolve
Minimum Difference in Sums After Removal of ElementsSolve
Minimum Increment to Make Array UniqueSolve
Next Greater Element IIISolve
Number of IslandsSolve
Palindrome Linked ListSolve
Partition Array Into Two Arrays to Minimize Sum DifferenceSolve
Pascal's TriangleSolve
Pow(x, n)Solve
Range Sum Query - ImmutableSolve
Rearrange Array Elements by SignSolve
Regular Expression MatchingSolve
Remove All Occurrences of a SubstringSolve
Remove ElementSolve
Replace Employee ID With The Unique IdentifierSolve
Reverse Nodes in k-GroupSolve
Reverse String IISolve
Roman to IntegerSolve
Search in Rotated Sorted ArraySolve
Set Matrix ZeroesSolve
Single Element in a Sorted ArraySolve
Sliding Window MaximumSolve
Sqrt(x)Solve
String to Integer (atoi)Solve
Subarrays with K Different IntegersSolve
SubsetsSolve