Google Coding Interview Questions
Study our database of real interview questions and answers verified by hiring managers and candidates.
- 73 questions
- 582 companies
- 34 roles
- Last updated Nov 2026
Hot
Recent
Given the root of a binary tree, return the length of the diameter of the tree.


+24 months ago20 answersGiven an nxn grid of 1s and 0s, return the number of islands in the input. Has video answer


+113 months ago28 answersWrite SQL code to publish the Fibonacci series.


6 months ago5 answersDegrees of Friendship
a year ago34 answersCalculate Test Scores
a year ago32 answers- Get your questions answered
Our question database is made possible by user contributions. What were you asked in your most recent interview?
Maximum Profit


6 months ago37 answersDesign a task scheduler.


a month ago16 answersGiven an array of points and a point P, find the k closest points to P.


+16 months ago7 answersGenerate Parentheses Has video answer


+38 months ago21 answersFind the maximum subarray sum.


+153 months ago45 answersFind the maximum product of any two integers in an array.


5 months ago11 answersExplain malloc, calloc, and reelloc.
a year ago1 answerFind the median of two sorted arrays. Has video answer


+69 months ago1 answerNumber Finder
a year ago37 answersFibonacci Numbers


+2a year ago31 answersMerge k sorted linked lists. Has video answer


+114 months ago19 answersSort a binary array in linear time.


+324 days ago10 answersConstruct a binary tree given its preorder and inorder traversals.


+23 months ago16 answers
Showing 21-40 of 73
Popular roles
Interviewed recently?
Help improve our question database (and earn karma) by telling us about your experience
+ Share interview experienceTrending companies
