Tip 1: If you are a fresher, focus on core subjects as well.
Tip 2: You should be aware of OOPS concepts.
Tip 3: Practice DSA as much as possible.
Tip 1: Prepare well for what you write in your resume.
Tip 2: Make a decent project.
Three coding problems need to be solved in three hours. The first question was easy, the second was medium, and the third was a hard problem based on dynamic programming.


Store all horizontal and vertical positions of all group members.
Now sort them to find the minimum middle position, which will be the best meeting point.
Find the distance of all members from the best meeting point. For example, in the above diagram, the horizontal positions are {0, 2, 0} and the vertical positions are {0, 2, 4}. After sorting both, we get {0, 0, 2} and {0, 2, 4}. The middle point is (0, 2).
Note: Even if the number of elements is even and there are two middle points, it still works. Two middle points mean there are two best meeting points always. Both cases will give the same distance. So we will consider only one best meeting point to avoid more overhead because our aim is to find the distance only.





If the given ‘HEIGHT’ array is [10,20,30,10], the answer 20 as the frog can jump from 1st stair to 2nd stair (|20-10| = 10 energy lost) and then a jump from 2nd stair to last stair (|10-20| = 10 energy lost). So, the total energy lost is 20.
The interviewer introduced himself first, then asked me to give an introduction. He then asked me some questions about my projects, followed by a coding problem.



1. The processes are numbered from 1 to 'N'.
2. The process with lowest arrival time will be scheduled first, followed by the next lowest arrival time, and so on.
3. If any two processes have the same arrival time, then you have to run the process based on the priority of the process. The highest priority process will be scheduled first, followed by the next highest priority, and so on.
4. If the two processes have the same priority, then you have to run the process with the lowest process number first.
What is DML? (Learn)
A data manipulation language (DML) is a family of computer languages that include commands allowing users to manipulate data in a database. This manipulation involves inserting data into database tables, retrieving existing data, deleting data from existing tables, and modifying existing data. DML is mostly incorporated in SQL databases.
Write a query to retrieve the maximum salary from employee table

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: