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

Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Java, Spring Boot, MYSQL, Swagger, Microservices
Tip
Tip

Tip 1 : Prepare basics of core java
Tip 2 : Prepare spring boot interview questions

Application process
Where: Naukri
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Do not put false things on resume.
Tip 2 : Have some projects on resume.

Interview rounds

01
Round
Easy
Telephonic
Duration30 minutes
Interview date20 Apr 2022
Coding problem1

1. Pattern: Triangle of numbers

Moderate
0/80
Asked in companies
DunzoHCL TechnologiesUnthinkable Solutions
Pattern for N = 4


The dots represent spaces.



Problem approach

Used simple for loops to get the specific positions where I can put numbers. Used one more loop to continue increase the number and print them accordingly.

Try solving now
02
Round
Easy
Video Call
Duration50 minutes
Interview date23 Apr 2021
Coding problem1

1. Count Number of Subsequences

Moderate
15m average time
85% success
0/80
Asked in companies
Tata CommunicationsAmazonHCL Technologies

Given an array of non-negative integers ‘A’ and an integer ‘P’, find the total number of subsequences of ‘A’ such that the product of any subsequence should not be more than ‘P’.

A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.
Note
You need to print your answer modulo 10^9 + 7.
For Example
Let us take  A = [1,2,3] and P = 4. 
All the subsequences not having product more than ‘4’ are {1}, {2}, {3}, {1,2}, {1,3}. Therefore count is equal to ‘5’.
Problem approach

Step 1 : I first applied bubble sort. It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then i gave solution with merge sort and interviewer was happy.

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 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
3266 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