Tip 1 : Work on practical skills like Coding
Tip 2 : practice coding questions from leetcode
Tip 3 : Brainstorm some maths questions
Tip 1 : Describe your projects.
Tip 2 : Describe your skills
- Morning time
- Environment was good.
- No
- Interviewer was good



Let’s say ‘N’ is 4 and ‘M' is 3. The 3 edges are (1,2), (2,3) and (1,3). Then our graph will look as follows:-

To make the graph connected we can shift the edge between (1,3) to (1,4). This operation will make the graph connected. There are multiple ways in which we can make graph connected. So, in this case, we can make graph connected in just one operation.
1. A connected graph is a graph that is connected in the sense of a topological space, i.e., there is a path from any vertex to any other vertex in the graph.
2. There are no repeated edges and self-loops in the graph.
3. You do not need to print anything; it has already been taken care of. Just implement the function.



1) Here length of the path refers to the number of edges in that path.
2) You can start and stop at any node.
3) You can visit any node 0 or more times.
4) You can use any given edge 0 or more times.
A man drove his Innova car all the way from Shimla to Delhi only to discover at the end of the trip that he had a punctured tyre from the very start. Yet his Innova car was not at all affected by it? How is this possible?
Punctured tyre must be a spare tyre.
…………… refers to the collection of information pertinent to systems Project.
A) Data transfer
B) Data gathering
C) Data Embedding
D) Data Request
Tip 1 : Should know the concepts of algorithm
Tip 2 : Should practice data structures
- Late evening
- Environment was good.
- No activity
- Interview was good
You are stuck in a room with two doors- One right and one wrong. Both these doors are safeguarded by two guards, one in front of each door. The right door will lead you to your freedom and the wrong door will lead you to prison forever. However, you can ask both guards one question each. One guard always tells the truth, and the other guard always tells lies, but you don’t know which is which. What question should you ask to find the right door?
step 1 - I would ask both the guards, “If I asked the other guard which is the right door, what would his answer be?”
Since both guards will point at the wrong door, I would skip that one and take the other one out.
Tips : Practice puzzles questions.
A race track has five lanes. You are to find the 3 fastest horses out of a total of 25. How many races would have to be conducted to find the three fastest horses?
Answer -
Conduct 5 horse races with 5 horses in each group. Then, conduct another race with the winners of the said 5 races. The winner is the first fastest horse.
Then conduct another race with the rest of the 4 horses, and record the 1st and 2nd horses in it. They are the second and third fastest horses.
This way, you would have found the three fastest horses out of 25.
- Morning time
- Environment was good.
- No
- Interviewer was so good
- Tell me about yourself?
- Where you wants to see in HCL?
- What excites you in HCL and what you know about HCL?
- Salary Discussion
Tip 1 : Communication should be good
Tip 2 : Give valid approaches
Tip 3 : Answer should be clear

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?