Cannot disclose will reveal identity
Software Engineer Staff Interview Questions
2,548 software engineer staff interview questions shared by candidates
We are working on a clone of Google Docs that allows users to collaborate on documents. Many users can work on the same document at the same time. We have 100 instances of our service running on 100 different machines. Each document needs to be managed exclusively by one instance while it is in use, but one instance can handle multiple documents at once. We have a simple load-balancing system. Because each document has a random numeric ID found in the URL, we use the value of (id % num_instances) to route traffic. For example, with 100 jobs, traffic for document #314814196 is routed to the instance with index 96. How will this system perform as the usage grows?
We are working on a clone of Facebook. We want to add a numeric count to every post showing how many friends the post" author has at the time of viewing the post, like this: Marie McWilliams (105 friends) I had a great day today, feeling good! Our database has two tables: USER 'user_id' (primary key) 'name' 'created_date' USER_RELATIONSHIP 'friendship_id' (primary key, unique to each relationship) 'user1_id' (indexed) 'user2_id' (indexed) 'start_date' Focusing on the database, how would you implement the friend-count feature? Note we will soon be more popular than Facebook, so the solution needs to scale.
Can you describe a time when a solution you proposed turned out to not be practical or performant.
design distributed, high performance, fault-tolerant, scaling cache layer
Simple Database questions. Join queries etc.
Just to relate my work experience to the roles they were expecting to happen.
1. Given two strings - find number of same character at same position and number of present character but at diffrenet position 2. Find highest sum of contiguous array elements for a given array. 3. print 1-100 using three threads, even using 1st, odd using second and a delemeter using 3rd
What is the difference between composition and inheritance? When would you use 1 over the other?
Given a product that has Ethernet and WiFi interfaces, but no display or buttons, how do you connect it securely to the customer's home network?
Viewing 231 - 240 interview questions