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

SDE - 1

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

Interview preparation journey

expand-icon
Journey
My life has had many ups and downs, but I somewhat managed to get admission to the college where I took computer science as a subject. Then, my coding journey started from here.
Application story
I applied through a friend. I referred a person who is working in this company.
Why selected/rejected for the role?
I was rejected because I could not answer all the questions correctly and precisely.
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Practice more problem-solving questions.
Tip 2: Understand the concepts in depth.
Tip 3: Try to work on one or two hands-on projects to get more experience in that stack.

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: When designing your resume, prioritize a clear and concise format. Use a professional font, consistent spacing, and organized sections to ensure readability. Avoid overcrowding the document and use bullet points to present information effectively.

Tip 2: Tailor the content of your resume to the specific job and company. Research their values, culture, and requirements. Customize your resume by emphasizing relevant experiences, projects, and skills that align with their needs and demonstrate your potential contribution.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date14 Apr 2023
Coding problem2

In the DBMS section, the interviewers focused on our knowledge of database models such as hierarchical, network, and relational databases. We were assessed on our ability to choose the appropriate model for a given scenario and justify our decision.

1. Colour The Graph

Moderate
20m average time
80% success
0/80
Asked in companies
Hexaware TechnologiesArcesiumShareChat

You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. You have to colour this graph in two different colours, say blue and red such that no two vertices connected by an edge are of the same colour.

Note :
The given graph may have connected components.
Try solving now

2. 0 1 Knapsack

Moderate
0/80
Asked in companies
AmazonTwitterInnovaccer

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and the weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. Then the best way to fill the knapsack is to choose items with weight 6, 1 and 3. The total value of knapsack = 3 + 6 + 4 = 13.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date14 Apr 2023
Coding problem2

1. Longest Palindromic Substring

Moderate
20m average time
80% success
0/80
Asked in companies
Goldman SachsAckoSprinklr

You are given a string 'str' of length 'N'.


Your task is to return the longest palindromic substring. If there are multiple strings, return any.


A substring is a contiguous segment of a string.


For example :
str = "ababc"

The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome. 

There is another palindromic substring of length 3 is "bab". Since starting index of "aba" is less than "bab", so "aba" is the answer.
Try solving now

2. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
Thought WorksAccentureInfosys

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
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 select an element by class name in CSS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by HCL Technologies
960 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by HCL Technologies
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by HCL Technologies
1145 views
3 comments
0 upvotes
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by HCL Technologies
1302 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
6226 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
5477 views
3 comments
0 upvotes