Tip 1: Be through with your projects on what you have worked with
Tip 2: Ensure the skillsets you mentioned in your resume are well reflected when asked questions about them. I mentioned Python programming in my resume, and they asked me to design a DNS-based API in Python
Tip 1: Include only known and worked-on concepts in your resume. Please don't bluff or exaggerate.
Tip 2: Our resume must show that we are flexible and have worked on multiple domains. So try to do and add
at least two projects to your resume that are of different domains.
Tip 3: The resume must look professional and include only a few personal details.



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 clarifications on whether I should print all distinct x‘s or print an x if a pair of +x and -x is encountered. The first approach I told was to use a map, and I kept 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 harmful elements, and for each element x, I would print x min(count[-x],count[+x]) times. He said he couldn’t afford that much space and wanted me to optimize space further. So I told him a two 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 the end pointer backward if the sum is greater than 0. He was OK with the solution and asked me to code it in a paper. I wrote the code and walked him through it.
I was asked to design the Splitwise app APIs in my favorite language using the editor of my choice—design Splitwise APIs with the following functionalities - 1. Create User2. Create Group3. Add user to group.4. Add Bill to a Group.5. Get balance/settlement of a group.6. Get balance/settlement of a user.7. Allow configurable option to simplify the debts of users in a group. Additional: 1 user can be part of multiple groups, and 1 group can have multiple users and multiple bills.
Step 1: Defined the entities
Step 2: Define their relationships and identify 1-to-1 and 1-to-many relationships.
Step 3: Define the database and how it will perform the operations.
Step 4: Define the classes, methods, and relationships using the suitable framework (in my case, I used Python with Django).
Step 5: Write the code for individual methods to finish the code.
Step 6: Write unit-test cases using a suitable testing framework.



The series is 1-based indexed.
I solved the problem using the dynamic programming concept, creating a 1-D array and using the previous two values to calculate the next final leading to the final result.



The length of each word should be less than or equal to ‘M’.
You can’t break a word, i.e. the entire word should come in the same line and it must not be the case that a part of it comes in the first line and another part on the next line.
I first used recursion and then converted it to a dynamic programming-based solution.
Mostly, the interviewer enquired about the projects I did in my previous organizations, trying to find out the breadth I have worked on and judge whether I knew about it.
Tip 1: Always answer using the STAR (Situation, Task, Action, Result) model. It helps the person understand the complete story of your project/task.

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?