LTI - Larsen & Toubro Infotech interview experience Real time questions & tips from candidates to crack your interview

Graduate Engineer Trainee

LTI - Larsen & Toubro Infotech
upvote
share-icon
5 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Programming , Communication Skills, Database Skills, DSA, OOPS
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Coding Test - Pen and paper
Duration60 minutes
Interview date5 Mar 2015
Coding problem0

Section 1 was quant. It was very simple. Practice basic questions
Logical reasoning and English sections were slightly tough than quantitative. Overall aptitude was simple and easy to pass
Tips: Try to attempt all questions because there is no negative marking.

02
Round
Medium
Group Discussion
Duration20 minutes
Interview date5 Mar 2015
Coding problem0

Spoke about the Haryana district with the live examples of two sisters Geeta Kumari and Babita Kumari, who won gold medals in wrestling. Also mentioned about Saina Nehwal. Basically I agreed that India is not a mail dominant country.
Tips: Give examples as much as you can, examples portray how well you understand the topic. The examples should be about recent happenings. It also shows how much are you aware about the current scenario. Stick to one side, if you are speak the first point for the topic, that is "India is a male dominant country" then don't go against this during the second point
No of times you speak, also matters.

03
Round
Easy
Coding Test - Pen and paper
Duration30 minutes
Interview date5 Mar 2015
Coding problem0

This was a paragraph writing round.
Topic - Effect of public holidays on Indian economy
Tips: Write at most one page.3/4th page is also fine.

04
Round
Easy
Face to Face
Duration60 minutes
Interview date5 Mar 2015
Coding problem6

I didn't answer 2 questions, it is fine if you don't answer the question rather than making the interviewer fool
Tips: Prepare core subjects very well

1. Find prime numbers

Easy
15m average time
80% success
0/40
Asked in companies
HSBCOptumIBM

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example - 2, 3, 17, etc.

You can assume that the value of N will always be greater than 1. So, the answer will always exist.

Problem approach

The naïve approach for this question is to run a loop from the start to the end number. And for each number, check if it is prime or not. If the number is prime, we print it otherwise skip it.
One optimization to this approach would be to skip all even numbers (except 2 if present in interval) since even numbers are not prime.
Function to check if a number is prime or not :
isPrime(n):
if (n <= 1) return false
for (i=2; i if (n%i == 0)
return false
}
return true

Try solving now

2. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
SAP LabsWalmartFacebook

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

This can be done by iterative swapping using two pointers. The first pointer points to the beginning of the string, whereas the second pointer points to the end. Both pointers keep swapping their elements and go towards each other. Essentially, the algorithm simulates the rotation of a string with respect to its midpoint.
Time Complexity : O(n)

Try solving now

3. OOPS Question

What is Polymorphism in C++?

Problem approach

The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. This is called polymorphism. Polymorphism is considered as one of the important features of Object Oriented Programming.
Polymorphism is of two types :
1. Compile Time Polymorphism : 
Invokes the overloaded functions by matching the number and type of arguments. The information is present during compile-time. This means the C++ compiler will select the right function at compile time. It is achieved through function overloading and operator overloading.
2. Run Time Polymorphism : 
This happens when an object’s method is called during runtime rather than during compile time. Runtime polymorphism is achieved through function overriding. The function to be called is established during runtime.

4. SQL Question

SQL Query to Find all the Students with Marks Greater than Average Marks

Problem approach

The below syntax can be used for querying for all students with greater marks than the average of the class:

Syntax:
SELECT column1 FROM table_name
WHERE column2 > (SELECT AVG(column2) 
FROM table_name);

Now use the above syntax to make the query on our students table as shown below:
SELECT Name FROM Students WHERE TotalMarks > (SELECT AVG(TotalMarks) FROM Studen

5. OOPS Question

Does C support function overloading?

Problem approach

This feature is present in most of the Object Oriented Languages such as C++ and Java. But C doesn’t support this feature not because of OOP, but rather because the compiler doesn’t support it (except you can use _Generic).

6. OOPS Question

Is it allowed in C++ to have two functions with same name?

Problem approach

Yes, it's called function overloading. Multiple functions are able to have the same name if you like, however MUST have different parameters.
void func(int a, int b) { }
void func(float a, int b) { }
void func(int a, int b, int c) { }

05
Round
Easy
HR Round
Duration30 minutes
Interview date5 Mar 2015
Coding problem1

t was my third company in campus. So the first question was surely expected, and I was prepared for that. If you clear the technical round then the ball is in your court. You can ace the HR round.
Tips: Just be yourself. Be prepared with basic HR questions.

1. Basic HR Questions

Q1. Previous companies attended by you
Q2. Why didn't you clear the aptitude?
Q3. What you learnt from this failure?
Q4. Are you ready to relocate? (she asked me this question 3 times)
Q5. Any question about the organization?

Problem approach

Tip 1 : The cross questioning can go intense some time, think before you speak.

Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.

Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the work environment etc.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
2 rounds | 5 problems
Interviewed by LTI - Larsen & Toubro Infotech
797 views
0 comments
0 upvotes
Graduate Engineer Trainee
3 rounds | 1 problems
Interviewed by LTI - Larsen & Toubro Infotech
0 views
0 comments
0 upvotes
Software Engineer
3 rounds | 9 problems
Interviewed by LTI - Larsen & Toubro Infotech
651 views
0 comments
0 upvotes
Graduate Engineer Trainee
3 rounds | 3 problems
Interviewed by LTI - Larsen & Toubro Infotech
712 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Graduate Engineer Trainee
2 rounds | 5 problems
Interviewed by HCL Technologies
13619 views
3 comments
0 upvotes
company logo
Graduate Engineer Trainee
3 rounds | 4 problems
Interviewed by HCL Technologies
2852 views
0 comments
0 upvotes
company logo
Graduate Engineer Trainee
2 rounds | 2 problems
Interviewed by HCL Technologies
3518 views
0 comments
0 upvotes