J'ai postulé via une agence de recrutement. J'ai passé un entretien chez HCLTech
Entretien
Given program to write, which interviewer itself not able to explain, I solved it as per my understanding but his attitude was like he is superior
Given a 2D plane. You can move in any of the 4 directions in the first second. After the first second, you change direction by 90 degrees every second. For example, if you just moved north or south, the next step you take has to be either west or east and vice versa. In each second, you move 1 unit. You are given integer N.
Calculate the ambiguity value in your position that is defined by the number of different locations you can be after exactly N seconds.
Function description
Complete the function Ambuiguity(). This function takes the following parameter and returns the required answer:
N: Represents the number of seconds
Input format for custom testing
Note: Use this input format if you are testing against custom input or writing code in a language where we don’t provide boilerplate code
The first line contains an integer N denoting the number of seconds.
Output format
Calculate the ambiguity value in your position defined by the number of different locations you can be after exactly N seconds.
Constraints
1<=N<=1000
Autres retours d’entretien d’embauche pour un poste comme Senior Java Developer chez HCLTech
Recently attended a Java interview for HCL Tech . thought i could share my questions asked-
Checked Vs Unchecked exceptions
JAVA 8,17,21 features
Multithreading basics and advanced like future vs completable future
Spring vs Spring Boot
Write threadsafe singleton pattern
Reverse a list using java stream api,
Order list of employees using stream api
Write SQL query to group employees by dept using spring data JPA
J'ai postulé via un recruteur. J'ai passé un entretien chez HCLTech (Hyderâbâd) en mai 2026
Entretien
Pretty normal. Just grind the core java and spring boot topics. Focus on most asked interview questions. Nothing special to be honest. Sound confident. Otherwise it might give bad impression. That is all there is to it.
Easy did not any different or difficult questions and one coding question as well which is just showing repeated alphabets and their count as well for the coding question.
That's all the interview i remember which is an easy interview
Questions d'entretien [1]
Question 1
one coding question as well which is just showing repeated alphabets and their count as well for the coding question.