Tip 1: Keep practicing DSA.
Tip 2: Participate in CP contests.
Tip 3: Solve puzzles on different online platforms.
Tip 1: Specify relevant coursework, especially core CS topics.
Tip 2: Have at least two strong projects ready for discussion.
2 Coding Questions,1 was Adhoc, 1 Binary search



Input: n = 9, arr = [ 1, 2, 1, 2, 7, 2, 2, 3, 1 ], k = 3, m = 2
Output: 3.
Explanation: This is because on the 3rd day: all the roses with 'arr[i]' less than equal to 3 have already bloomed, this means every rose except the 5th rose has bloomed. Now we can form the first bouquet from the first three roses and the second bouquet from the last three roses.
The minimum number of days needed lies between the earliest bloom (min(bloomDay)) and the latest bloom (max(bloomDay)). By performing a binary search within this range, we can find the smallest day on which it's possible to create m bouquets of k adjacent flowers. For a given day d, we check if it's possible to form m bouquets by iterating through the bloomDay array and counting consecutive flowers that have bloomed (bloomDay[i] <= d).


The cuts in all the sticks will be of the same length.
You have 4 sticks of sizes 4, 12, 20, 48. Now you want to cut sticks of equal length from each stick. Then you have the following options:
Make all the sticks of unit length.
Make all sticks of 2 unit length, 4(2*2), 12(2*6), 20(2*10), 48(2*24)
Make all the sticks of 4 unit length, 4(4*1), 12(4*3), 20(4*5), 48(4*12)
Hence, the maximum possible length of the stick is 4.
I had already solved it, so I did it right away. To minimize the total cost of making all sticks the same length, the optimal approach is to set the length of all sticks to the median of the stick lengths.
My interviewer was an SWE at Cohesity. I was asked to solve a coding problem on the CodeSignal platform, explain my approach, and pass the three given test cases.



1. You can only move one disk in one move.
2. You can not place a larger disk on top of a smaller disk.
3. You can only move the disk at the top of any rod.
You may assume that initially, the size of the ‘i’th disk from the top of the stack is equal to ‘i’, i.e. the disk at the bottom has size ‘N’, the disk above that has size ‘N - 1’, and so on. The disk at the top has size 1.

I used a set data structure to solve this, though a priority queue could also be used.
The HR round was conducted by a senior software engineer and a manager.
First, I was asked about my projects. It’s helpful to have your web development project deployed online. Then, I was asked about my plans for further studies after graduation, followed by questions about the courses I enjoyed the most.
Tip 1: Have your site deployed.
Tip 2: Be prepared to discuss the courses you highlight on your CV.
Tip 3: If asked about future studies, always say no.

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