Infosys

Infosys

Global leader in next-generation digital services and consulting.

3 Rounds ~14 Days Medium
Start Mock Interview

The Interview Loop

Recruiter Screen (30 min)

Standard fit check, behavioral questions, and resume overview.

Technical Loop (3-4 Rounds)

Deep dive into domain knowledge, coding, and system design.

Interview Question Bank

Cloud Engineer Coding easy

Write a function to find the first non-repeating character in a string. Return its index. If it does not exist, return -1.

#Strings #Hash Maps
Cloud Engineer Coding easy

Given an array of integers, write a function to move all zeros to the end of the array while maintaining the relative order of the non-zero elements. Do this in-place.

#Arrays #Two Pointers
Data Engineer Coding medium

Given an array of strings, write a Python function to group anagrams together.

#Python #Hash Maps #Strings #Sorting
Data Engineer Coding easy

Write a Python program to find the missing number in an array containing integers from 1 to N.

#Python #Math #Arrays
Data Engineer Coding medium

Write a Python function to flatten a deeply nested JSON object/dictionary into a single-level dictionary.

#Python #Recursion #Data Structures #JSON
Data Engineer Coding medium

Write a Python script to read a large CSV file (10GB) that doesn't fit into memory, filter rows based on a condition, and write to a new file.

#Python #Generators #File I/O #Memory Management
Machine Learning Engineer Coding medium

Find the length of the longest substring without repeating characters in a given string.

#Strings #Sliding Window
Machine Learning Engineer Coding medium

Given a list of intervals representing client server downtimes, merge all overlapping intervals.

#Arrays #Sorting
Machine Learning Engineer Coding easy

Given an array of integers and an integer target, return indices of the two numbers such that they add up to target. Can you do it in O(n) time?

#Arrays #Hash Map
Software Engineer Coding medium

Find the length of the longest substring without repeating characters.

#Strings #Sliding Window #Hash Table
Software Engineer Coding easy

Given an array of integers and a target sum, return the indices of the two numbers that add up to the target.

#Arrays #Hash Table
Software Engineer Coding easy

Write a program to reverse a string in-place without using any built-in library functions.

#Strings #Two Pointers
Software Engineer Coding easy

Find the second largest element in an unsorted integer array in O(n) time complexity.

#Arrays #Optimization
Software Engineer Coding easy

Write a function to check if a given string is a valid palindrome, ignoring non-alphanumeric characters and case.

#Strings #Two Pointers
Software Engineer Coding easy

Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.

#Arrays #Math #Bit Manipulation
Software Engineer Coding medium

Write a program to detect if there is a cycle in a singly linked list.

#Linked Lists #Two Pointers
Software Engineer Coding medium

Merge two sorted arrays into a single sorted array without using extra space.

#Arrays #Sorting
Software Engineer Coding easy

Find the first non-repeating character in a string and return its index. If it doesn't exist, return -1.

#Strings #Hash Table
Software Engineer Coding medium

Implement a Stack using two Queues.

#Stack #Queue #Data Structures

Difficulty Radar

Based on recent AI-sourced data.

Meet Your Interviewers

The "Standard" Interviewer

Senior Engineer

Focuses on core competencies, system constraints, and clear communication.

Simulate

Unwritten Rules

Think Out Loud

Always explain your thought process before writing code or drawing architecture.

Practice Now