Tip 1 : Prepare advance level coding questions.
Tip 2 : Study OOPS and networking in brief.
Tip 1 : Mention strong projects in resume.
Tip 2 : Write any certifications in resume, if any.
The test was conducted on Hackerrank platform. It was 1 hour test comprising of 8 MCQs and 2 coding questions.
Which is the most optimal CPU scheduling algorithm? (Learn)
Tip 1: Study CPU scheduling algorithms in detail.
Tip 2: Read the question carefully.
The output of the following C program is?
int main(){
fork();
fork();
printf("code ");
}
Tip 1: Practice predicting output questions.
Tip 2: Keep a pen and paper by your side.



A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.
You can also assume that there will be only one sudoku solution for the given matrix.
We used the backtracking approach:
Step 1: Input the 9x9 Sudoku puzzle grid; let's call it "grid."
Step 2: Create a function to check if a given digit can be placed in a specific cell of the grid without violating the Sudoku rules. The function should check if the digit is not present in the same row, column, or 3x3 sub-grid as the cell.
Step 3: Create a function to find an empty cell in the grid. The function should return the row and column indices of the first empty cell it encounters or return None if there are no empty cells left.
Step 4: Create a recursive function to solve the Sudoku puzzle using backtracking. The function should do the following:
a) Find an empty cell using the function from Step 3.
b) If there are no empty cells left, return True (puzzle solved).
c) For each digit from 1 to 9, do the following:
-> Check if the digit can be placed in the empty cell without violating the rules using the function from Step 2.
-> If it can be placed, update the cell with the digit and recursively call the solve function.
-> If the recursive call returns True, it means the puzzle is solved, so return True.
-> If the recursive call returns False, undo the placement (set the cell back to empty) and try the next digit.
-> If all digits have been tried and none of them can be placed, return False (backtrack).
Step 5: Call the solve function to solve the Sudoku puzzle. If the function returns True, the puzzle is solved.
Step 6: Output the solved Sudoku grid.
Which of the following features is required to be supported by the programming language to become a pure object-oriented programming language?
Tip 1: Read the question carefully.
Tip 2: Study OOPS in detail.
What is the output of the given program?
#include < stdio.h >
using namespace std;
int main()
{
int array[] = {10, 20, 30};
cout << -2[array];
return 0;
}
Tip 1: Practice predicting output questions.
Tip 2: Keep pen and paper by your side
Which command that lets you change one or more field in a table? (Learn)
Tip 1: Study SQL commands in detail.
Tip 2: Read the question carefully.
This round was 30 minutes technical interview. The interviewer seems knowledgeable.



Let the array = [ 4, 2, 1, 5, 3 ]
Let pivot to be the rightmost number.

I told Quicksort is best and implemented the code as:
Step 1: Input the array to be sorted, let's call it "arr," and its starting and ending indices, "low" and "high" respectively. Initially, "low" should be the index of the first element (0) and "high" should be the index of the last element (n-1) of the array, where n is the size of the array.
Step 2: If the "low" index is greater than or equal to the "high" index, return (base case).
Step 3: Choose a "pivot" element from the array. This can be any element from the array, but a common approach is to pick the element at the middle index (low + (high - low) // 2).
Step 4: Partition the array into two sub-arrays:
a) Elements less than the pivot (left_subarray) are moved to the left side of the pivot.
b) Elements greater than the pivot (right_subarray) are moved to the right side of the pivot.
c) The pivot element is now in its correct sorted position.
Step 5: Recursively apply the Quicksort algorithm to the left_subarray:
Call Quicksort(arr, low, pivot_index - 1).
Step 6: Recursively apply the Quicksort algorithm to the right_subarray:
Call Quicksort(arr, pivot_index + 1, high).
Step 7: The array is now sorted in place, and no additional merging is required."
Corrected version:
"I said that Quicksort is the best and implemented the code as follows:
Step 1: Input the array to be sorted, called "arr," and its starting and ending indices, "low" and "high" respectively. Initially, "low" should be the index of the first element (0) and "high" should be the index of the last element (n-1) of the array, where n is the size of the array.
Step 2: If the "low" index is greater than or equal to the "high" index, return (base case).
Step 3: Choose a "pivot" element from the array. This can be any element from the array, but a common approach is to pick the element at the middle index (low + (high - low) // 2).
Step 4: Partition the array into two sub-arrays:
a) Elements less than the pivot (left_subarray) are moved to the left side of the pivot.
b) Elements greater than the pivot (right_subarray) are moved to the right side of the pivot.
c) The pivot element is now in its correct sorted position.
Step 5: Recursively apply the Quicksort algorithm to the left_subarray:
Call Quicksort(arr, low, pivot_index - 1).
Step 6: Recursively apply the Quicksort algorithm to the right_subarray:
Call Quicksort(arr, pivot_index + 1, high).
Step 7: The array is now sorted in place, and no additional merging is required.
This was just an HR round which comprised of basic questions. It was 15 minutes long.
Why do you want to join our company?
Tip 1: Research about the company well and prepare this question.
Tip 2: Answer confidently.
Do you have any other offers in hand?
Tip 1: Don't speak lie, tell the offer if you have any.
Tip 2: Answer confidently.
What are your strengths and weaknesses?
Tip 1: Tell strengths and weakness which are beneficial for company.
Tip 2: Answer confidently.
Tell us about the major project you have worked on?
Tip 1: Tell about the project which you can explain in detail.
Tip 2: Answer confidently.

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: