Tip 1 : Practice DSA daily
Tip 2 : Have confidence that you will be able to crack interviews
Tip 3 : Do as many projects as possible with learning.
Tip 4 : Be a master in at least one new tool.
Tip 1 : Have development projects if you are aiming for a developer role
Tip 2 : Mention your coding and hackathon achievements
Timing - Afternoon
Good and friendly environment.



You can only move down or right at any point in time.
I used Dynamic programming for this question. It was a simple one.
Initialized the first row and column and then followed with the logic to fill the other cells.



If two numbers have the same frequency then keep the one that was present before the other in the original given list (array) first.
Input: arr[] = {2, 5, 2, 8, 5, 6, 8, 8}
Output: arr[] = {8, 8, 8, 2, 2, 5, 5, 6}
Explanation :
When you sort the array based on the decreasing order of the frequency of repetition of integers in the original array,
you’ll find that the element ‘8’ is the integer with the most repeated values therefore it would be arranged first after which since both 2 and 5 have the same number of repeated
values in the original array but since the 2 arrived first so we will first arrange 2 and then 5 in our resultant array, while would be the last element after sorting here.
Used hashmap for this one



The order in which the groups and members of the groups are printed does not matter.
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.

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