Tip 1 : Be Consistent
Tip 2 : Solve at least 30 questions from all topics
Tip 1 : Don't fake anything
Tip 2 : Be thorough with whatever you have written



Input String: "aaaa"
Expected Output: "a"
Input String: "aabbbcc"
Expected Output: "abc"
Strings



‘?’ – matches any single character
‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Strings



Arrays
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.



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.
Arrays
Given 2 strings check if they are rotation of each other or not.
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
What is recursion?