grindmapcompany-wise LeetCode
All companies

Infosys LeetCode Questions

100 questions all-time · 31 easy · 54 medium · 15 hard
# Problem Difficulty Frequency Acceptance
1Two Sum
Easy
100
55.8%
2Find Building Where Alice and Bob Can Meet
Hard
95
52.2%
3Minimum Reverse Operations
Hard
93
15.3%
4Count the Number of Ideal Arrays
Hard
91
57.2%
5Transform Array by Parity
Easy
89
89.6%
6Maximum Sum of Subsequence With Non-adjacent Elements
Hard
89
15.4%
7Eat Pizzas!
Medium
89
32.4%
8Longest Substring Without Repeating Characters
Medium
89
36.9%
9Determine the Minimum Sum of a k-avoiding Array
Medium
86
59.9%
10Sort the People
Easy
86
84.8%
11Number of Beautiful Integers in the Range
Hard
86
19.6%
12Longest Well-Performing Interval
Medium
86
35.9%
13Maximum Product After K Increments
Medium
86
42.3%
14Maximum Segment Sum After Removals
Hard
86
48.4%
15Minimum Total Distance Traveled
Hard
86
59.0%
16Minimum Addition to Make Integer Beautiful
Medium
86
38.0%
17Number of Nodes With Value One
Medium
86
65.6%
18Can Convert String in K Moves
Medium
86
35.9%
19The Number of Beautiful Subsets
Medium
86
50.8%
20Stone Game VIII
Hard
86
52.8%
21Maximum Number of Consecutive Values You Can Make
Medium
86
62.1%
22Best Time to Buy and Sell Stock
Easy
86
55.3%
23Find the Minimum Possible Sum of a Beautiful Array
Medium
86
35.9%
24Valid Parentheses
Easy
86
42.3%
25Maximize the Minimum Game Score
Hard
86
25.1%
26Largest Number After Mutating Substring
Medium
86
36.9%
27Find the Number of Subsequences With Equal GCD
Hard
86
28.8%
28Merge Sorted Array
Easy
80
52.9%
29Next Permutation
Medium
80
43.1%
30Palindrome Number
Easy
77
59.2%
31Remove Duplicates from Sorted Array
Easy
77
60.4%
32Maximum Subarray
Medium
77
52.1%
33Reverse String
Easy
73
79.8%
34Longest Common Prefix
Easy
68
45.5%
35Rotate Image
Medium
68
77.9%
36Trapping Rain Water
Hard
68
65.1%
37Second Highest Salary
Medium
68
43.9%
38Valid Anagram
Easy
68
66.7%
39Product of Array Except Self
Medium
68
67.8%
40Fibonacci Number
Easy
62
72.9%
41Reverse Integer
Medium
62
30.3%
42Coin Change
Medium
62
46.5%
433Sum
Medium
62
37.1%
44Group Anagrams
Medium
62
70.9%
45Generate Parentheses
Medium
62
77.1%
46Rotate Array
Medium
62
43.0%
47Spiral Matrix
Medium
62
53.9%
48Merge Intervals
Medium
62
49.4%
49Longest Consecutive Sequence
Medium
55
47.0%
50Reverse Words in a String
Medium
55
51.9%
51Kth Largest Element in an Array
Medium
55
68.0%
52Sort an Array
Medium
55
56.6%
53Two Sum II - Input Array Is Sorted
Medium
55
63.4%
54Move Zeroes
Easy
55
62.8%
55Find the Index of the First Occurrence in a String
Easy
55
45.0%
56Rearrange Array Elements by Sign
Medium
55
84.4%
57Longest Palindromic Substring
Medium
55
35.8%
58Number of Islands
Medium
55
62.3%
59Palindrome Partitioning
Medium
55
72.1%
60Add Two Numbers
Medium
55
46.2%
61Single Element in a Sorted Array
Medium
55
59.2%
62Reverse Nodes in k-Group
Hard
55
63.0%
63Climbing Stairs
Easy
55
53.5%
64Sqrt(x)
Easy
55
40.4%
65Merge Two Sorted Lists
Easy
55
66.8%
66Missing Number
Easy
55
70.1%
67House Robber
Medium
55
52.3%
68Gas Station
Medium
55
46.4%
69Create a DataFrame from ListEasy
44
81.5%
70Maximum Product of Three Numbers
Easy
44
45.3%
714Sum
Medium
44
38.2%
72Minimum Window Substring
Hard
44
45.4%
73Integer to Roman
Medium
44
68.6%
74Koko Eating Bananas
Medium
44
49.1%
75Best Time to Buy and Sell Stock II
Medium
44
69.5%
76Subsets
Medium
44
80.9%
77Container With Most Water
Medium
44
57.8%
78Implement Queue using Stacks
Easy
44
68.1%
79Search in Rotated Sorted Array
Medium
44
42.8%
80Binary Search
Easy
44
59.6%
81Isomorphic Strings
Easy
44
46.9%
82To Lower Case
Easy
44
84.2%
83Kids With the Greatest Number of Candies
Easy
44
88.1%
84Subarray Sum Equals K
Medium
44
45.5%
85Combination Sum
Medium
44
74.7%
86Maximum Depth of Binary Tree
Easy
44
77.1%
87String to Integer (atoi)
Medium
44
19.2%
88Jump Game
Medium
44
39.5%
89Car Fleet
Medium
44
53.5%
90Median of Two Sorted Arrays
Hard
44
43.8%
91Edit Distance
Medium
44
58.8%
92Greatest Common Divisor of Strings
Easy
44
52.7%
93Replace Employee ID With The Unique Identifier
Easy
44
83.6%
94Find the Duplicate Number
Medium
44
62.8%
95Maximum Score Words Formed by Letters
Hard
44
81.6%
96Valid Palindrome
Easy
44
51.0%
97Combination Sum II
Medium
44
57.7%
98Pow(x, n)
Medium
44
37.0%
99Average Time of Process per Machine
Easy
44
68.6%
100Roman to Integer
Easy
44
64.9%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies