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

Associate Developer Intern

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

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Reasoning, Basic CS, English, Maths, Algebra
Tip
Tip

Tip 1 : Go through every topic as per the general competition 
Tip 2 : Take 2-3 practice test
Tip 3 : Revision is very important

Application process
Where: Other
Eligibility: 70% in Graduation
Resume Tip
Resume tip

Tip 1 : Add only relative things
Tip 2 : Technical certification will be good

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date15 Jun 2020
Coding problem2

The environment was good there were many scholars giving the same exam. It was organized around 11 am

1. Train Station

Moderate
20m average time
75% success
0/80
Asked in company
HCL Technologies

A train follows a route in which it visits ‘N’ stations, and the train keeps moving back and forth on the track. The train moves from station 1 to station ‘N’, from ‘N’ to 1, and again from 1 to ‘N’. It moves on forever like this.

Train stops exactly ‘V[i]’ minutes on the ‘ith’ platform. ‘V’ is an array of ‘N’ length. The train moves very fast, so it takes no time to travel from one station to another.

You are given ‘Q’ queries in the array ‘query’. For the ‘ith’ query, you need to find the station on which the train is standing on ‘query[i]ith’ minute. The train starts its journey in the 0th minute.

Your task is to find the station where the train is present after each query.

Example :
‘N’ = 4, ‘V’ = [4,3,1,2], ‘Q’ = 3, ‘query’ = [5, 12, 3].
Train visits the station in the following manner:
For the period [0, 3], the train will be at station 1. (0th, 1st, 2nd, and 3rd) for 4 minutes on station 1.
For the period [4, 6], the train will be at station 2. 
For the period [7, 7], the train will be at station 3.
For the period [8, 9], the train will be at station 4. 
For the period [10, 11], the train will be at station 4.
For the period [12, 12], the train will be at station 3.

First Query: In the 5th minute, the train will be at station number 2. Hence, 2 will be the answer.
Second query: In the 12th minute, the train will be at station number 3. Hence, 3 will be the answer.
Third Query: In the 3rd minute, the train will be at station number 1. Hence, 1 will be the answer.
The final output will be: [2, 3, 1]
Problem approach

Heap approach

Try solving now

2. Sort 0 1

Moderate
0/80
Asked in companies
Goldman SachsHCL TechnologiesMorgan Stanley

You have been given an integer array/list(ARR) of size N that contains only integers, 0 and 1. Write a function to sort this array/list. Think of a solution which scans the array/list only once and don't require use of an extra array/list.

Note:
You need to change in the given array/list itself. Hence, no need to return or print anything. 
Problem approach

Simple traversal and sorting 

Try solving now
02
Round
Easy
HR Round
Duration15 minutes
Interview date10 Jun 2020
Coding problem1

General introduction, and basic HR Question

1. Basic HR Questions

  • Tell me about yourself
  • Why do you want to join HCL Technologies?
  • Where do you see yourself in 5 years?
Problem approach

Stay confident and reply with a smile

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
7971 views
0 comments
0 upvotes