Tip 1: Practice at least 250 questions.
Tip 2: For example, do at least 2 projects.
Tip 1: Have some projects on your resume.
Tip 2: Do not include false information on your resume.
There were 15 MCQ questions and 1 coding question.

You are given str1=’abc’, str2=’bcd’, Here to make the string equal, we have to delete ‘a’ from str1 and ‘d’ from str2, which will add 97 and 100 to the answer. Hence the answer is 197
int sum = 0
for(char ch : str){
int ascii_val = ch;
sum += ascii_val
}
print(sum)
Two students appeared for an examination. One of them secured 9 marks more than the other, and his marks were 56% of the sum of their marks. What were the marks obtained by them?
You can practice for these types of questions.
If A = x% of y and B = y% of x, which of the following is true?
1. A is smaller than B.
2. A is greater than B
3. The relationship between A and B cannot be determined.
4. If x is smaller than y, then A is greater than B.
5. None of these
The interviewer was very friendly. He asked me two coding questions in this round.



Bubble Sort implementation for the given array: {6,2,8,4,10} is shown below :-
In the Bubble Sort algorithm,
traverse from the left and compare adjacent elements; the higher one is placed on the right side.
In this way, the largest element is moved to the rightmost end at first.
This process is then continued to find the second largest and place it and so on until the data is sorted.



If ‘ARR’ = [4 5 6 5 7 3] and ‘K’ = 5
Pairs are(4, 6), (5, 5) ,and (7, 3) and the sum of elements of each pair is divisible by ‘K’ i.e 5.
int count = 0
for(int ele: arr){
if(ele%3== 0 || ele%5==0) count++
}
print(count)



In the given linked list, there is a cycle, hence we return true.

Follow the steps below to solve the problem:
Have a visited flag with each node.
Traverse the linked list and keep marking visited nodes.
If you see a visited node again then there is a loop.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What does HTML stand for?