Tip 1 : Be consistent in coding and contests
Tip 2 : Should have knowledge of system design not whole but basic
Tip 3 : Should have knowledge of design questions
Tip 1 : Have at least 1 project on resume
Tip 2 : Resume should be one page only strictly
Tip 3 : Put some achievements like you got a good rank in a coding contest help you to stand out
It was in the afternoon time at 2 pm


let A = a, B = ac, C = ac.
Now In this example, we can take whole string B to form C or take substring {a} and substring {c} from A and B, respectively to make C. Hence the answer is 2.



Input: ‘N’ = 4, ‘arr’ = [3, 1, 2, 4], 'K' = 6
Output: 2
Explanation: The subarrays that sum up to '6' are: [3, 1, 2], and [2, 4].



Create a frequency array freq to count the number of occurrences of each task.
Sort the freq array in ascending order.
Calculate the maximum frequency maxFreq of any task.
Calculate the number of idle slots idleSlots required by the most frequent task, which is equal to (maxFreq - 1) * n.
Iterate over the remaining tasks in descending order of frequency and subtract the minimum of maxFreq and the frequency of the task from idleSlots.
If idleSlots is still positive, add it to the length of the input task list tasks. Otherwise, return tasks.size().
It was at the morning time at 10 am.
Design LinkedIn
I was able to do some of the following features but didn't able to solve whole as we have to use classes to solve this question efficienty.

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