Tip 1 : Speed up your logical thoughts
Tip 2 : Try to write code on notepad without any intelligence from IDE
Tip 3 : Focus on basic questions as well
Tip 1 : Focus on DSA in resume
Tip 2 : Mention the skills in which you are comfortable
The round started at 8:30 pm and lasted at 9:20
The interview was taken by some guy from google in Munich.

The name of the cake should start with 'c', 'a', 'k', 'e', or 's'.
No two cakes should begin with the same letter.
Let 'N' = 4, S = ["choco", "apple", "kesar", "strawberry"].
There exist 4 different ways to choose three cakes following all the required conditions i.e. {"choco", "apple", "kesar"}, {"choco", "apple", "strawberry"}, {"choco", "strawberry", "kesar"}, {"strawberry", "apple", "kesar"}.
Yes, I am able to solve the problem but I have taken much more time than expected.
There is only only one point notice in that problem is that time is bounded and if time is given in minutes than we have at max 1439 minutes .
for exp: 01:01 am is =61
similarly we can find the minutes conversion .
this will take complexity upto O(n)


Input: [1,2,3,1]
Output: 4
Mr. X. can rob the first house and the third house, total money = 1 + 3.
Hence, the total money robbed by Mr. X. is 4.

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?