Tip 1 : Atleast 500 DS algo questions
Tip 2 : Try to create one good project
Tip 3 : Try to do competitive programming
Tip 1: Write about internships you have done
Tip 2: Don't write about dancing, singing and all those kind of stuff
This round is conducted on online platform cocubes.
In total 3 problems are there that has to be solved in 90 minutes. Those who are able to solve all three were selected for next round.



The given singly linked list is 6 -> 5 -> 3 -> 4 -> 7 -> 1 -> 2

The modified linked list should have all even values in starting and odd values in the end.



The traversal should proceed from left to right according to the input adjacency list.
Adjacency list: { {1,2,3},{4}, {5}, {},{},{}}
The interpretation of this adjacency list is as follows:
Vertex 0 has directed edges towards vertices 1, 2, and 3.
Vertex 1 has a directed edge towards vertex 4.
Vertex 2 has a directed edge towards vertex 5.
Vertices 3, 4, and 5 have no outgoing edges.
We can also see this in the diagram below.
BFS traversal: 0 1 2 3 4 5

Timings for the round is about 1 hour but mine went for 90 minutes. Firstly interviewer introduces himself and then asked me about my introduction. Then after that he went for asking DS algo problems.



Tip 1: You have to start from brute force approach than go on till most optimised.



If the given adjacency matrix is:
[0 1 0]
[1 0 1]
[0 1 0] and M = 3.
The given adjacency matrix tells us that node 1 is connected to node 2 and node 2 is connected to node 3.
So if we color vertex 1 with ‘red’, vertex 2 with ‘blue’, and vertex 3 with ‘red’, it is possible to color the given graph with two colors which is less than or equal to M.



Tip 1: Explain all the corner cases i.e array including negative numbers.
This is on-call round.
After that round final result is declared and around 25 students selected and I am one of them.
HR told to introduce myself and then asked about my internship experience and projects.

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?