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

Software Engineer

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

Interview preparation journey

expand-icon
Journey
This was an on-campus drive, conducted in various rounds that took roughly 20 days to 1 month, and was for computer science and related branches.
Application story
It was on campus, and the entire process took almost one month, from online tests to interviews, one technical, and 1 HR round.
Why selected/rejected for the role?
I was selected because i was able to give answers to each question in the interview.
Preparation
Duration: 2 months
Topics: Object Oriented Programming, Data Structure & Algorithms, Networking, Databases
Tip
Tip

Tip 1: Speak clearly and try to explain whatever you are thinking when solving any coding problem. 

Tip 2: Ask for help if you get stuck and clarify your doubts.

Application process
Where: Campus
Eligibility: Minimum 70% in Graduatoin
Resume Tip
Resume tip

Tip 1: It should be short and crisp.
Tip 2: Avoid putting false info on your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date25 Aug 2021
Coding problem2

1. Find All Anagrams in a String

Easy
15m average time
85% success
0/40
Asked in companies
American ExpressThought WorksWalmart

You have been given a string STR and a non-empty string PTR. Your task is to find all the starting indices of PTR’s anagram in STR.

An anagram of a string is another string which contains the same characters and is obtained by rearranging the characters.

For example: ‘SILENT’ and ‘LISTEN’ are anagrams of each other. ‘ABA’ and ‘ABB’ are not anagram because we can’t convert ‘ABA’ to ‘ABB’ by rearranging the characters of particular strings.

Note:

1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
Try solving now

2. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
HCL TechnologiesCiti BankAtlassian

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Try solving now
02
Round
Medium
Telephonic
Duration30 minutes
Interview date8 Sep 2021
Coding problem1

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?
Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date13 Sep 2021
Coding problem1

1. Invert a Binary Tree

Moderate
45m average time
55% success
0/80
Asked in companies
AppleSamsungFreshworks

You are provided with a Binary Tree and one of its leaf nodes. You have to invert this binary tree. Inversion must be done by following all the below guidelines:

• The given leaf node becomes the root after the inversion.

• For a node (say, ‘x’) 
    ○ If there exists the left child that is not yet taken then this child must become the right child of ‘x’.
    ○ If the left child is already taken then the right child is still on the right side of ‘x’.

• The parent of ‘x’ must be the left child of ‘x’.

For Example:

Example-img01
Example-img02

Consider the above binary tree (image- before inversion), if the given leaf node is ‘1’ then the binary tree after inversion becomes exactly the same as given in the image representing after inversion.

Note:

The given binary tree will only have distinct values of nodes.

Try solving now
04
Round
Easy
HR Round
Duration10 minutes
Interview date15 Sep 2021
Coding problem1

1. Basic HR Questions

Introduce yourself

What are your career goals?

What is your learning style?

What are your hobbies and interests?

What are your thoughts on the company's culture?

Problem approach

Tip 1 : Be yourself.
Tip 2 : Speak loudly and clearly.

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
Software Engineer
2 rounds | 7 problems
Interviewed by LTI - Larsen & Toubro Infotech
1017 views
0 comments
0 upvotes
Software Engineer
5 rounds | 5 problems
Interviewed by LTI - Larsen & Toubro Infotech
738 views
0 comments
0 upvotes
Software Engineer
2 rounds | 5 problems
Interviewed by LTI - Larsen & Toubro Infotech
1045 views
0 comments
0 upvotes
Software Engineer
3 rounds | 9 problems
Interviewed by LTI - Larsen & Toubro Infotech
651 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3266 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2643 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes