Tip 1 : First have overview of the concepts through theory and then do the practical implementation.
Tip 2 : Make a habit of solving at least 5-7 problems daily. (Doesn't matter big or small).
Tip 3 : Try to solve the problem in 2 or more 2 approaches
Tip 1 : Have some certification in the resume.
Tip 2 : Mention the proper keyword as per the role you are applying for.



Following are the steps involved in bubble sort(for sorting a given array in ascending order):
Starting with the first element(index = 0), compare the current element with the next element of the array.
If the current element is greater than the next element of the array, swap them.
If the current element is less than the next element, move to the next element. Repeat Step 1.
Let's consider an array with values {5, 1, 6, 2, 4, 3}
#include
void bubbleSort(int arr[], int n)
{
int i, j, temp;
for(i = 0; i < n; i++)
{
for(j = 0; j < n-i-1; j++)
{
if( arr[j] > arr[j+1])
{
// swap the elements
temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
}
}
// print the sorted array
printf("Sorted Array: ");
for(i = 0; i < n; i++)
{
printf("%d ", arr[i]);
}
}
int main()
{
int arr[100], i, n, step, temp;
// ask user for number of elements to be sorted
printf("Enter the number of elements to be sorted: ");
scanf("%d", &n);
// input elements if the array
for(i = 0; i < n; i++)
{
printf("Enter element no. %d: ", i+1);
scanf("%d", &arr[i]);
}
// call the function bubbleSort
bubbleSort(arr, n);
return 0;
}
It was a group discussion round
As you all know that the Indian Government recently removed article 370. What are your views on the article and its removal
Tip 1 : Just do not speak continuously take breaks in between.
Tip 2 : Let the others speak and listen to them carefully
In the HR Round, the HR asked some basic question
Tip 1 : Be confident
Tip 2 : Speak politely
Tip 3 : Be firm with your answers, don't change them if the interviewer cross-questions you

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?