Tip 1 : Practice questions on leetcode
Tip 2 : Understand the best solutions in depth and algorithm used
Tip 3 : Ask clarifying questions to the interviewer and break the problem to smaller sub parts
Tip 1 : Highlight your most impactful work on the resume
Tip 2 : Keep it easy to understand
This was an online round, conducted to Mettl Platform.
It consists of 25 MCQ’s of aptitude and 15 Data Structure and Algorithm questions.
This round was also conducted on Metll platform. This round is totally based on coding. There are so many choices in language, so you can easily select the language in which you are comfortable in. There are three problems to solve. I choose Java 8 to solve the problems. The problems are ranging from easy to hard-
To find the maximum occurring character in a given string.
To find the factorial of a given number.
Count Derangements.



1. A word is a sequence of one or more lowercase characters.
2. Words are separated by a single whitespace character.
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.






The answer could be very large, output answer %(10 ^ 9 + 7).
The interviewer was so polite. He firstly asks me to describe myself and then ask about my family. After that he ask which language I choose to solve problems in Coding round and why I choose that language. Then he started to ask the technical questions.
What is Java?
Advantages of JavaWhat is JDK, JVM, JRE?
Why Java is platform-independent
?Define public static void main(String args[]) Access specifiers What is the value of a variable when we initialize it?
What is Object-Oriented programming?
What is constructor?
What is Polymorphism?
What is Abstraction?
Difference between abstraction and interface?
How to achieve all features of Oops in Java?

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?