Tip 1 : Prepare well for core subjects
Tip 2 : Know about latest tech used for designing system
Tip 3 : Prepare and practice coding
Tip 1 : Write a 1 page resume
Tip 2 : Highlight projects and experience
General Aptitude
Coding MCQs
2 Coding questions
All sections were time-bound and if you jump ahead in sections, you can’t go back. Interviews.
1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
For the given BST, if we want to delete the node with data 5 :
The modified BST will be:
Please notice that another valid answer is:
1. The node which we want to delete will always be present in the given tree.
2. If after deletion the tree becomes empty, print -1.
Introduce yourself (which programming language you prefer, etc.).
What is threading? Anywhere you have used it? Why use processes when we have threads?
Why C++? C++ vs python questions were asked like which consumes more space.
What are ACID properties? Are modern databases always consistent? If one server talks to another, and that one talks to another, and they don’t have the copies of each other’s DB in their local buffers, can it lead to an inconsistent state? (In short study OS, and DBMS well).
Given a tree and a target node’s address, find all of its cousins. (Can only use recursive stack space, no queue, no map, only recursive stack space allowed).
Given a table consisting of employee_id, employee_name, and manager_id (who is itself an employee), write SQL query to get the names of all employees and their managers. (famous question)
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you write a single-line comment in C++?