Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 190Medium 2,498Hard 982
Filters · onDifficulty, topic, company
89 questions
- 73Calculate Test ScoresMediumCodingData·
Google - 74Construct a binary tree given its preorder and inorder traversals.MediumCoding·
Adobe, Amazon - 75Count the number of ways to split a string.EasyCoding·
Google - 76Implement a decode and encode function of a general N-ary tree.MediumCoding·
Google - 77Degrees of FriendshipEasyCoding·
Google - 78Design a task scheduler in Python.MediumCoding·
Google, OpenAI - 79Determine if a given binary tree is a binary search tree (BST).MediumCoding·
Adobe, Google - 80Determine if two sentences are similar.MediumCodingTechnical·
Google - 81Edit distanceHardCoding·
Adobe, Amazon - 82Fibonacci NumbersEasyCoding·
Adobe, Google - 83Given two strings of equal length, determine if it's possible to form a palindrome by cutting them in half.EasyCoding·
Google - 84Implement a function to justify a list of words within a given width.MediumCoding·
Google, Microsoft - 85Given positions of N kids and M ice cream sellers on a 1D line, find the smallest distance E such that every kid lies within the range [P - E, P + E] of at least one seller.MediumCoding·
Google - 86Reverse a SentenceEasyCoding·
Adobe, Apple - 87Reverse a linked list.EasyCoding·
Adobe, Apple - 88Write SQL code to publish the Fibonacci series.MediumCodingData·
Google, Microsoft - 89Tree Node.EasyCodingData·
Google