Tip 1 : Practice a lot
Tip 2 : Spend time on your resume
Tip 1: Have relevant projects
Tip 2: Clearly state things in simple language
online



Used DFS



1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'.
3. 'arr' can be rotated only in the right direction.
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2
Output: 3
Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).
applied binary search



‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6
For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
used DP



used DP
Asked about a couple of my projects and how they could be made scalable and applied to real world problems
Tip 1: Think outside the box
Tip 2: Speak your mind out, there are no wrong answers here

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?