i
Infosys
Filter interviews by
The number of functions that can be invoked depends on the programming language and the system's resources.
The number of functions that can be invoked is typically limited by the available memory and processing power of the system.
In languages like C or C++, the number of functions that can be invoked is limited by the stack size.
In languages like Python or JavaScript, the number of functions that can be invoked is lim...
I was interviewed in Dec 2024.
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List is defined using square brackets [], tuple using parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
List comprehension is a concise way to create lists in programming languages like Python.
Used to create lists by iterating over an existing list or range
Can include conditions to filter elements
Syntax is [expression for item in list if condition]
Write a python code to print string in reverse order
Infosys interview questions for designations
Great questions of reasoning, maths and essay also
Get interview-ready with Top Infosys Interview Questions
Object-oriented programming paradigm that focuses on objects and classes for code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details ...
Interface in C# is a reference type that defines a contract for classes to implement certain methods and properties.
Interfaces cannot have implementation, only method and property signatures
Classes can implement multiple interfaces
Interfaces are used for achieving abstraction and multiple inheritance in C#
Object-oriented programming paradigm focusing on objects and classes for code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and ...
Authentication is the process of verifying the identity of a user or system.
Authentication ensures that the user is who they claim to be before granting access to resources.
Common authentication methods include passwords, biometrics, and two-factor authentication.
Examples of authentication systems include login screens, fingerprint scanners, and security tokens.
Stack is Last In First Out (LIFO) data structure, while Queue is First In First Out (FIFO) data structure.
Stack: elements are added and removed from the top of the stack. Example: browser history.
Queue: elements are added at the rear and removed from the front of the queue. Example: waiting line at a ticket counter.
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
Using component instead of repository or service annotation can lead to confusion and potential errors in the application.
Components are typically used for defining Spring beans, while repositories and services are used for specific purposes like data access and business logic
Using component annotation instead of repository can lead to ambiguity in the codebase
Repositories and services have specific functionalities and...
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
The height of a binary tree is the number of edges on the longest path from the root node to a leaf node.
The height of an empty tree is -1.
The height of a tree with only one node (the root) is 0.
The height of a binary tree can be calculated recursively by finding the height of the left and right subtrees and adding 1 to the maximum of the two heights.
Maximum Subarray problem involves finding the contiguous subarray with the largest sum.
Use Kadane's algorithm to find the maximum subarray sum in O(n) time complexity.
Initialize two variables - maxEndingHere and maxSoFar to keep track of current subarray sum and maximum subarray sum.
Iterate through the array and update the variables accordingly.
Example: Input array [1, -2, 3, -1, 2] should return 4 (subarray [3, -1, 2]
Morris InOrder Traversal is a method to traverse a binary tree without using recursion or a stack.
Start at the root node
While current is not null, if current has no left child, visit current and move to right child. If current has left child, find the rightmost node in the left subtree and set it as the right child of current
Repeat until all nodes are visited
What people are saying about Infosys
Some of the top questions asked at the Infosys Software Engineer interview -
The duration of Infosys Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 125 interviews
6 Interview rounds
based on 430 reviews
Rating in categories
Technology Analyst
55.8k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
50.6k
salaries
| ₹2.8 L/yr - ₹9 L/yr |
System Engineer
39.5k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.8k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.8k
salaries
| ₹4.5 L/yr - ₹17 L/yr |
TCS
Wipro
Cognizant
Accenture