i
LTIMindtree
Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.
List comprehension is a concise way to create lists in Python. Loops are used to iterate over a sequence of elements. Decorators modify the behavior of a function.
List comprehension is a shorthand way to create lists in Python
It uses a single line of code to create a list based on an existing list or iterable
Loops are used to iterate over a sequence of elements
For loops are commonly used in Python to iterate over lists...
I applied via Recruitment Consulltant and was interviewed before Jul 2021. There were 2 interview rounds.
posted on 13 Jan 2025
Abstract class is a class that can have both abstract and non-abstract methods, while interface is a contract that defines methods that a class must implement.
Abstract class can have constructors, fields, and methods, while interface can only have abstract methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used when some common functionality needs to be s...
Find the 2nd largest number in an array of strings.
Convert the strings to numbers before comparing.
Sort the array in descending order and return the second element.
Handle edge cases like empty array or array with only one element.
List is a collection of elements with duplicates allowed, while set is a collection of unique elements. Linked list is a data structure where each element points to the next element.
List allows duplicates, set does not
Linked list has elements connected by pointers
List can be implemented using arrays or linked lists
Set is implemented using hash tables or trees
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
Questions on basic programs on string handling
2 coding ques in 1 hr
The 'this' keyword in Java refers to the current instance of the class.
Used to refer to instance variables or methods of the current object
Can be used to differentiate between instance variables and local variables with the same name
Can be passed as an argument to other methods
final is a keyword used in Java to declare constants, while finally is a block of code used in exception handling to ensure a piece of code is always executed.
final is used to declare constants in Java, its value cannot be changed once assigned
finally is a block of code used in exception handling to ensure a piece of code is always executed, regardless of whether an exception is thrown or not
Example: final int MAX_VALU...
Basic principles of OOP include encapsulation, inheritance, and polymorphism.
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.
Example: A 'Car' class may have properties like 'color' and 'model', and methods like 'st
Coding a function to check if a number is a palindrome
Create a function that takes in a number as input
Convert the number to a string to easily check for palindrome
Reverse the string and compare it with the original string to check for palindrome
Return true if the number is a palindrome, false otherwise
To find the xpath of a site, inspect the element in the browser and use developer tools.
Inspect the element on the website using browser developer tools
Right click on the element and select 'Inspect' to view the HTML code
Locate the element in the HTML code and right click to copy the xpath
Use the copied xpath in your automation scripts for testing
based on 2 reviews
Rating in categories
Senior Software Engineer
21.3k
salaries
| ₹5.1 L/yr - ₹18.7 L/yr |
Software Engineer
16.2k
salaries
| ₹2 L/yr - ₹10 L/yr |
Module Lead
6.7k
salaries
| ₹7 L/yr - ₹25.5 L/yr |
Technical Lead
6.4k
salaries
| ₹9.4 L/yr - ₹36 L/yr |
Senior Engineer
4.4k
salaries
| ₹4.2 L/yr - ₹16.3 L/yr |
Cognizant
Capgemini
Accenture
TCS