HCL Technologies interview experience Real time questions & tips from candidates to crack your interview

Cloud Engineer

HCL Technologies
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 Months
Topics: Algorithms, JAVA, Cloud, Git & GitHub, C
Tip
Tip

Tip 1 : Work on practical skills like Coding
Tip 2 : practice coding questions from leetcode
Tip 3 : Brainstorm some maths questions

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

Tip 1 : Describe your projects.
Tip 2 : Describe your skills

Interview rounds

01
Round
Hard
Online Coding Test
Duration60 Minutes
Interview date7 Nov 2019
Coding problem4

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Number of operations to make Graph connected.

Easy
15m average time
86% success
0/40
Asked in companies
MicrosoftFacebookUber

You have been given a graph consisting of ‘N’ vertices numbered from 1 to ‘N’. The graph has ‘M’ edges. In an operation, you can shift an edge between two directly connected vertices to between pair of disconnected vertices to make them directly connected. Return the minimum number of operations to make the graph connected. If it is not possible to make graph connected return -1.

Example:
Let’s say ‘N’ is 4 and ‘M' is 3. The 3 edges are (1,2), (2,3) and (1,3). Then our graph will look as follows:-

subsequence

To make the graph connected we can shift the edge between (1,3) to (1,4). This operation will make the graph connected. There are multiple ways in which we can make graph connected. So, in this case, we can make graph connected in just one operation.
Note:
1. A connected graph is a graph that is connected in the sense of a topological space, i.e., there is a path from any vertex to any other vertex in the graph.

2. There are no repeated edges and self-loops in the graph.

3. You do not need to print anything; it has already been taken care of. Just implement the function.
Try solving now

2. Path visiting all nodes

Hard
45m average time
55% success
0/120
Asked in companies
HCL TechnologiesUrban Company (UrbanClap)Apple

You are given a connected undirected unweighted graph of ‘N’ nodes and ‘M’ edges, such that there is only one undirected edge between any two nodes and no self-loop. Your task is to find the length of the shortest path that visits all ‘N’ nodes at least once.

Note :

1) Here length of the path refers to the number of edges in that path.
2) You can start and stop at any node.
3) You can visit any node 0 or more times.
4) You can use any given edge 0 or more times.
Try solving now

3. Puzzle

A man drove his Innova car all the way from Shimla to Delhi only to discover at the end of the trip that he had a punctured tyre from the very start. Yet his Innova car was not at all affected by it? How is this possible?

Problem approach

Punctured tyre must be a spare tyre.

4. Technical Question

…………… refers to the collection of information pertinent to systems Project.
A) Data transfer
B) Data gathering
C) Data Embedding
D) Data Request

Problem approach

Tip 1 : Should know the concepts of algorithm
Tip 2 : Should practice data structures

02
Round
Easy
Telephonic
Duration30 Minutes
Interview date12 Nov 2019
Coding problem2

- Late evening
- Environment was good.
- No activity
- Interview was good

1. Puzzle

You are stuck in a room with two doors- One right and one wrong. Both these doors are safeguarded by two guards, one in front of each door. The right door will lead you to your freedom and the wrong door will lead you to prison forever. However, you can ask both guards one question each. One guard always tells the truth, and the other guard always tells lies, but you don’t know which is which. What question should you ask to find the right door?

Problem approach

step 1 - I would ask both the guards, “If I asked the other guard which is the right door, what would his answer be?”
Since both guards will point at the wrong door, I would skip that one and take the other one out.
Tips : Practice puzzles questions.

2. Puzzle

A race track has five lanes. You are to find the 3 fastest horses out of a total of 25. How many races would have to be conducted to find the three fastest horses?

Problem approach

Answer - 
Conduct 5 horse races with 5 horses in each group. Then, conduct another race with the winners of the said 5 races. The winner is the first fastest horse.
Then conduct another race with the rest of the 4 horses, and record the 1st and 2nd horses in it. They are the second and third fastest horses.
This way, you would have found the three fastest horses out of 25.

03
Round
Easy
HR Round
Duration20 minutes
Interview date22 Nov 2019
Coding problem1

- Morning time
- Environment was good.
- No
- Interviewer was so good

1. Basic HR Questions

- Tell me about yourself? 

- Where you wants to see in HCL? 

- What excites you in HCL and what you know about HCL? 

- Salary Discussion

Problem approach

Tip 1 : Communication should be good
Tip 2 : Give valid approaches
Tip 3 : Answer should be clear

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
company logo
Software Developer
3 rounds | 5 problems
Interviewed by HCL Technologies
4294 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
2059 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by HCL Technologies
2260 views
0 comments
0 upvotes
company logo
Java Developer
2 rounds | 2 problems
Interviewed by HCL Technologies
7972 views
0 comments
0 upvotes