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

SDE - 1

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

Interview preparation journey

expand-icon
Journey
I started with python specialization course. After that, switched to C++ and started learning DSA from geeksforgeeks and from other online resources. Along with that I learned some CS fundamentals as OOPS, DBMS, OS and computer networks .
Application story
I applied in on-campus placement process. There were total 3 rounds. First was technical test, then technical interview and last is HR interview.
Why selected/rejected for the role?
I rejected from this role because I was directly writing efficient code and not discussing bruite force approach first. And in HR round I was not answering fluently.
Preparation
Duration: 6 months
Topics: Data Structures, OOPS, Operating system, Computer networks, DBMS
Tip
Tip

Tip 1 : Focus on DSA practice
Tip 2 : Make development projects
Tip 3 : Practice regularly

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

Tip 1 : Mention only those topics which you know very well
Tip 2 : Mention projects

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date10 Aug 2021
Coding problem1

Test was for 90 minutes. Environment was good because it was online test.

1. Hurdle Game

Easy
10m average time
90% success
0/40
Asked in companies
Media.netGoldman SachsGartner

Once Kevin is playing a hurdle game in which he has to jump some hurdles to clear a particular level. Each level ‘i’ has ‘i’ hurdles (for example, level 6 has 6 hurdles).

You are provided with the total number of hurdles that Kevin has jumped, you have to tell how many levels he has cleared.

Note :

Kevin has played this game once. He can only reach the level ‘i’ if and only if he has already cleared the level (‘i’ - 1).
Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date9 Sep 2021
Coding problem3

It was 1pm, and interviewer was good and make me feel comfortable in the interview.

1. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Problem approach

Initialize three pointers prev as NULL, curr as head, and next as NULL.
Iterate through the linked list. In a loop, do the following:
Before changing the next of curr, store the next node 
next = curr -> next
Now update the next pointer of curr to the prev 
curr -> next = prev 
Update prev as curr and curr as next 
prev = curr 
curr = next

Try solving now

2. Sort Array of 0s and 1s.

Easy
10m average time
90% success
0/40
Asked in companies
WalmartCapegemini Consulting India Private LimitedCoditas

You are given an array ‘A’ of size ‘N’ containing only 0s and 1s. You have to sort the array by traversing the array only once.

For Example:
For the following array:
[0 1 1 1 0 0 1]

The output should be [0 0 0 1 1 1 1].
Note:
You have to sort the array in place.
Problem approach

Maintain two indexes and Initialize the first index as 0 and second index n-1.
Now follow the following algorithm until left < right 
a) Keep incrementing left index while there are 0s at it 
b) Keep decrementing index right while there are 1s at it 
c) Whenever left < right, exchange arr[left] and arr[right]

Try solving now

3. OOPS Questions

What are OOPS pillars?
What is the difference in encapsulation and abstraction?
How do you apply abstraction with an example and code?
Some more problems from abstraction in deep.

Problem approach

Tip 1 : Read OOPS concepts very thoroughly
Tip 2 : Focus on abstraction pillar more.

03
Round
Medium
HR Round
Duration20 minutes
Interview date10 Sep 2021
Coding problem1

1. Basic HR Questions

In this round, he asked me very basic HR interview questions as why do you want to join this company? where do you see yourself in 5 years? what are your expectations from company?

Problem approach

Tip 1 : Read about company in detail
Tip 2 : Know about your role very well
Tip 3 : Ask some questions from your side as well.

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 | 4 problems
Interviewed by LTI - Larsen & Toubro Infotech
2708 views
3 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by LTI - Larsen & Toubro Infotech
796 views
0 comments
0 upvotes
SDE - 1
4 rounds | 5 problems
Interviewed by LTI - Larsen & Toubro Infotech
0 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by LTI - Larsen & Toubro Infotech
0 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6365 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2197 views
0 comments
0 upvotes