Upload Button Icon Add office photos

Google

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Google Sdet Interview Questions, Process, and Tips

Updated 28 Oct 2024

Top Google Sdet Interview Questions and Answers

  • Q1. How to design a search engine? If each document contains a set of keywords, and is associated with a numeric attribute, how to build indices?
  • Q2. Most phones now have full keyboards. Before there there three letters mapped to a number button. Describe how you would go about implementing spelling and word suggestion ...read more
  • Q3. Given an array of integers which is circularly sorted, how do you find a given integer
View all 11 questions

Google Sdet Interview Experiences

2 interviews found

Sdet Interview Questions & Answers

user image Rahul c

posted on 28 Oct 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Walk-in and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Coding Test 

Solve sanke and ladder puzzle

Interview Preparation Tips

Interview preparation tips for other job seekers - learn DSA

Sdet Interview Questions & Answers

user image Anonymous

posted on 8 Jun 2015

Interview Questionnaire 

12 Questions

  • Q1. Efficiently implement 3 stacks in a single array
  • Ans. 

    Implement 3 stacks in a single array efficiently

    • Divide the array into 3 equal parts

    • Use pointers to keep track of top of each stack

    • Implement push and pop operations for each stack

    • Handle stack overflow and underflow cases

  • Answered by AI
  • Q2. Given an array of integers which is circularly sorted, how do you find a given integer
  • Ans. 

    To find a given integer in a circularly sorted array of integers, use binary search with slight modifications.

    • Find the middle element of the array.

    • If the middle element is the target, return its index.

    • If the left half of the array is sorted and the target is within that range, search the left half.

    • If the right half of the array is sorted and the target is within that range, search the right half.

    • If the left half is not...

  • Answered by AI
  • Q3. Write a program to find depth of binary search tree without using recursion
  • Ans. 

    Program to find depth of binary search tree without recursion

    • Use a stack to keep track of nodes and their depths

    • Iteratively traverse the tree and update the maximum depth

    • Return the maximum depth once traversal is complete

  • Answered by AI
  • Q4. Find the maximum rectangle (in terms of area) under a histogram in linear time
  • Ans. 

    Find the maximum rectangle (in terms of area) under a histogram in linear time

    • Use a stack to keep track of the bars in the histogram

    • For each bar, calculate the area of the rectangle it can form

    • Pop the bars from the stack until a smaller bar is encountered

    • Keep track of the maximum area seen so far

    • Return the maximum area

  • Answered by AI
  • Q5. Most phones now have full keyboards. Before there there three letters mapped to a number button. Describe how you would go about implementing spelling and word suggestions as people type
  • Ans. 

    Implement spelling and word suggestions for full keyboard phones

    • Create a dictionary of commonly used words

    • Use algorithms like Trie or Levenshtein distance to suggest words

    • Implement auto-correct feature

  • Answered by AI
  • Q6. Describe recursive mergesort and its runtime. Write an iterative version in C++/Java/Python
  • Ans. 

    Recursive mergesort divides array into halves, sorts them and merges them back. O(nlogn) runtime.

    • Divide array into halves recursively

    • Sort each half recursively using mergesort

    • Merge the sorted halves back together

    • Runtime is O(nlogn)

    • Iterative version can be written using a stack or queue

  • Answered by AI
  • Q7. How would you determine if someone has won a game of tic-tac-toe on a board of any size?
  • Ans. 

    To determine if someone has won a game of tic-tac-toe on a board of any size, we need to check all possible winning combinations.

    • Create a function to check all rows, columns, and diagonals for a winning combination

    • Loop through the board and call the function for each row, column, and diagonal

    • If a winning combination is found, return the player who won

    • If no winning combination is found and the board is full, return 'Tie...

  • Answered by AI
  • Q8. Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division
  • Ans. 

    Replace each number in an array with the product of all other numbers without using division.

    • Iterate through the array and calculate the product of all numbers to the left of the current index.

    • Then, iterate through the array again and calculate the product of all numbers to the right of the current index.

    • Multiply the left and right products to get the final product and replace the current index with it.

  • Answered by AI
  • Q9. Create a cache with fast look up that only stores the N most recently accessed items
  • Ans. 

    Create a cache with fast look up that only stores the N most recently accessed items

    • Implement a hash table with doubly linked list to store the items

    • Use a counter to keep track of the most recently accessed items

    • When the cache is full, remove the least recently accessed item

  • Answered by AI
  • Q10. How to design a search engine? If each document contains a set of keywords, and is associated with a numeric attribute, how to build indices?
  • Ans. 

    To design a search engine with keyword-based document indexing and numeric attributes, we need to build appropriate indices.

    • Create an inverted index for each keyword, mapping it to the documents that contain it

    • For numeric attributes, use a B-tree or other appropriate data structure to store the values and their associated documents

    • Combine the indices to allow for complex queries, such as keyword and attribute filters

    • Co...

  • Answered by AI
  • Q11. Given two files that has list of words (one per line), write a program to show the intersection
  • Ans. 

    Program to find intersection of words in two files

    • Read both files and store words in two arrays

    • Loop through one array and check if word exists in other array

    • Print the common words

  • Answered by AI
  • Q12. What kind of data structure would you use to index annagrams of words? e.g. if there exists the word ?top? in the database, the query for ?pot? should list that

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Sdet Interview Questions Asked at Other Companies

Q1. Given a M x N 2D array containing random alphabets and a function ... read more
asked in Amazon
Q2. what happen between, when you enter a URL into a browser address ... read more
asked in InMobi
Q3. In a line where words are separated by spaces, , and capitalize f ... read more
Q4. Given a circular linked list containing sorted elements (int valu ... read more
asked in Amazon
Q5. how will you check that each page of amazon.com is having its log ... read more

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Instahyre and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Coding Test 

It was on hackerrank(OA). There were two string and array based medium question.(Part of Blind 75 list)

Sdet Interview Questions & Answers

Oracle user image Anonymous

posted on 14 Jun 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Write selenium code for getting values in a dynamic table
  • Ans. 

    Use Selenium to extract values from a dynamic table

    • Identify the table using its locator (id, class, xpath, etc.)

    • Iterate through the rows and columns of the table to extract values

    • Use Selenium commands like findElements and getText to retrieve the values

    • Handle dynamic content by waiting for elements to be present or visible

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Java union of arrays
  • Ans. 

    To find the union of two arrays in Java, use a HashSet to store unique elements from both arrays.

    • Create two arrays of strings.

    • Convert arrays to HashSet to remove duplicates.

    • Combine both HashSets to get the union of arrays.

  • Answered by AI
Round 3 - One-on-one 

(1 Question)

  • Q1. Regular Expressions related

Interview Preparation Tips

Interview preparation tips for other job seekers - Be good with Basics and lots of practice is the key

Skills evaluated in this interview

Sdet Interview Questions & Answers

Adobe user image Anonymous

posted on 20 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Coding practice is a must . DSA concept is a must .

Round 3 - Aptitude Test 

Coding Test 2 which involved a basic array ques . Checked logic ability

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA practice ,confidence , try to think hard . Practice coding .

Interview Questionnaire 

4 Questions

  • Q1. Given a M x N 2D array containing random alphabets and a function Dict(string word) which returns whether the 'word' is a valid English word. Find all possible valid words you can get from the 2D array, wh...
  • Ans. 

    Given a 2D array of alphabets and a function to check valid English words, find all possible valid words adjacent to each other.

    • Create a recursive function to traverse the 2D array and check for valid words

    • Use memoization to avoid redundant checks

    • Consider edge cases such as words with repeating letters

    • Optimize the algorithm for time and space complexity

  • Answered by AI
  • Q2. Given a circular linked list containing sorted elements (int value). The head of the linked list points to a random node (not necessarily to the smallest or largest element). Problem is top write a code wh...
  • Ans. 

    Insert a node at its correct position in a circular linked list containing sorted elements.

    • Traverse the linked list until the correct position is found

    • Handle the case where the value to be inserted is smaller than the smallest element or larger than the largest element

    • Update the pointers of the neighboring nodes to insert the new node

    • Consider the case where the linked list has only one node

  • Answered by AI
  • Q3. Suppose you are asked to design the Contacts feature for a mobile, what are the features you will enable for the same? Also, how will you test each of those feature?
  • Q4. Describe how does the McDonald's system work, starting from placing the order, transferring of the order to kitchen, billing and the final delivery to customer, in terms of data structures used, informatio...

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I was interviewed in Oct 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Explain your day to day Activities
  • Q2. More into role specific question how to run parallels execution
Round 2 - Technical 

(1 Question)

  • Q1. Situation questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepare everything that you have mentioned in Resume
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Print missing number in given array
  • Ans. 

    Find and print the missing number in a given array of strings.

    • Convert the array of strings to an array of integers for easier manipulation.

    • Iterate through the array to find the missing number by comparing consecutive elements.

    • Print the missing number once found.

  • Answered by AI
  • Q2. Print string in reverse
  • Ans. 

    Reverse a string in an array of strings

    • Iterate through each string in the array

    • Use a loop to reverse each string character by character

    • Store the reversed strings in a new array

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. How do you manage differences in team
  • Q2. How do you test faulty ATM
  • Ans. 

    To test a faulty ATM, simulate various scenarios like card reader failure, cash dispenser malfunction, network connectivity issues, etc.

    • Simulate card reader failure by inserting a damaged card or a card with a magnetic strip issue.

    • Test cash dispenser malfunction by requesting cash withdrawal and observing if the correct amount is dispensed.

    • Check for network connectivity issues by trying to access online banking service...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Sql question, selenium, Testng
Round 2 - Technical 

(1 Question)

  • Q1. Sql database questions
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Coding Test 

Frequency array, java collection, missing number

Google Interview FAQs

How many rounds are there in Google Sdet interview?
Google interview process usually has 1 rounds. The most common rounds in the Google interview process are Coding Test.
What are the top questions asked in Google Sdet interview?

Some of the top questions asked at the Google Sdet interview -

  1. How to design a search engine? If each document contains a set of keywords, and...read more
  2. Most phones now have full keyboards. Before there there three letters mapped to...read more
  3. Given an array of integers which is circularly sorted, how do you find a given ...read more

Tell us how to improve this page.

Google Sdet Interview Process

based on 2 interviews

Interview experience

4.5
  
Good
View more

Sdet Interview Questions from Similar Companies

Amazon Sdet Interview Questions
4.1
 • 5 Interviews
Oracle Sdet Interview Questions
3.7
 • 3 Interviews
Apple Sdet Interview Questions
4.3
 • 2 Interviews
Adobe Sdet Interview Questions
3.9
 • 1 Interview
View all
Google Sdet Salary
based on 14 salaries
₹34.7 L/yr - ₹85 L/yr
256% more than the average Sdet Salary in India
View more details

Google Sdet Reviews and Ratings

based on 1 review

5.0/5

Rating in categories

5.0

Skill development

5.0

Work-life balance

5.0

Salary

5.0

Job security

5.0

Company culture

5.0

Promotions

5.0

Work satisfaction

Explore 1 Review and Rating
Software Engineer
1.3k salaries
unlock blur

₹19 L/yr - ₹80 L/yr

Software Developer
1.1k salaries
unlock blur

₹21.3 L/yr - ₹60 L/yr

Senior Software Engineer
641 salaries
unlock blur

₹23.7 L/yr - ₹86.3 L/yr

Sde1
255 salaries
unlock blur

₹14 L/yr - ₹55 L/yr

Data Scientist
251 salaries
unlock blur

₹28.5 L/yr - ₹60 L/yr

Explore more salaries
Compare Google with

Yahoo

4.6
Compare

Amazon

4.1
Compare

Facebook

4.4
Compare

Microsoft Corporation

4.0
Compare
Did you find this page helpful?
Yes No
write
Share an Interview