Tip 1 - Practice Atleast 250 Questions
Tip 2 - Ex- Do atleast 2 projects
Tip 1 : Have some projects on your resume.
Tip 2 : Do not put false things on your resume.



1. A binary tree is a tree in which each node has at most two children.
2. The given tree will be non-empty.
3. The given tree can have multiple nodes with the same value.
4. If there are no nodes in the tree which are at distance = K from the given node, return an empty list.
5. You can return the list of values of valid nodes in any order. For example if the valid nodes have values 1,2,3, then you can return {1,2,3} or {3,1,2} etc.

Consider this tree above. The target node is 5 and K = 3. The nodes at distance 1 from node 5 are {2}, nodes at distance 2 from node 5 are {1, 4} and nodes at distance 3 from node 5 are {6, 3}.
We can do a level order traversal and keep track of the level. when the current level is equal to k, print all the nodes of that level.



Step 1: simply traverse the tree level by level (level order traversal)
Step 2: store the sum of node values in even no. level in evenSum and rest in variable oddSum
Step 3: finally return the difference.
This interview is based completely on Networking concepts. They expect you to answer in complete depth and be as detailed as possible. It is very normal for the interviewer to keep typing on the laptop to record your answers while you speak, so speak only what you are sure about, but do not be intimidated by it. A few questions that were asked:
Suppose I have a brand new laptop and I wish to connect it to the internet. What should I do, and what shall happen in background before the laptop is connected to the internet?
(Ans. Manually assigning IP address or DHCP and DORA procedure. They expect you to explain in depth about DHCP and DORA)
What happens in background when I write www.amazon.com on my web browser and hit enter?
The complete process starting from how IP address request is sent from browser to OS to the DNS resolver and further, and how IP address is sent back to browser; after which the three-way-handshake procedure to establish TCP connection, and then how a request and response is generated followed by interpretation of HTML and Javascript along with images/sounds
What are few methods of HTTP, what is HTTPs, is the port number different for HTTPs, how is SSL related to HTTPs, explain SSL handshake?
Tip 1 : Study all the networking concepts in detail
Tip 2 : Try to be detailed about your answers.
This round was based on Operating Systems and troubleshooting. Just like Interview 1, they expect you to answer in-depth.
What are different types of memory present in a computer?
Tip 1 : Read Galvin for OS thoroughly.
Explain the concept of virtual memory. If it’s not present in hardware, how does it store data? Explain framing, segmentation and paging.?
Explain the entire boot process of windows. (choice was given between Windows and Linux)

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?