Tip 1 : practice daily
Tip 2 : Focus on all data structures
Tip 3 : Build some good projects
Tip 1 : Add projects and Internships if you have done any and add only those things which you really know.



For the given string “deed”, the string is already a palindrome, thus, minimum characters needed to be added are 0.
Similarly, for the given string “abb”, the minimum characters needed is 1 i.e. ‘a’ which is to be added to the end of the string, which makes the string “abba”, which is a palindrome.
You are given a string 'STR' of length 'N' consisting of lowercase English Alphabet letters. Your task is to return the count of minimum characters to be added to make the string a palindrome.
You can add any number of characters at any positions in the string like in the beginning, or between two characters of the string or at the end of the string.



Two nodes of a binary tree are cousins if they have the same depth or level, but have different parents.
No two nodes in the given binary tree will have the same data values.

Given a binary tree of N nodes and a node of this tree, you need to return a list containing the values of the cousins of the given node in the given binary tree sorted by non-decreasing order of their values.




1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Given a binary tree, convert this binary tree into its mirror tree.
A binary tree is a tree in which each parent node has at most two children.
Mirror of a Tree: Mirror of a Binary Tree T is another Binary Tree M(T) with left and right children of all non-leaf nodes interchanged.



The order of elements in the resulting array is not important.
Let the array be [1, 2, -3, 4, -4, -5]. On rearranging the array such that all negative numbers appear before all positive numbers we get the resulting array [-3, -5, -4, 2, 4, 1].
You are given an array 'ARR' consisting of 'N' integers. You need to rearrange the array elements such that all negative numbers appear before all positive numbers.
What makes you angry?
Give me an example of your creativity.
How long would you expect to work for us if hired?
Are not you overqualified for this position?

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