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

Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, OOPS, Computer Architecture, HTML, JavaScript, Python
Tip
Tip

Tip 1 : Practice more coding questions.
Tip 2 : Focus on logic.
Tip 3 : A strong single project.

Application process
Where: Referral
Eligibility: 7.5 CGPA
Resume Tip
Resume tip

Tip 1 : Should be crisp and error free.
Tip 2 : Single page resume is preferred.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date10 Oct 2020
Coding problem2

It was conducted in a computer lab at the morning. The Environment was really good as there were no distractions. The responsible person of this round was helpful when we faced any issues like computer break down, etc.

1. Merge Two Sorted Arrays

Moderate
15m average time
85% success
0/80
Asked in companies
HSBCHikeAmazon

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Problem approach

Step 1 : Create two arrays first.
Step 2 : Sort them using inbuilt functions.
Step 3 : Then, I gave a logical condition to merge it.

Try solving now

2. Hit Counter

Moderate
15m average time
85% success
0/80
Asked in companies
HCL TechnologiesAppleTCS

You have to design a hit counter which supports the functionality of accepting a hit and returning the number of hits done in the last 5 minutes. Each call is made with a timestamp which is given in seconds.

It is possible to receive several hit arriving at the same time. All the calls are done in chronological order. The timestamp for a call is equal to or greater than the Timestamp for the call just before it. Timestamp at the start can be considered as 0.

For example:

The counter is hit at 'T'  = 1
The counter is hit at 'T' = 50
The getHit function at 'T' = 100 returns 2
The counter is hit at 'T' = 250
The getHit function at 'T' = 100 returns 2
Problem approach

Step 1 : First, import the required time utility in Java.
Step 2 : Parse the time.
Step 3 : Write a logical condition to find the difference of it.

Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date10 Oct 2020
Coding problem2

It was a face to face technical round. The questions were related to the project mentioned in my CV. And, questions related to operating systems and DBMS.

1. Reverse First K elements of Queue

Easy
10m average time
90% success
0/40
Asked in companies
MicrosoftOptumAmazon

You are given a QUEUE containing ‘N’ integers and an integer ‘K’. You need to reverse the order of the first ‘K’ elements of the queue, leaving the other elements in the same relative order.

You can only use the standard operations of the QUEUE STL:

1. enqueue(x) : Adds an item x to rear of the queue
2. dequeue() : Removes an item from front of the queue
3. size() : Returns number of elements in the queue.
4. front() : Finds the front element.
For Example:
Let the given queue be { 1, 2, 3, 4, 5 } and K be 3.
You need to reverse the first K integers of Queue which are 1, 2, and 3.
Thus, the final response will be { 3, 2, 1, 4, 5 }.
Try solving now

2. DBMS Questions

  • Mention the issues with traditional file-based systems that make DBMS a better choice?
  • What is meant by ACID properties in DBMS?
  • Explain different levels of data abstraction in a DBMS.
Problem approach

Tip 1 : Go through the basic concepts of DBMS

Tip 2 : Also focus on the core engineering subjects

03
Round
Easy
HR Round
Duration20 minutes
Interview date10 Oct 2020
Coding problem1

It was an online round. Fully focused on the communication skill and the attitude, More likely it was a personality Test. Few Questions asked were Introduce yourself and some scenarios were given to find out solutions.

1. Basic HR Questions

  • Why did you decide to apply to this role?
  • What did you like most about the job description?
  • What do you know about our company’s services?
  • What are your salary expectations?
Problem approach

Tip 1 : Stay Honest

Tip 2 : Reply to the questions asked in a positive way with confidence

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 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
2059 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 10 problems
Interviewed by HCL Technologies
1357 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 6 problems
Interviewed by HCL Technologies
1391 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3267 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2644 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes