i
L&T Finance
Filter interviews by
1. Prime Factors Operations
You are given an integer n. In one operation, you can do the following
• Pick a number P such that P is prime and n is divisble by P. Assign P
Find the maximum number of operations you can perform.
Function description
Complete the primeGame function in the editor below. It has the following param
Name
Type
Description
INTEGER
The given integer n.
n
Return
The function must return an INTEGER denoting the maximum operations you can perform.
Constraints
• 1 ≤ n ≤ 10^9
Input format for debugging
• The first line contains an integer, n, denoting the initial value of n. desc
OOP in Java is a programming paradigm that uses objects to design applications. Encapsulation is the bundling of data and methods, while polymorphism allows objects to be treated as instances of their parent class.
OOP in Java focuses on creating objects that interact with each other to design applications
Encapsulation in Java involves bundling data (variables) and methods (functions) within a class to restrict access f...
Wrapper classes in Java are classes that allow primitive data types to be used as objects.
Wrapper classes provide a way to convert primitive data types into objects.
They are used when an object is required, such as in collections like ArrayList.
Examples include Integer for int, Double for double, Boolean for boolean, etc.
To rotate an array to the left, shift all elements to the left by one position and move the first element to the end.
Create a temporary variable to store the first element of the array.
Shift all elements to the left by one position.
Assign the temporary variable value to the last element of the array.
I have completed projects in renewable energy and automation systems. I have also interned at a manufacturing company and a research institute.
Completed a project on designing a solar-powered irrigation system for a rural community
Completed a project on developing an automated warehouse management system using RFID technology
Interned at a manufacturing company where I worked on optimizing production processes
Interned a...
ArrayList is a dynamic array in Java that can grow or shrink in size, while an array has a fixed size.
ArrayList can dynamically resize itself, while array has a fixed size.
ArrayList is a class in Java, while array is a basic data structure.
ArrayList provides methods to add, remove, and access elements easily, while array requires manual manipulation.
Example: ArrayList<String> list = new ArrayList<>(); Strin...
Upload resume
Some of the top questions asked at the L&T Finance Graduate Engineer Trainee (Get) interview -
based on 1 review
Rating in categories
Manager
393
salaries
| ₹4.7 L/yr - ₹17.1 L/yr |
Senior Manager
351
salaries
| ₹7 L/yr - ₹26 L/yr |
Area Sales Manager
347
salaries
| ₹3.5 L/yr - ₹14 L/yr |
Collection Officer
343
salaries
| ₹1.2 L/yr - ₹3.8 L/yr |
Assistant Manager
334
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Bajaj Finance
HDFC Bank
ICICI Bank
Kotak Mahindra Bank