Tip 1 : Learn all data structures with implementation.
Tip 2 : Practice on the contest or do time-bound problem solving
Tip 3 : Give importance to CS subjects if fresher and for exp give importance to behavior questions.
Tip 1 : Always prepare a company and role-specific resume.
Tip 2 : Mention what you have added as a value into the project like enhanced the performance of some process by 30%.
Initially started with a simple question and question regarding time complexity.
C++ features question.
Then asked a medium-level DSA question.based on graph.



Nodes are numbered from 0 to N - 1.
The graph given is connected.
Print the vertices in sorted order.
The following is an example of DAG i.e a directed graph with no cycles in it.

Given a directed acyclic graph, with n vertices numbered from 0 to n-1, and an array edges where edges[i] = [fromi, toi] represents a directed edge from node fromi to node toi.
Find the smallest set of vertices from which all nodes in the graph are reachable. It's guaranteed that a unique solution exists.
Started with C++ concepts. Then asked one easy and one medium question



The given linked lists may or may not be null.
If the first list is: 1 -> 4 -> 5 -> NULL and the second list is: 2 -> 3 -> 5 -> NULL
The final list would be: 1 -> 2 -> 3 -> 4 -> 5 -> 5 -> NULL
Two sorted linked list head pointer is given.
Sort them and return the head of merged linked list.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
Started this problem with basic sorting then asked to sort it in o(n) time and o(1) space complexity.
OOPS concepts.
Design questions with workable code.
Design Vector class in C++
Tip 1 : Explain the functionality that you will be covering.
Tip 2 : Confirm the design before proceeding to the code.
Tip 3 : Do coding neatly by explaining the code as writing.
This round is with the hiring manager.
Asked one string-based question and some C++ concepts and then some behavioural questions.



Input: s = "abcabcbb"
Output: 3
Explanation: The answer is "abc", with the length of 3.
What are your strengths and weaknesses?
What are your hobbies?

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