Tip 1 : Practice coding from Leetcode, Interview bit, at least 100 questions
Tip 2 : Practice any one automation framework includes design patterns
Tip 1 : Restrict your resume to 1 page and write your practical work only
Tip 2 : Mention top topics like Selenium, Rest Assured Automation, Language used Java etc



Order of numbers should be in the non-decreasing matter.
You are given ‘N’ as 12, so the output should be [1, 2, 3, 4, 5, 6, 7, 8, 9, 11], as all single-digit numbers are palindromic, and 11 is also a palindromic number.
You are given an integer ‘N’. Your task is to find all palindromic numbers from 1 to ‘N’.



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
I followed the recursive approach.
1. Express everything in terms of index
2. Explore all possibilities in subsequences.
3. and then take the max length.



Input: Let the binary tree be:

Output: 2
Explanation: The root node is 3, and the leaf nodes are 1 and 2.
There are two nodes visited when traversing from 3 to 1.
There are two nodes visited when traversing from 3 to 2.
Therefore the height of the binary tree is 2.
From the problem statement, we have 2 arrays -> InOrder and Level order traversal array
1. Create a function and pass InOrder array, levelOrder array, the length(n) of inorder array, start = 0, end = n - 1, h = 0.
2. Get Index of current root in InOrder Traversal
3. Count elements in Left Subtree & Right Subtree.
4. Declare two lists for left and right subtrees
5. Extract values from the level order traversal list for the current left subtree as well as for the current right subtree.
6. Recursively call to calculate the height of the left subtree and right subtree.
7. Return the max height from the left or right subtree.



Step 1 : I used is used to break the sentence into words
Step 2 : T hen compare each individual word of the sentence with the given word.
Step 3 : If the word is found then the function returns true.



Line 1:The first line contains an integer, that denotes the value of N.
Line 2:The following line contains N space-separated integers, that denote the values of the weight of items.
Line 3:The following line contains N space-separated integers, that denote the values associated with the items.
Line 4:The following line contains an integer that denotes the value of W. W denotes the maximum weight that a thief can carry.



Step 1 : sorting the array
Step 2 : After sorting, by comparing every 3 consecutive elements we can it is valid triplet or not.

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