Tip 1 : Try to cover all the most asked interview questions for each topic
Tip 2 : Read previous year interview experiences
Tip 3 : Focus on your communication skills
Tip 1 : Keep your resume of 1 page
Tip 2 : Mention 2-3 descent projects
Round 1 - Coding Contest on HackerEarth (Elimination round)
Number of questions - 3 ( Level - leetcode Medium)



For a given string “BaaB”
3 possible palindrome partitioning of the given string are:
{“B”, “a”, “a”, “B”}
{“B”, “aa”, “B”}
{“BaaB”}
Every substring of all the above partitions of “BaaB” is a palindrome.






Input: arr[] = {1,1,1,2,2,2}
Output: {1,2,1,2,1,2}
Note: {2,1,2,1,2,1} is also valid because there are no two adjacent elements which are the same.

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