Tip 1 : Practice Coding questions from HackerRank
Tip 2 : Practice testing concepts
Tip 3 : Go-through OOPS is must
Tip 1 : Have some projects on resume with highlight your exam score.
Tip 2 : Do not put false things on resume.
- Evening timming
- Environment was good
- No activity
- Interview was average



1) A subarray is a part of the array which is contiguous (i.e. elements in the original array occupy consecutive positions) and inherently maintains the order of elements. For example, the subarrays of the array {1, 2, 3} are {1}, {1, 2}, {1, 2, 3}, {2}, {2, 3}, and {3}.
2) Bitwise OR operation takes two numbers and performs OR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise OR will be 3. Because the binary representation of 2 is 10 and the binary representation of 3 is 11. And OR of 10 and 11 will be 11 which evaluates to 3.
3) The array may contain duplicate elements.
Q- .What are the issues related to concurrency?
Tip 1: Read Database concepts thoroughly like deadlock, concurrency
Tip 2: Do practice writing of approaches
Answer -
1- Non-atomic –
Operations that are non-atomic but interruptible by multiple processes can cause problems.
2- Race conditions –
A race condition occurs of the outcome depends on which of several processes gets to a point first.
3- Blocking –
Processes can block waiting for resources. A process could be blocked for a long period of time waiting for input from a terminal. If the process is required to periodically update some data, this would be very undesirable.
4 -Starvation –
It occurs when a process does not obtain service to progress.
5 - Deadlock –
It occurs when two processes are blocked and hence neither can proceed to execute
One rabbit saw 6 elephants while going towards River. Every elephant saw 2 monkeys are going towards river. Every monkey holds one tortoice in their hands.
How many animals are going towards the river?
A) 14 B) 11
C) 8 D) 5
- From the given data,
1 rabbit is going towards river not the six eephants. And these 6 elephants saw 2 monkeys are going towards river. Each monkey is holding 1 tortoice.
Hence, number of animals going towards river are 1 rabbit, 2 monkeys and 2 tortoice
= 1 + 2 + 2
= 5.



Let the array 'arr' be: [1, 0, 1].
Let ‘k’ be: 1
Then the subarrays having the number of ones equal to ‘k’ will be: [1], [1,0], [0,1], [1].
- Morning time
- Environment was good.
- No activity
- Interview was good
Tell me something about yourself in brief?
What are your strengths and weaknesses?
Why do you want to join Mettl?
Salary discussion at last.
Tip 1 : With confidence give your valid approaches
Tip 2 : Keep your voice smooth.

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