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

Software Engineer

HCLTechnology
upvote
share-icon
1 rounds | 1 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey when I was in 6th standard. I started with Java programming as part of my curriculum at school as I was an ICSE board student. Moving further throughout my school days to my college days I did my DSA and competitive programming in Java itself. I also did machine learning projects while being at my college during research and development.
Application story
I received this opportunity through my campus placement drive. Firstly, we were shortlisted based on our resumes, and then they conducted a test that had MCQ-based questions and coding questions. The students who were able to solve the questions were shortlisted after this online test. Then, they conducted an online interview based on projects and basic coding questions.
Why selected/rejected for the role?
I was able to answer all the questions without any difficulty, and my projects were good as the interviewer was really interested in them.
Preparation
Duration: 6 Months
Topics: Dynamic Programming, Data Structures and Algorithms, Bit Manipulation, Sliding Window, Backtracking, Java, Python
Tip
Tip

Tip 1: Be clear about the basics of data structures and learn how to build the logic for a problem. Then, try to find a solution, starting from a brute force approach and progressing to an optimized solution.

Tip 2: As a fresher, it's important to have at least two good projects. You should definitely have a clear understanding of what your project is about and be able to answer related questions during the interview.

Tip 3: The number of DSA questions you solve doesn't matter. What matters is having an understanding of how to approach a particular question, knowing which data structures to use, and being able to find a better solution.

Application process
Where: Campus
Eligibility: above 7 CGPA (Salary: 4 LPA)
Resume Tip
Resume tip

Tip 1: Highlight the technical skills in which you excel. 

Tip 2: Have at least two good projects on your resume.

Interview rounds

01
Round
Easy
Video Call
Duration30 minutes
Interview date7 Jul 2023
Coding problem1

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.FacebookAmazon

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

Step 1: Initialize an empty hash map (numToIndexMap) to store the numbers seen so far and their corresponding indices.
Step 2: Iterate over the array using a for loop.
For each number nums[i], calculate the difference diff between the target and the current number (diff = target - nums[i]).
Step 3: Check if diff exists in numToIndexMap. If it does, it means the two numbers that add up to the target have been found. Return their indices [i, numToIndexMap.get(diff)].
Step 4: If diff does not exist in the map, store the current number and its index in numToIndexMap.
Step 5: If no such pair is found by the end of the loop, return null. (However, according to the problem constraints, a solution is guaranteed, so this case won't occur.)

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

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes