Add office photos
Employer?
Claim Account for FREE

Google

4.4
based on 1.8k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

20+ Interview Questions and Answers

Updated 13 Dec 2024
Popular Designations

Q1. If your Wi-Fi router is not working then what you will do to fix it?

Ans.

I will troubleshoot the router by checking the power supply, resetting the router, and checking the network settings.

  • Check if the router is properly plugged in and receiving power

  • Reset the router by turning it off and on again

  • Check the network settings and make sure they are correct

  • Try connecting to the router with a different device

  • If all else fails, contact the internet service provider for assistance

View 13 more answers

Q2. Which technical skills are required to program efficiently ?

Ans.

The technical skills required to program efficiently include programming languages, algorithms, data structures, debugging, and problem-solving.

  • Proficiency in programming languages such as Java, Python, C++, etc.

  • Knowledge of algorithms and their efficiency, including sorting, searching, and graph algorithms.

  • Understanding of data structures like arrays, linked lists, stacks, queues, trees, and hash tables.

  • Ability to debug and troubleshoot code to identify and fix errors.

  • Strong...read more

View 7 more answers

Q3. Given a string of L, M, R, where L means turn to left, R means turn to right and M means take 1 step forward where you are directed. Now suppose you start from origin, and one letter in the string is wrong, tha...

read more
Ans.

The maximum distance that can be reached if one instruction in a string of L, M, R is wrong.

  • The maximum distance can be reached by following the correct instructions and then taking the opposite direction of the wrong instruction.

  • For example, if the string is 'LMRM', the correct path would be 'LMR' and then taking a step in the opposite direction of 'M'.

  • Calculate the distance by summing up the steps taken in the correct path and subtracting the step taken in the wrong directi...read more

View 1 answer

Q4. What do you know about software engineering and theoretically knowledge

Ans.

Software engineering is the process of designing, developing, testing, and maintaining software.

  • It involves using engineering principles to create high-quality software

  • It includes various stages such as requirements gathering, design, coding, testing, and maintenance

  • Theoretical knowledge includes understanding of algorithms, data structures, programming languages, and software design patterns

  • Examples of software engineering practices include Agile, Waterfall, and DevOps metho...read more

View 3 more answers
Discover null interview dos and don'ts from real experiences

Q5. find position of element which is greater than twice of all other elements

Ans.

Find index of element greater than twice of all other elements in array

  • Iterate through the array to find the maximum element

  • Iterate through the array again to check if any element is greater than twice the maximum element

  • Return the index of the element if found, otherwise return -1

Add your answer

Q6. difference between software computing and hardware computing.

Ans.

Software computing involves writing and executing code, while hardware computing involves physical components like processors and memory.

  • Software computing involves writing code to perform tasks, while hardware computing involves physical components like processors and memory.

  • Software computing focuses on algorithms and logic, while hardware computing focuses on the physical execution of those algorithms.

  • Examples of software computing include programming languages like Java o...read more

Add your answer
Are these interview questions helpful?

Q7. what is spring? and features? importance

Ans.

Spring is a popular Java framework for building web applications and microservices.

  • Spring provides a comprehensive programming and configuration model for modern Java-based enterprise applications.

  • It offers features like dependency injection, aspect-oriented programming, and transaction management.

  • Spring Boot is a popular extension of the framework that simplifies the process of creating standalone, production-grade Spring-based applications.

  • Spring is important because it hel...read more

Add your answer

Q8. Find the number of maximum continous 1's in an array of 1s and 0s.

Ans.

Iterate through the array and keep track of the maximum continuous 1's count.

  • Iterate through the array and keep track of the current continuous 1's count.

  • Update the maximum count whenever a 0 is encountered.

  • Return the maximum count at the end.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Write the code to effectively manage a hospital system.

Ans.

Code to manage hospital system efficiently.

  • Implement a database to store patient information, medical records, and appointments.

  • Develop a user interface for staff to schedule appointments, view patient records, and manage inventory.

  • Create algorithms for prioritizing patient care based on severity of condition.

  • Integrate billing system for processing payments and insurance claims.

Add your answer

Q10. there is any network using variations?

Ans.

Yes, there are various network variations such as neural networks, deep learning networks, and convolutional networks.

  • Neural networks are a type of machine learning algorithm inspired by the human brain.

  • Deep learning networks are neural networks with multiple layers, allowing them to learn complex patterns.

  • Convolutional networks are commonly used in image recognition tasks, where they apply filters to input data to extract features.

Add your answer

Q11. what is software computing ?

Ans.

Software computing is the process of using software to perform calculations, process data, and solve problems.

  • Software computing involves writing code to instruct computers to perform specific tasks.

  • It includes algorithms, data structures, and programming languages.

  • Examples include creating applications, developing websites, and analyzing data.

  • Software computing is essential for automation, data processing, and decision-making.

Add your answer

Q12. LRU cache implementation in most optimised way O(1)

Ans.

Use a combination of hashmap and doubly linked list to achieve O(1) time complexity for LRU cache implementation.

  • Use a hashmap to store key-value pairs for quick access.

  • Use a doubly linked list to keep track of the most recently used items.

  • Whenever an item is accessed, move it to the front of the linked list.

  • When the cache is full, remove the least recently used item from the end of the linked list.

Add your answer

Q13. Return triplets where sum is zero

Ans.

Find unique triplets in an array that sum up to zero.

  • Sort the array first to easily identify duplicates.

  • Use two pointers technique to find the triplets.

  • Skip duplicates to avoid duplicate triplets.

  • Handle edge cases like all zeros or all positive/negative numbers.

  • Time complexity can be improved to O(n^2) using two pointers approach.

Add your answer

Q14. find union and intersection of two sorted array

Ans.

Find union and intersection of two sorted arrays

  • To find the union, merge both arrays and remove duplicates

  • To find the intersection, iterate through both arrays and compare elements

Add your answer

Q15. java8 is why so popular?

Ans.

Java8 is popular due to its new features like lambda expressions, streams, and functional interfaces.

  • Lambda expressions provide concise code and simplify functional programming.

  • Streams allow for efficient processing of large data sets.

  • Functional interfaces enable the use of lambda expressions.

  • Java8 also introduced new APIs like Optional and Date/Time API.

  • Java8 is backward compatible with previous versions of Java.

  • Java8 is widely used in enterprise applications and big data pr...read more

Add your answer

Q16. Longest Palindromic Subsequence

Ans.

The longest palindromic subsequence problem is to find the length of the longest subsequence in a given string that is a palindrome.

  • A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.

  • Dynamic programming can be used to solve this problem efficiently.

  • For example, in the string 'character', the longest palindromic subsequence is 'carac', which has a length of 5.

Add your answer

Q17. Full from of pdf ?

Ans.

PDF stands for Portable Document Format.

  • PDF is a file format used to present and exchange documents reliably, independent of software, hardware, or operating system.

  • It was developed by Adobe Systems in 1993.

  • PDF files can contain text, images, hyperlinks, interactive buttons, forms, and more.

  • PDFs can be viewed and printed on any device with a PDF reader, such as Adobe Acrobat Reader or Preview on Mac.

  • PDFs can also be edited using software such as Adobe Acrobat Pro or online to...read more

Add your answer

Q18. Rotate the matrix 90 degrees clockwise

Ans.

Rotate an n x n 2D matrix by 90 degrees clockwise in-place without using extra space.

  • Iterate through each layer of the matrix, swapping elements in groups of 4

  • Use variables to store temporary values during swapping

  • Reverse the rows of the matrix to rotate it 90 degrees clockwise

Add your answer

Q19. Given a string, find the decoded string

Ans.

Decode a given string to find the decoded string

  • Use a stack to keep track of characters and their counts

  • Iterate through the string and push characters onto the stack until a number is encountered

  • When a number is encountered, update the count of the previous character on the stack

Add your answer

Q20. Trees - minimum number of islands

Ans.

Count the minimum number of islands in a given grid of trees.

  • Iterate through the grid and for each tree, perform a depth-first search to mark all connected trees as visited.

  • Increment the island count for each new island found.

  • Return the total number of islands at the end.

Add your answer

Q21. performance for server

Ans.

Optimizing server performance involves analyzing bottlenecks, improving code efficiency, and scaling resources.

  • Identify and address bottlenecks in the server infrastructure.

  • Optimize code for efficiency by reducing unnecessary operations and improving algorithms.

  • Scale resources such as CPU, memory, and storage based on workload demands.

  • Implement caching mechanisms to reduce database queries and improve response times.

Add your answer

More about working at Google

Top Rated Large Company - 2024
Top Rated Internet/Product Company - 2024
HQ - Mountain View,California, United States
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at null

based on 57 interviews in the last 1 year
3 Interview rounds
Coding Test Round
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 155 Interview Questions
5.0
 • 21 Interview Questions
2.6
 • 18 Interview Questions
3.4
 • 17 Interview Questions
3.6
 • 13 Interview Questions
3.9
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter