Tip 1 : Coding practice
Tip 2 : Project Details
Tip 3 : New technology details
Tip 1 : Have some project details
Tip 2 : Positive things on your resume



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”.
Using hash map in Java 8



‘STR’ = “i am a Ninja”, ‘N’ = 3 and ‘WORDS[]’ = [“Ninja”,”a”,”am”]. Then the output should be [1,1,1]. Because the occurrence of “Ninja” in ‘STR’ is 1 and the occurrence of “a” in ‘STR’ is 1.Similarly occurrence of “am” is 1.
The output should be in the same order as given in ‘WORDS’.
Using Hash map

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