Tip 1 : Be good with your Programming Skills and General Aptitude and Reasoning.
Tip 2 : You have good knowledge of Projects and languages whatever you mentioned on your Resume.
Tip 1 : Mention Some good Projects because Projects will define you what actually did till now.
Tip 2 : Don't fake on your Resume because Interviewer can ask questions from anywhere.
-> Questions on this round was divided on 4 parts:
1) Aptitude and general English
2) Logical Reasoning
3) Core fundamentals
4) Coding Questions
-> Timing of Exam was on Morning (10 A.M.)
-> Coding Questions were of 1 Easy and 1 Medium level



‘STR’ = “when in doubt use brute force”
The reverse order of words in ‘STR’ is: “force brute use doubt in when”.
1. ‘STR’ does not contain any leading or trailing spaces.
2. The words are always separated by a single whitespace character.
1) I had used Stack data structure to solve this problem
2) Insert all words on stack and skip gap between them for now
3) pop elements one by one and insert on new string and also add some gap after popping and adding word on new string.
4) return new string



a) Duplicate elements may be present.
b) If no such element is present return -1.
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.
Output: 6
Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
1) I firstly find out largest element on Array
2) After that if current element is not equal to largest then I try to find Second largest on similar way.
Round was of 1 hour and In this round Interviewer was asked me lot of Questions based on my Projects whatever I were mentioned on my Resume. Lot of were asked from me based on Operating system, DBMS, Computer Networks ,C++.
1) What is threading in OS
2) Paging and segmentation
3) Difference between Process and thread
4) Producer Consumer Problem
5) Round Robin,belady anomaly
6) keys of DBMS
7) Normalisation
8) Few queries
9) Data link layer functionality
Tip 1 : Prepare your core fundamentals very well, they surely ask questions from here
Tip 2 : Practice some queries of SQL
Interviewer was first introduce himself and share his experience at HCL, then ask me to introduce yourself and some basic discussion on my Projects and some basic behavioural questions
1) Why you want to join HCL
2) What you know about HCL
3) Your weaknesses
Tip 1 : Be confident
Tip 2 : Don't show your weaknesses, show your positive Skills as weaknesses.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?