i
HCLTech
Filter interviews by
Meaning of tremndous
I applied via LinkedIn and was interviewed in May 2024. There were 3 interview rounds.
Lit bit tougher as a beginner for quants like aptitude, verbal, and reasoning.
They given 40 min for coding and , topics are below linked list , stacks
They given 30 min for coding in topics of linked list , stacks
The shortest distance between two farthest vertices in a cubical room is the length of the diagonal of the cube.
The diagonal of a cube can be calculated using the formula: sqrt(3) * side length
In a cube with side length 1 unit, the diagonal length is sqrt(3) units
Therefore, the shortest distance between two farthest vertices in a cubical room is sqrt(3) times the side length of the cube
HCLTech interview questions for designations
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
It was easy to crack so easy
I appeared for an interview in Apr 2022.
Round duration - 180 minutes
Round difficulty - Hard
There was 1 round of 180 minutes which contains of 3 questions from DSA. the two question was of medium level but one question is of neither difficult nor medium level question based on tree
Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...
Find the length of the longest strictly increasing subsequence in an array of integers.
Use dynamic programming to keep track of the longest increasing subsequence ending at each element.
Initialize an array to store the length of the longest increasing subsequence ending at each index.
Iterate through the array and update the length of the longest increasing subsequence for each element.
Return the maximum value in the ar...
Check whether a given graph is bipartite or not. Return true
if the graph's vertices can be divided into two independent sets, ‘U’ and ‘V’, such that every edge (‘u’, ‘v’) either c...
Check if a given graph is bipartite by dividing vertices into two independent sets.
Use BFS or DFS to traverse the graph and assign colors to vertices to check for bipartiteness.
If an edge connects vertices of the same color, the graph is not bipartite.
Return true if all edges connect vertices of different colors, else return false.
Given an integer array ARR
of size N
containing all distinct values, determine the total number of inversions present in the array.
An inversion is defined for a pair o...
Count the total number of inversions in an integer array.
Iterate through the array and for each pair of elements, check if the conditions for inversion are met.
Use a nested loop to compare each element with all elements to its right.
Keep a count of the inversions found and return the total count at the end.
Round duration - 50 minutes
Round difficulty - Medium
In interview I was asked about some question related to Data structures , DBMS . Some output based question was asked and 2 coding problems was given to solve.
Given an integer array 'ARR' of size 'N' and an integer 'K', return all the subsets of 'ARR' which sum to 'K'.
A subset of an array 'ARR' is a tupl...
Given an array and an integer, return all subsets that sum to the given integer.
Use backtracking to generate all possible subsets of the array.
For each subset, check if the sum equals the given integer 'K'.
Print the subsets that satisfy the condition.
Example: For input [1, 2, 3] and K=3, subsets [1, 2] and [3] have sum 3.
Given a binary tree of integers, your task is to print the boundary nodes of the binary tree in an anti-clockwise direction starting from the root node.
The boundary...
Boundary traversal of a binary tree in anti-clockwise direction starting from the root node.
Implement a function to calculate the boundary traversal of a binary tree
Include nodes from left boundary, leaf nodes, and right boundary in sequence
Ensure only unique nodes are included in the output
Print the boundary nodes separated by single spaces for each test case
Tip 1 - Practice At least 250 Questions of DS algo
Tip 2 - Do at least 2 application based projects
Tip 3 - Practice questions with optimized approaches
Tip 1 : Have some application based projects on resume.
Tip 2 : Do not put false things on resume.
Tip 3 : Project should clear and crisp
Easy to medium test was easily solvable
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs allows for the organization of code into reusable components called objects.
Encapsulation, inheritance, and polymorphism are key principles of OOPs.
Examples of OOPs languages include Java, C++, and Python.
I applied via Campus Placement and was interviewed in Mar 2023. There were 4 interview rounds.
Basic apptitude questions from Topics like quants
Practice geeks for geeks strings and matrix questions
Next.js provides advantages such as server-side rendering, automatic code splitting, and easy deployment.
Server-side rendering improves SEO and initial page load times
Automatic code splitting reduces bundle size and improves performance
Easy deployment with built-in support for static site generation and serverless functions
MERN stack is popular for full-stack development using MongoDB, Express, React, and Node.js.
MERN stack includes MongoDB for database, Express for backend, React for frontend, and Node.js for server-side logic.
It allows developers to build dynamic web applications efficiently.
MERN stack provides a seamless integration between frontend and backend technologies.
It is widely used in building single-page applications (SPAs)
based on 3 interviews
Interview experience
Software Engineer
23.3k
salaries
| ₹1.9 L/yr - ₹8 L/yr |
Technical Lead
21.5k
salaries
| ₹7 L/yr - ₹28 L/yr |
Senior Software Engineer
16k
salaries
| ₹4.5 L/yr - ₹17 L/yr |
Lead Engineer
15.8k
salaries
| ₹4.1 L/yr - ₹14 L/yr |
Analyst
14.7k
salaries
| ₹0.8 L/yr - ₹6.6 L/yr |
TCS
Wipro
Accenture
Cognizant