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

Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
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: Other
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
Medium
Online Coding Interview
Duration90 minutes
Interview date2 Feb 2022
Coding problem2

2 coding questions of one of easy level one of medium level and 30 MCQ's

1. Maximum Subarray Sum

Moderate
25m average time
75% success
0/80
Asked in companies
Paytm (One97 Communications Limited)AmazonSnapdeal

Given an array of numbers, find the maximum sum of any contiguous subarray of the array.


For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86.


Given the array [-5, -1, -8, -9], the maximum sum would be -1.


Follow up: Do this in O(N) time.

Try solving now

2. Boundary Traversal of a Binary Tree

Hard
20m average time
85% success
0/120
Asked in companies
MakeMyTripMicrosoftSalesforce

You are given a binary tree having 'n' nodes.


The boundary nodes of a binary tree include the nodes from the left and right boundaries and the leaf nodes, each node considered once.


Figure out the boundary nodes of this binary tree in an Anti-Clockwise direction starting from the root node.


Example :
Input: Consider the binary tree A as shown in the figure:

alt text

Output: [10, 5, 3, 7, 18, 25, 20]

Explanation: As shown in the figure

The nodes on the left boundary are [10, 5, 3]

The nodes on the right boundary are [10, 20, 25]

The leaf nodes are [3, 7, 18, 25].

Please note that nodes 3 and 25 appear in two places but are considered once.
Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date7 May 2022
Coding problem2

2 coding problems of Easy to Moderate level of difficulty were asked in this round

1. Factorial of a Number

Moderate
25m average time
70% success
0/80
Asked in companies
HCL TechnologiesHCL TechnologiesCognizant

You are given an integer ‘N’. You have to print the value of Factorial of ‘N’. The Factorial of a number ‘N’ is defined as the product of all numbers from 1 to ‘N’.

For Example:
Consider if ‘N’ = 4, the Factorial of 4 will be the product of all numbers from 1 to 4, which is 1 * 2 * 3 * 4 = 24. Hence, the answer is 24.
Try solving now

2. Reverse a Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
SalesforceMyntraInfo 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
Easy
HR Round
Duration30 minutes
Interview date7 May 2022
Coding problem2

This is a cultural fitment testing round. HR was very frank and asked standard questions.

1. Basic HR Question

Why should we hire you?

Problem approach

Tip 1 : The cross-questioning can go intense sometimes, 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 an opinion.

2. Basic HR Question

Tell me something not there in your resume.

Problem approach

If you get this question, it's an opportunity to choose the most compelling information to share that is not obvious from your resume.


Example :


Strength -> I believe that my greatest strength is the ability to solve problems quickly and efficiently, which makes me unique from others.
 

Ability to handle Pressure -> I enjoy working under pressure because I believe it helps me grow and become more efficient.

Here's your problem of the day

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

Skill covered: Programming

What is 3 + 2 * 4 based on operator precedence?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
2 rounds | 3 problems
Interviewed by HCL Technologies
0 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
1330 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 10 problems
Interviewed by HCL Technologies
859 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 6 problems
Interviewed by HCL Technologies
710 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
2695 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2040 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes