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
This can be solved using stacks and strings, just keep a separate variable along the character and keep counting frequency
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
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?