Tip 1 : Write only relevant skills on resume and prepare for them.
Tip 2 : Practise atleast 150 Questions.
Tip 3 : Practise for Aptitude Topics too.
Tip 1 : Mention at least 2 Projects on your resume.
Tip 2 : Never fake your resume.
- Morning time
- Environment was good.
- No
- Interviewer was good



s1- Sort to find the Nth term of the GP series.
s2- series is A, A(R), A(R^2), A*(R^3) and so on where A is the first term of GP series
s3- return the answer modulo 10^9 + 7.
s4- print an integer denoting the Nth term of GP in a separate line.



1. Start checking from the end of the linked list and not from the beginning. For example, if the linked list is ( a, b, a ,b, a) and the string is equal to “aba” , then the answer should be (a b), not (b a).
2. After removing an occurrence check again for new formations.
s1- Start checking from the end of the linked list and not from the beginning. For example, if the linked list is ( a, b, a ,b, a) and the string is equal to “aba” , then the answer should be (a b), not (b a).
s2- Return the head of the linked list with updated character nodes after removing occurrences of the string.



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
s1- [1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
s2- line contains one integer representing the length of the longest increasing subsequence.
s3- subsequence sorted in strictly increasing order.
- Morning time
- Environment was good.
- No
- Interviewer was good



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”.
Step 1 : Made a HashMap which stores the frequency of every character in the string
Step 2 : iterated over the map and find out the maximum frequency for it.
Step 3 : again iterated over map and find out the smallest character having max frequency.



s1- It was a basic permutation and combination problem of using binomial cofficients.
s2- an instance of derangement of {0, 1, 2, 3} is {2, 3, 1, 0}, because 2 present at index 0 is not at its initial position which is 2 and similarly for other elements of the sequence.

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?