Tip 1 : Practice standard DSA problems from Leetcode.
Tip 2 : Prepare SQL
Tip 1 : Should be updated with all projects and skills
Tip 2 : Should be easy to read
Asked questions from Aptitude and Coding questions



A mapping from Digits to Letters (just like in Nokia 1100) is shown below. Note that 1 does not map to any letter.

A recursive solution is intuitive and common. We keep adding each possible letter recursively and this will generate all the possible strings.



A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:
1. 'ARR[i] > 'ARR[j]'
2. 'i' < 'j'
Where 'i' and 'j' denote the indices ranging from [0, 'N').
Suppose the number of inversions in the left half and right half of the array (let be inv1 and inv2); what kinds of inversions are not accounted for in Inv1 + Inv2? The answer is – the inversions that need to be counted during the merge step. Therefore, to get the total number of inversions that needs to be added are the number of inversions in the left subarray, right subarray, and merge().
Questions on Data Structures and Algorithms


1. The sizes will range from 1 to ‘N’ and will be integers.
2. The sum of the pieces cut should be equal to ‘N’.
3. Consider 1-based indexing.
A naive solution to this problem is to generate all configurations of different pieces and find the highest-priced configuration. This solution is exponential in terms of time complexity.
Therefore rejected.
Optimised approach:We can get the best price by making a cut at different positions and comparing the values obtained after a cut. We can recursively call the same function for a piece obtained after a cut.
Let cutRod(n) be the required (best possible price) value for a rod of length n. cutRod(n) can be written as follows.
cutRod(n) = max(price[i] + cutRod(n-i-1)) for all i in {0, 1 .. n-1}
Discussed the coding problem I solved in the If previous round. How I build my solution and is there any way to optimize?
Questions on the projects in my resume were asked and normal HR like questions

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?