Tip 1: The number of questions solved doesn't matter; your thinking ability does. For some people, 150 questions are enough, while for others, even 1,000 may not be sufficient. Just focus on improving your problem-solving skills. On average, solving 250 questions should be enough.
Tip 2: CGPA matters. Keep your CGPA above 9 to at least get shortlisted by most companies. I've seen people with an 8.8 CGPA miss opportunities because of their score.
Tip 3: Complete at least two projects. Ensure that each project includes at least one problem you genuinely solved—even if it's a simple one. Be prepared to discuss these projects in detail.
Tip 1: You should have at least two good projects on your resume where you've solved at least one real-world problem. If you're adding GitHub links to the projects, make sure you’ve worked with Git and there are commits. This shows that you’ve truly worked on the project yourself and have knowledge of how the SDLC (Software Development Life Cycle) works.
Tip 2: Do not list random skills or false information on your resume. Only include skills you’re confident enough to answer at least basic questions about.



For given 2D array :
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After 90 degree rotation in anti clockwise direction, it will become:
[ [ 3, 6, 9 ],
[ 2, 5, 8 ],
[ 1, 4, 7 ] ]
1. Transpose the Matrix: Imagine your matrix as a grid. The first thing you need to do is swap the rows with the columns. For example, if you have a number in the first row and second column, you move it to the second row and first column. You repeat this for all the elements in the matrix. Essentially, you're flipping the grid over its diagonal.
2. Flip Each Row: After transposing, the next step is to reverse the order of elements in each row. Think of it like reading the row backwards. So, you take the first element of the row and swap it with the last one, then move to the next pair of elements and keep swapping until you've reversed the entire row.
By doing these two steps, you effectively rotate the matrix by 90 degrees clockwise, and you do it without using any extra space—just by modifying the matrix in place.
An if-else problem involves calculating a fine based on two dates with certain conditions.
It was a simple task where you had to extract the year, month, and day from a string and compare it with another date to calculate a fine based on certain conditions. For example, if the book is returned in the same month, the fine is 50. If it’s returned in the same year but a different month, the fine is 200. If it’s returned in a different year, the fine is 1,000.



Find Excel column name from a given column number for example 1-A, 2-B, 26-Z, 51-AY
Just apply a loop until n becomes 0, divide n/26 each time and append "A" + n%26 - 1 to the ans string each time in the loop.
Basic HR questions, What do you know about Leena AI? Why are you interested in this role?
Tip 1: Just read the job description very well.
Tip 2: Be confident.



|1-4|=3
|2-4|=2
|3-4|=1
|6-4|=2
|7-4|=3
And more
The approach is to have one variable holding the maximum value of one leg (left) and another holding the minimum value of the same leg. The difference between the two should be stored in another variable, one for each leg. Finally, the maximum of the differences for both legs (a, b) should be returned.



Use zero-based indexing for the vertices.
The given graph doesn’t contain any self-loops.
DFS-based solution.
I have to design a database for a question bank for a test platform.
- Need to identify either to use SQL/NoSQL
- Creating different models required
- Finding out time complexity for various types of db queries
Tip 1: Study dbms SQL/NoSQL
Tip 2: Practice creating db schemas for real-world software platforms
It was the final round with the CTO of the company. It was completely project-based.
The time complexity of binary search in an unsorted array.
first sorting and then binary search so, O(nlogn + logn)
How does multithreading work? Difference between concurrent and parallel. (Learn)
What happens when you search on Google.com? The interviewer focused on each term you used in your answer and asked for more details. For example:
Project-based questions such as: How did you improve the performance time of your website? How did you measure response time? And many more.
Tip 1: Keep your project on your tips.

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