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

SDE - Intern

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

Interview preparation journey

expand-icon
Journey
I started my coding journey in the second year of my graduation. I asked and consulted seniors on how to begin my coding journey. I began with data structures and algorithms (DSA) first. Initially, I was not consistent, but in my seventh semester, I started practicing DSA regularly.
Application story
This company visited our campus for placement. First, it shortlisted candidates based on their resumes and CGPA. After that, an online assessment was conducted.
Why selected/rejected for the role?
I provided correct and optimized solutions for almost all the questions asked in the coding rounds. I also developed the optimal solution starting from the brute force algorithm, which contributed to my score. Communication is key to selection.
Preparation
Duration: 6 Months
Topics: Data Structures , Algorithms, C++, Java, Dynamic Programming
Tip
Tip

Tip 1: Make sure you have a solid understanding of computer science fundamentals.

Tip 2: Understand the complexity of the code you write and be familiar with the internal implementation of the data structures you use while coding.

Tip 3: Be knowledgeable about everything you include in your resume.

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

Tip 1 : Mention good projects.
Tip 2 : Write only those skills in which you are confident.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date20 Feb 2021
Coding problem1

1. Colorful Knapsack

Hard
45m average time
0/120
Asked in companies
AdobeDell TechnologiesIBM

You are given 'N' stones labeled from 1 to 'N'. The 'i-th' stone has the weight W[i]. There are 'M' colors labeled by integers from 1 to 'M'. The 'i-th' stone has the color C[i] which is an integer between 1 to 'M', both inclusive.

You have been required to fill a Knapsack with these stones. The Knapsack can hold a total weight of 'X'.

You are required to select exactly 'M' stones; one of each color. The sum of the weights of the stones must not exceed 'X'. Since you paid a premium for a Knapsack with capacity 'X', you are required to fill the Knapsack as much as possible.

Write a program to calculate the best way to fill the Knapsack - that is, the unused capacity should be minimized.

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date27 Feb 2021
Coding problem2

1. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
IBMVisaOYO

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now

2. DFS Traversal

Moderate
35m average time
65% success
0/80
Asked in companies
SamsungIntuitGoldman Sachs

Given an undirected and disconnected graph G(V, E), containing 'V' vertices and 'E' edges, the information about edges is given using 'GRAPH' matrix, where i-th edge is between GRAPH[i][0] and GRAPH[i][1]. print its DFS traversal.

V is the number of vertices present in graph G and vertices are numbered from 0 to V-1. 

E is the number of edges present in graph G.
Note :
The Graph may not be connected i.e there may exist multiple components in a graph.
Try solving now

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
Graduate Engineer Trainee
5 rounds | 7 problems
Interviewed by LTI - Larsen & Toubro Infotech
895 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
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3738 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2683 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2348 views
0 comments
0 upvotes