Tip 1: Practice pattern-based questions and strengthen your concepts.
Tip 2: Learn a particular tech stack and build projects with it.
Tip 3: Participate in problem-solving contests.
Tip 1: Add your problem-solving profiles.
Tip 2: Add links to your deployed projects.
The online assessment consisted of 10 MCQs for each concept: Aptitude, Core CS, OS, DBMS, and 1 DSA problem.



If N = 2 and prerequisite = [[1, 2]]. Then, there are a total of 2 courses you need to take. To take course 1 you need to finish course 2. So, it is possible to complete all courses.
Step 1 : Identified problem is equivalent to detecting a cycle in the directed graph represented by prerequisites. Step2 : Identified that I can use BFS to solve it by using the idea of topological sort. If course u is a prerequisite of course v, then the adjacency list of u will contain v.
BFS uses the indegrees of each node. We will first try to find a node with 0 indegree. If we fail to do so, there must be a cycle in the graph and we return false. Otherwise we set its indegree to be -1 to prevent from visiting it again and reduce the indegrees of its neighbors by 1. This process will be repeated for n (number of nodes) times.
Timing for this round was- 11:40–12:30. It was a virtual interview round (the interviewer had the camera on). Interviewer was kind.



‘num’ does not have leading zeros except when ‘num’ equals zero.
Input: ‘num’ = ‘141’ , ‘k’ = 1.
Output: ‘11’
Explanation: By removing only 1 digit from ‘num’, 3 numbers can be formed: 14, 11, and 41. Out of which 11 is the smallest number.
You don’t have to print anything. It has already been taken care of. Just implement the given function.
Discussed Brute Force and its time Complexity.
Interviewer asked me to optimize.
I discussed Stack approach and coded and interviewer was satisfied.
Find the fastest 3 horses. (Learn)
Write an SQL query for a report that provides the customer ids from the Customer table that bought all the products in the Product table. (Practice)

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