Tip 1: Focus on DSA mostly
Tip 2: Practice contest, or if have time issues with live contests then try giving virtual contests
Tip 3 : Get ready with low-level design at least for Razorpay
Tip 4 : Have at least 2 major projects (try to deploy your project)
Tip 5 : While practicing DSA questions try to focus on pattern recognition
Tip 1 : Keep the one-page resume
Tip 2 : Use overleaf latex templates if you can
8 MCQ based on CS fundamentals eg. OS, DBMS, SQL, OOPs
3 DSA questions (Medium to upper-medium difficulty)
Problem: Number of triangles in a graph
An undirected graph is a graph in which if you can go from a vertex, say, ‘A’ to ‘B,’ you can come back to ‘A’ from ‘B.’

For example: In this graph, we can visit from vertex 1 to 2, then we can also visit from vertex 2 to 1. This is true for all vertices.
Length and breadth must be an integer value and the area will always be in the range of integers.



Given one DSA question - trapping rainwater problem
One puzzle - minimum races need to conduct between 25 to find out the three fastest horse



The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.
The key idea to solve this problem is to understand that rainwater can only be trapped if there exists a block of greater height, both on the left and the right side than the current block. Then rainwater can be trapped on top of the block.
So, it can be easily inferred that the amount of water a block can hold is equal to the minimum of the maximum height present on both the left and right half minus the height of the current block.
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct a race among at most 5 to find out their relative speed. At no point, you can find out the actual speed of the horse in a race. Find out the minimum no. of races that are required to get the top 3 horses.
Answer for this is 7 races
first, do 5 races among 5-5 horse
pick all 5 winners and do 1 more race
now do 1 more race between 2nd,3rd winner of 6th race and 2nd,3rd winner of first 5 horse races of 2nd winner of 6th race and 2nd winner of first 5 horses of 3rd winner in 6th race
Design a system to generate tombola game tickets following design principles, ticket is a matrix of 5X9 with some constrained, system to generate such kind of ticket.
Design a system to generate tombola game tickets following design principles, ticket is a matrix of 5X9 with some constrained, system to generate such kind of ticket.
Make a class name cell that represents each cell of the ticket matrix.
Use set and map and some random function to generate a ticket
Tip : Read low-level design principle
15 min basic HR conversation
15 min CS fundamental multi-threading, DBMS, concurrency handling, etc.
in the remaining time, similar to regular expression leetcode hard with one more special character



1. ‘.’ matches to any single character.
2. ‘*’ matches to zero or more of the preceding element.
1. You have to match the entire string with the pattern given.
2. Both the strings, 'S' and 'P' contain only lower-case alphabets.
3. Only the pattern will contain additional characters ‘*’ and ‘.’ along with alphabets.
Intuition
As the problem has an optimal substructure, it is natural to cache intermediate results. We ask the question dp(i, j)\text{dp(i, j)}dp(i, j): does text[i:]\text{text[i:]}text[i:] and pattern[j:]\text{pattern[j:]}pattern[j:] match? We can describe our answer in terms of answers to questions involving smaller strings.
Algorithm
We proceed with the same recursion as in Approach 1, except because calls will only ever be made to match(text[i:], pattern[j:]), we use dp(i, j)\text{dp(i, j)}dp(i, j) to handle those calls instead, saving us expensive string-building operations and allowing us to cache the intermediate results.
What are multi-threading and concurrency?
Tip 1 : Read OS properly

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?