Tip 1 : Consistency in solving Problems everyday.
Tip 2 : Do atleast 100 DSA questions.
Tip 1:It should be straight forward.
Tip 2: Don't put false information
The in-house placement at my college comprised three rounds. The initial online test, conducted on a dedicated test platform, assessed candidates on various technical and problem-solving skills. Following the test, successful candidates advanced to the Group Discussion (GD) round, where communication, teamwork, and analytical abilities were evaluated. This interactive session allowed candidates to express their thoughts on given topics while engaging with peers. Finally, the Personal Interview (PI) round delved deeper into individual capabilities, covering technical knowledge, problem-solving approaches, and personal experiences. These three comprehensive rounds aimed to identify candidates with a well-rounded skill set and the potential to contribute effectively to the organization. The process ensured a thorough evaluation of both technical expertise and interpersonal skills, aligning with the holistic development goals of our college placement program.



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
Successful candidates from the online test proceed to the Group Discussion (GD) round. In this round, candidates engage in discussions on given topics. The GD evaluates communication skills, teamwork, and the ability to express thoughts clearly. It aims to assess how well candidates can articulate their ideas, listen to others, and contribute meaningfully to a group conversation.



In the given linked list, there is a cycle, hence we return true.

Tip 1: read problem carefully
Tip 2: try to solve brute force
The final round is the Personal Interview (PI). This one-on-one interview delves deeper into a candidate's technical knowledge, problem-solving approach, and overall suitability for the role. Interviewers may ask about the candidate's academic and project experiences, test problem-solving skills through coding questions, and



Input:
4 5
0 1 5
0 2 8
1 2 9
1 3 2
2 3 6

In the given input, the number of vertices is 4, and the number of edges is 5.
In the input, following the number of vertices and edges, three numbers are given. The first number denotes node ‘X’, the second number denotes node ‘Y’ and the third number denotes the distance between node ‘X’ and ‘Y’.
As per the input, there is an edge between node 0 and node 1 and the distance between them is 5.
The vertices 0 and 2 have an edge between them and the distance between them is 8.
The vertices 1 and 2 have an edge between them and the distance between them is 9.
The vertices 1 and 3 have an edge between them and the distance between them is 2.
The vertices 2 and 3 have an edge between them and the distance between them is 6.
1. There are no self-loops(an edge connecting the vertex to itself) in the given graph.
2. There can be parallel edges i.e. two vertices can be directly connected by more than 1 edge.
Tip 1: read the problem carefully
Tip 2: try to solve in brute force

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?