Tip 1 : Keep doing problems consistently
Tip 2 : Start as early as possible so that you can have sufficient time to complete DSA along with the revision.
Tip 3 : Showcase a good project in resume and have sound knowledge of it.
Tip 1 : Have good projects in resume and definition of good is not tuff it simply means what you make you should be able to explain it.
Tip 2 : Try to make project that solve any real life problem, and it can be anything (a good example can be a contest reminder as I tend to miss my contests frequently then I decide to make a project on it.)
Tip 3 : Never ever put those things on resume that you don't know. It's not about quantity it's about quality.
It is in afternoon, there were two coding questions in my case one is from strings and another is on api's.



1. The string ‘S’ consists of only lowercase English alphabets.
2. A ‘substring’ is a contiguous sequence of characters within a string.
3. Recall that vowels in lowercase English alphabets are: {‘a’, ‘e’, ‘i’, ‘o’, ‘u’}.
I first think about the brute force for it. Fortunately I was able to think of it in first 10-15 minutes. Facing problem to implement what I thought initially. But eventually ended up all test cases passed.



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

It is tuff actually as it is live code pairing round and first question interviewer asked from me is from DP. Although interviewer is supportive.



It is a recursive problem so I first thought in that direction then I found there were subproblems that were overlapping then I thought about DP.



Rotation of envelope is not allowed, that is, height and width can’t be exchanged
It is slight variation of LIS, fortunately I saw it before.
It is tuff actually as it is live code pairing round and first question interviewer asked from me is from DP. Although interviewer is supportive.



Let the given string be “(()())((”.
Here the valid parentheses substrings are: “()”, “()” and “(()())”. Out of these the longest valid string is “(()())” which has a length 6.
It is a recursive problem so I first thought in that direction then I found there were subproblems that were overlapping then I thought about DP.



I explained to him brute force first, which takes O(n log n) and constant extra space, after it, I tell him the second approach which runs in O(n) time but takes O(n) extra space.
It is in afternoon I guess 3:30 to 4:00 and interviewer was some manager in Dunzo but very polite and yeah we had a great discussion on project along with behavioural questions.
1. What were my favourite subjects in my academics?
2. Which project I am proud of?
3. Why do I want to join DUNZO? Why not any other organisation?
4. What difficulties did I face when I learned the new tech stack and how did I overcome it?
5. How do I keep myself updated?
6. Which Data Structures I am currently studying?
7. Then he asked me if I have any questions for him. I asked two questions.
Tip 1 : Walkthrough in the code of project so you must know about project properly.
Tip 2 : Read about behavioural questions before.
Tip 3 : Brush up your knowledge on DSA.

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?