Tip 1 : Practice atleast 30 questions of each topic of DSA
Tip 2 : Do practice OOPS thoroughly for the interview part. For the coding round practice arrays, strings, linked list and trees as much as you can.
Tip 3 : Make a blue print of Operating system note while preparing it and just revise it before your interview and coding round.
Tip 1 : Make your resume short and try to make it of one page only
Tip 2 : mention all your skills which you are confident of in your resume.



Example: String "aabbbcdcdcd" will be encrypted as "a2b3cd3".
Input string will always be lowercase characters without any spaces.
If the count of a substring is 1 then also it will be followed by Integer '1'.
Example: "aabcdee" will be Encrypted as "a2bcd1e2"
This means it's guaranteed that each substring is followed by some Integer.
Also, the frequency of encrypted substring can be of more than one digit. For example, in "ab12c3", ab is repeated 12 times. No leading 0 is present in the frequency of substring.
The frequency of a repeated substring can also be in parts.
Example: "aaaabbbb" can also have "a2a2b3b1" as Encrypted String.
I have done this problem earlier so got the DP based approach during the test and this approach passed all the test cases.
We have data of employees of a company and we have to remove the duplicate entries of emails.



The pair consists of equal absolute values, one being positive and another negative.
Return an empty array, if no such pair exists.
I asked for some clarifications whether I should print all distinct x‘s or if I should print an x if a pair of +x and -x is encountered. The first approach I told was to use a map and I was keeping a flag for +x and -x if it’s found once. Later he asked me to print all pairs, so I stored the frequencies of all the elements in the map and iterated through the negative elements and for each element x , I would print x min(count[-x],count[+x]) times. He said he can’t afford that much space and he wanted me to optimise space further. So I told him a 2 pointer approach where I sort the array once and then keep two pointers to the start and end. I would move the start pointer forward if the sum is less than 0 and I’ll move the end pointer backward if the sum is greater than 0. He was fine with the solution and asked me to code it in a paper. I wrote the code and walked him through it.
Introduce yourself
Where do you see yourself in 5 years?
Tip 1 : Answers these ques like in upcoming years, I see myself as a knowledgeable professional in my company and will like to attain maximum growth.
Mention your skill and weaknesses
Tip 1 : Answer this question like: I have a good problem-solving skill, which I consider as my biggest strength. And I am a curious person to learn the new technologies and doing work on challenging projects
Tip 2 : My strengths include an ability to work effectively as a part of team.
I am committed and focused towards the task I have been given.

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?