Twitter Design
Sr Software Engineer Interview Questions
67,402 sr software engineer interview questions shared by candidates
Easy algorithm questions, easy system design question.
Leetcode for technical rounds should be enough. For design definitely concentrate on DB. They go into a lot of details.
What is your favorite Google product?
Nothing was too difficult, but the process is bad because they won't tell you why they won't continue with you.
DSA - Scenaria based, priority quesue was to be used with creating classes
Imagine you are given 10,000 files each containing 1 Million integers. I would you sum all of them and give the final result? ---> Interviewer wanted to test scalability, distributed concepts. He has written the basic code and wanted to improve upon that. Here's the basic code. public getSum(String[] file_names) { int sum = 0; for(String f: file_names) { sum = sum + sumOfFile(f); } return sum; } Questions: What's wrong with above code? Ans: Integer overflow How would you implement sumOfFile? What if 'sumOfFile' takes lot of time to finish computing? How do you fasten the program?
4. Randomly Pick n elements from a given array of m elements.
Did you write an application using our api?
Design, coding and behavior
Viewing 2081 - 2090 interview questions