Tip 1 : Be consistent in solving DSA
Tip 2 : Keep revising core subjects
Tip 1 : Don't fake any thing
Tip 2 : Mention skills at the top



You don't have to print anything, it has already been taken care of. Just implement the given function.
This can be solved using stacks and strings, just keep a separate variable along the character and keep counting frequency



For example, if the input array is: [0, 1, -2, 3, 4, 0, 5, -27, 9, 0], then the output array must be: [1, -2, 3, 4, 5, -27, 9, 0, 0, 0].
This is a preety straightforward question just keep two pointers one at the start and one on second index and keep swapping once you find a 1 and 0 pair.
Design Product Notification for out of stocks products in an eCommerce application.
3 SQL queries( 1 on joins, 1 on nested query, and 1 on group-by).
He wrote around 10 SQL commands and asked to define them.
Difference between Delete, Drop, and Truncate.
Pointers and References.
Struct and Union with respective use cases.
Explain malloc, calloc, etc.
Tip 1: Brush your CS Fundamentals before interview



If the given array is: [0, 0, 1, 0, 1] The largest subarray would be: [0, 1, 0, 1] (last 4 elements) having length 4.
Replace 0's with -1 and now you have to find the sum of subarray with 0 sum and max size, which is standard


Given 2 strings check if they are rotation of each other or not.
Tip 1: Ask clarifying questions
Tip 2: Involve interviewer
Design a Car Rental System. ( I started with a basic design then he asked me to add features like transfer of ownership, etc.)
Normal Forms, ACID properties, and how to make transactions serializable.
Discussion on memory allocation and malloc, calloc, new, etc.
Design TinyURL( only approach was asked.)
Why SAP?
Why should we hire you?
What are your expectations from SAP?
Interests and job location.
What are your long term goals?
What co-curricular activities do you want to do in SAP?

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?