Google Easy Questions

Easy

601 easy problems asked at Google interviews

Top Topics

Questions

TitleDifficulty
Two SumEasy
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Best Time to Buy and Sell StockEasy
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Recyclable and Low Fat ProductsEasy
Valid ParenthesesEasy
Majority ElementEasy
Roman to IntegerEasy
Remove Duplicates from Sorted ArrayEasy
Climbing StairsEasy
Merge Two Sorted ListsEasy
Reverse Linked ListEasy
Add Two IntegersEasy
Remove ElementEasy
Move ZeroesEasy
Pascal's TriangleEasy
Single NumberEasy
Concatenation of ArrayEasy
Valid AnagramEasy
Find the Index of the First Occurrence in a StringEasy
Search Insert PositionEasy
Plus OneEasy
Logger Rate LimiterEasy
Max Consecutive OnesEasy
Happy NumberEasy
Add BinaryEasy
Combine Two TablesEasy
Power of TwoEasy
Binary SearchEasy
Valid PalindromeEasy
Contains DuplicateEasy
Intersection of Two ArraysEasy
Sqrt(x)Easy
Palindrome Linked ListEasy
Middle of the Linked ListEasy
Find All Numbers Disappeared in an ArrayEasy
Linked List CycleEasy
Contains Duplicate IIEasy
Running Sum of 1d ArrayEasy
Same TreeEasy
Fibonacci NumberEasy
Length of Last WordEasy
Reverse Vowels of a StringEasy
Isomorphic StringsEasy
Missing NumberEasy
Diameter of Binary TreeEasy
Create a DataFrame from ListEasy
Unique Number of OccurrencesEasy
Maximum Average Subarray IEasy
Article Views IEasy
Check if Array Is Sorted and RotatedEasy
Reverse StringEasy
Big CountriesEasy
Find Customer RefereeEasy
Power of ThreeEasy
Squares of a Sorted ArrayEasy
First Unique Character in a StringEasy
Invert Binary TreeEasy
Greatest Common Divisor of StringsEasy
Find the DifferenceEasy
Rising TemperatureEasy
Employees Earning More Than Their ManagersEasy
Next Greater Element IEasy
Remove Duplicates from Sorted ListEasy
Symmetric TreeEasy
Is SubsequenceEasy
Add StringsEasy
Intersection of Two Linked ListsEasy
First Bad VersionEasy
Binary Tree Inorder TraversalEasy
Ransom NoteEasy
Fizz BuzzEasy
Rotate StringEasy
Summary RangesEasy
Implement Stack using QueuesEasy
Average Time of Process per MachineEasy
Can Place FlowersEasy
CounterEasy
Find Missing and Repeated ValuesEasy
Can Make Arithmetic Progression From SequenceEasy
Valid Palindrome IIEasy
Maximum Depth of Binary TreeEasy
Moving Average from Data StreamEasy
Assign CookiesEasy
Employee BonusEasy
Add DigitsEasy
Implement Queue using StacksEasy
Repeated Substring PatternEasy
Min Cost Climbing StairsEasy
Kth Missing Positive NumberEasy
Shuffle the ArrayEasy
Set MismatchEasy
Backspace String CompareEasy
Reverse String IIEasy
Richest Customer WealthEasy
Balanced Binary TreeEasy
Kth Largest Element in a StreamEasy
Remove Outermost ParenthesesEasy
Score of a StringEasy
Transpose MatrixEasy
Average Selling PriceEasy
Rank Transform of an ArrayEasy
Binary Tree PathsEasy
Find Pivot IndexEasy
Find X-Sum of All K-Long Subarrays IEasy
Replace Employee ID With The Unique IdentifierEasy
Customer Who Visited but Did Not Make Any TransactionsEasy
Convert Sorted Array to Binary Search TreeEasy
Type of TriangleEasy
Remove Linked List ElementsEasy
Excel Sheet Column TitleEasy
Range Sum Query - ImmutableEasy
Ugly NumberEasy
Longest PalindromeEasy
Flood FillEasy
Students and ExaminationsEasy
Maximum Score After Splitting a StringEasy
Largest Triangle AreaEasy
Number of 1 BitsEasy
Jewels and StonesEasy
Kids With the Greatest Number of CandiesEasy
Flipping an ImageEasy
Third Maximum NumberEasy
Minimum Absolute Difference in BSTEasy
Duplicate ZerosEasy
Check If N and Its Double ExistEasy
Find the Difference of Two ArraysEasy
How Many Numbers Are Smaller Than the Current NumberEasy
Detect CapitalEasy
Array Prototype LastEasy
Robot Return to OriginEasy
Number of Good PairsEasy
Intersection of Two Arrays IIEasy
Build Array from PermutationEasy
Make The String GreatEasy
Missing RangesEasy
Find the Highest AltitudeEasy
Triangle JudgementEasy
Two Sum IV - Input is a BSTEasy
Binary Tree Preorder TraversalEasy
Island PerimeterEasy
First Letter to Appear TwiceEasy
Valid Word AbbreviationEasy
Find Target Indices After Sorting ArrayEasy
Customers Who Never OrderEasy
Duplicate EmailsEasy
Pascal's Triangle IIEasy
Path SumEasy
Water BottlesEasy
X of a Kind in a Deck of CardsEasy
Relative RanksEasy
Convert 1D Array Into 2D ArrayEasy
To Be Or Not To BeEasy
Invalid TweetsEasy
Counting Words With a Given PrefixEasy
Find All K-Distant Indices in an ArrayEasy
Project Employees IEasy
Number of Recent CallsEasy
Find if Path Exists in GraphEasy
Valid Mountain ArrayEasy
Binary WatchEasy
Find Mode in Binary Search TreeEasy
Toeplitz MatrixEasy
Adjacent Increasing Subarrays Detection IEasy
Buddy StringsEasy
Unique Email AddressesEasy
Merge Two 2D Arrays by Summing ValuesEasy
Largest Number At Least Twice of OthersEasy
Remove All Adjacent Duplicates In StringEasy
Reverse BitsEasy
Queries Quality and PercentageEasy
Valid Perfect SquareEasy
User Activity for the Past 30 Days IEasy
Sort Array By ParityEasy
Special Positions in a Binary MatrixEasy
Longest Harmonious SubsequenceEasy
Guess Number Higher or LowerEasy
Count Complete Tree NodesEasy
Power of FourEasy
Special Array IEasy
Defanging an IP AddressEasy
Delete Columns to Make SortedEasy
Find Numbers with Even Number of DigitsEasy
Minimum Pair Removal to Sort Array IEasy
Find N Unique Integers Sum up to ZeroEasy
Counting BitsEasy
Nim GameEasy
Special Array With X Elements Greater Than or Equal XEasy
Largest Local Values in a MatrixEasy
Student Attendance Record IEasy
Delete Duplicate EmailsEasy
N-th Tribonacci NumberEasy
Word PatternEasy
Clear DigitsEasy
Percentage of Users Attended a ContestEasy
License Key FormattingEasy
Decompress Run-Length Encoded ListEasy
Evaluate Boolean Binary TreeEasy
Maximum Number of Words Found in SentencesEasy
Latest Time by Replacing Hidden DigitsEasy
DI String MatchEasy
Print in OrderEasy
Divide an Array Into Subarrays With Minimum Cost IEasy
Not Boring MoviesEasy
Find the K-th Character in String Game IEasy
Return Length of Arguments PassedEasy
The Number of Employees Which Report to Each EmployeeEasy
Largest Odd Number in StringEasy
Design Compressed String IteratorEasy
Minimum Distance Between BST NodesEasy
Determine if Two Events Have ConflictEasy
Most Frequent Number Following Key In an ArrayEasy
Check if Number Has Equal Digit Count and Digit ValueEasy
Sentence SimilarityEasy
Valid BoomerangEasy
Single-Row KeyboardEasy
Closest Binary Search Tree ValueEasy
Confusing NumberEasy
Reverse Only LettersEasy
Left and Right Sum DifferencesEasy
Search in a Binary Search TreeEasy
Final Value of Variable After Performing OperationsEasy
Number of Students Unable to Eat LunchEasy
Subtree of Another TreeEasy
SleepEasy
Divisor GameEasy
Finding 3-Digit Even NumbersEasy
Meeting RoomsEasy
Fruits Into Baskets IIEasy
Minimum Depth of Binary TreeEasy
Product Sales Analysis IEasy
Convert Binary Number in a Linked List to IntegerEasy
Binary Tree Postorder TraversalEasy
Last Stone WeightEasy
Self Dividing NumbersEasy
Number of Equivalent Domino PairsEasy
Element Appearing More Than 25% In Sorted ArrayEasy
Rearrange Spaces Between WordsEasy
Number of Valid Clock TimesEasy
Replace All Digits with CharactersEasy
Strobogrammatic NumberEasy
Count Prefixes of a Given StringEasy
Count AsterisksEasy
Merge Similar ItemsEasy
Shortest Completing WordEasy
Mean of Array After Removing Some ElementsEasy
Find Anagram MappingsEasy
Perfect NumberEasy
Count Negative Numbers in a Sorted MatrixEasy
Minimum Absolute DifferenceEasy
Valid Phone NumbersEasy
Shuffle StringEasy
Final Prices With a Special Discount in a ShopEasy
Lemonade ChangeEasy
Fix Names in a TableEasy
Find the Town JudgeEasy
Find the Maximum Achievable NumberEasy
Apply Transform Over Each Element in ArrayEasy
Calculate Money in Leetcode BankEasy
Baseball GameEasy
Calculate Compressed MeanEasy
Find Expensive CitiesEasy
Loan TypesEasy
Ant on the BoundaryEasy
Count Good TripletsEasy
Arranging CoinsEasy
Range Sum of BSTEasy
Find Smallest Letter Greater Than TargetEasy
Fair Candy SwapEasy
Employees Whose Manager Left the CompanyEasy
Defuse the BombEasy
Time Needed to Buy TicketsEasy
Flip GameEasy
Rings and RodsEasy
Smallest Index With Equal ValueEasy
Minimum Number of Operations to Convert TimeEasy
Palindrome PermutationEasy
Valid Word SquareEasy
Longest Uncommon Subsequence IEasy
Extract Kth Character From The Rope TreeEasy
Similar RGB ColorEasy
Count Houses in a Circular StreetEasy
Positions of Large GroupsEasy
Find Champion IEasy
Occurrences After BigramEasy
Distance Between Bus StopsEasy
Latest Time You Can Obtain After Replacing CharactersEasy
Largest Subarray Length KEasy
Find Customers With Positive Revenue this YearEasy
Find Followers CountEasy
Subtract the Product and Sum of Digits of an IntegerEasy
Trionic Array IEasy
Array PartitionEasy
N-Repeated Element in Size 2N ArrayEasy
Complement of Base 10 IntegerEasy
Check if the Sentence Is PangramEasy
Count Odd Numbers in an Interval RangeEasy
Find Common CharactersEasy
Count Hills and Valleys in an ArrayEasy
Divisible and Non-divisible Sums DifferenceEasy
Monotonic ArrayEasy
Number of Steps to Reduce a Number to ZeroEasy
Root Equals Sum of ChildrenEasy
Keyboard RowEasy
Design HashMapEasy
Counter IIEasy
Sort Array by Increasing FrequencyEasy
Excel Sheet Column NumberEasy
Longest Continuous Increasing SubsequenceEasy
Count Square Sum TriplesEasy
Game Play Analysis IEasy
Binary Number with Alternating BitsEasy
Count Binary SubstringsEasy
Design HashSetEasy
Matrix Diagonal SumEasy
Number of Common FactorsEasy
Replace Elements with Greatest Element on Right SideEasy
String Matching in an ArrayEasy
Largest 3-Same-Digit Number in StringEasy
Convert Integer to the Sum of Two No-Zero IntegersEasy
Reverse Words in a String IIIEasy
Relative Sort ArrayEasy
Primary Department for Each EmployeeEasy
Long Pressed NameEasy
Maximum Product of Three NumbersEasy
Number of Unique Subjects Taught by Each TeacherEasy
Binary GapEasy
Minimum Operations to Make Array Sum Divisible by KEasy
Minimum Time Visiting All PointsEasy
Sorting the SentenceEasy
Minimum Value to Get Positive Step by Step SumEasy
Base 7Easy
Maximum Nesting Depth of the ParenthesesEasy
Find Words Containing CharacterEasy
Sum of Left LeavesEasy
Get the Size of a DataFrameEasy
Take Gifts From the Richest PileEasy
To Lower CaseEasy
Maximum Ascending Subarray SumEasy
Delete Characters to Make Fancy StringEasy
Apply Operations to an ArrayEasy
Smallest Number With All Set BitsEasy
Maximum Population YearEasy
Maximum Difference Between Increasing ElementsEasy
Convert a Number to HexadecimalEasy
Customer Placing the Largest Number of OrdersEasy
Count Largest GroupEasy
Shortest Distance to a CharacterEasy
Largest Perimeter TriangleEasy
Count Equal and Divisible Pairs in an ArrayEasy
Two Furthest Houses With Different ColorsEasy
Minimum Common ValueEasy
Reshape the MatrixEasy
Design Parking SystemEasy
Sort Integers by The Number of 1 BitsEasy
Hamming DistanceEasy
Count Vowel Substrings of a StringEasy
Classes With at Least 5 StudentsEasy
Sort ByEasy
Determine Whether Matrix Can Be Obtained By RotationEasy
Day of the YearEasy
Group Sold Products By The DateEasy
Find Greatest Common Divisor of ArrayEasy
Find Closest Number to ZeroEasy
Sum of All Subset XOR TotalsEasy
Sort Array By Parity IIEasy
Maximum 69 NumberEasy
Count Operations to Obtain ZeroEasy
Minimum Recolors to Get K Consecutive Black BlocksEasy
The Two Sneaky Numbers of DigitvilleEasy
Find Subsequence of Length K With the Largest SumEasy
Find the Original Typed String IEasy
Find Lucky Integer in an ArrayEasy
Add Two PromisesEasy
Reverse Prefix of WordEasy
Maximum Units on a TruckEasy
Calculate Special BonusEasy
Degree of an ArrayEasy
Find Resultant Array After Removing AnagramsEasy
Keep Multiplying Found Values by TwoEasy
Check If All 1's Are at Least Length K Places AwayEasy
Earliest Finish Time for Land and Water Rides IEasy
Check if Array is GoodEasy
Find Missing ElementsEasy
Remove Letter To Equalize FrequencyEasy
Smallest Even MultipleEasy
Minimum Difference Between Highest and Lowest of K ScoresEasy
Find Most Frequent Vowel and ConsonantEasy
Tenth LineEasy
Reformat Department TableEasy
Teemo AttackingEasy
Most Common WordEasy
Leaf-Similar TreesEasy
Find Users With Valid E-MailsEasy
Pass the PillowEasy
Number of Senior CitizensEasy
Three Consecutive OddsEasy
Count the Number of Consistent StringsEasy
Merge Two Binary TreesEasy
Cousins in Binary TreeEasy
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Sort the PeopleEasy
Three DivisorsEasy
Minimum String Length After Removing SubstringsEasy
Average of Levels in Binary TreeEasy
Maximum Unique Subarray Sum After DeletionEasy
Minimum Operations to Make Array Values Equal to KEasy
Count Symmetric IntegersEasy
Patients With a ConditionEasy
Largest Number After Digit Swaps by ParityEasy
Valid WordEasy
Maximum Number of Words You Can TypeEasy
Increasing Order Search TreeEasy
Allow One Function CallEasy
Count Pairs Whose Sum is Less than TargetEasy
Function CompositionEasy
Count Elements With Maximum FrequencyEasy
Uncommon Words from Two SentencesEasy
Find Center of Star GraphEasy
Find the Pivot IntegerEasy
Construct the RectangleEasy
Available Captures for RookEasy
1-bit and 2-bit CharactersEasy
Add to Array-Form of IntegerEasy
Count of Matches in TournamentEasy
Find Words That Can Be Formed by CharactersEasy
Find Indices of Stable MountainsEasy
Separate the Digits in an ArrayEasy
Count Partitions with Even Sum DifferenceEasy
Prime Number of Set Bits in Binary RepresentationEasy
Sum of Root To Leaf Binary NumbersEasy
Widest Vertical Area Between Two Points Containing No PointsEasy
Verifying an Alien DictionaryEasy
Max Pair Sum in an ArrayEasy
Actors and Directors Who Cooperated At Least Three TimesEasy
Count the Digits That Divide a NumberEasy
Find Common Elements Between Two ArraysEasy
Number of Lines To Write StringEasy
Number of Days Between Two DatesEasy
Path CrossingEasy
Remove Digit From Number to Maximize ResultEasy
Minimum Bit Flips to Convert NumberEasy
Count Number of Pairs With Absolute Difference KEasy
Maximum Odd Binary NumberEasy
Number ComplementEasy
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Maximum Repeating SubstringEasy
Find Winner on a Tic Tac Toe GameEasy
Convert the TemperatureEasy
Number of Segments in a StringEasy
Maximum Product of Two Elements in an ArrayEasy
Minimum Operations to Make the Array IncreasingEasy
Check if One String Swap Can Make Strings EqualEasy
Minimum Cuts to Divide a CircleEasy
Maximum Value of an Ordered Triplet IEasy
Filter Elements from ArrayEasy
The Latest Login in 2020Easy
Check If Digits Are Equal in String After Operations IEasy
Maximum Difference Between Adjacent Elements in a Circular ArrayEasy
Maximum Subarray With Equal ProductsEasy
Make Array Elements Equal to ZeroEasy
Apple Redistribution into BoxesEasy
Most Frequent Even ElementEasy
Longest Nice SubstringEasy
Count the Number of Special Characters IEasy
Row With Maximum OnesEasy
Univalued Binary TreeEasy
Divide Array Into Equal PairsEasy
Sum of Unique ElementsEasy
Check if Matrix Is X-MatrixEasy
Maximum Product of Two DigitsEasy
Decode the MessageEasy
Minimum Number GameEasy
Minimum Element After Replacement With Digit SumEasy
Check if Strings Can be Made Equal With Operations IEasy
Mirror Distance of an IntegerEasy
Construct Uniform Parity Array IEasy
Construct the Minimum Bitwise Array IEasy
Minimum Number of Pushes to Type Word IEasy
Flip Square Submatrix VerticallyEasy
Furthest Point From OriginEasy
Select DataEasy
Read N Characters Given Read4Easy
The K Weakest Rows in a MatrixEasy
Check If Two String Arrays are EquivalentEasy
Height CheckerEasy
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
N-ary Tree Postorder TraversalEasy
N-ary Tree Preorder TraversalEasy
Minimum Moves to Convert StringEasy
Sum of Digits of String After ConvertEasy
Find the Distance Value Between Two ArraysEasy
Create Target Array in the Given OrderEasy
Day of the WeekEasy
Display the First Three RowsEasy
Maximum Difference by Remapping a DigitEasy
Find the Key of the NumbersEasy
Count Items Matching a RuleEasy
Generate Fibonacci SequenceEasy
Sum of All Odd Length SubarraysEasy
Minimum Number of Operations to Make Elements in Array DistinctEasy
Divide a String Into Groups of Size kEasy
Generate a String With Characters That Have Odd CountsEasy
Maximum Area of Longest Diagonal RectangleEasy
Count Special QuadrupletsEasy
Maximum Difference Between Even and Odd Frequency IEasy
Unique 3-Digit Even NumbersEasy
Find Nearest Point That Has the Same X or Y CoordinateEasy
Longest Subsequence With Limited SumEasy
Coupon Code ValidatorEasy
XOR Operation in an ArrayEasy
Find the Middle Index in ArrayEasy
A Number After a Double ReversalEasy
Reshape Data: ConcatenateEasy
Top TravellersEasy
Zigzag Grid Traversal With SkipEasy
Delete Greatest Value in Each RowEasy
Split the ArrayEasy
Sales Analysis IIIEasy
Find Closest PersonEasy
Find the Number of Winning PlayersEasy
Calculate Delayed Arrival TimeEasy
Smallest Missing Integer Greater Than Sequential Prefix SumEasy
Maximum Count of Positive Integer and Negative IntegerEasy
Number of Even and Odd BitsEasy
Smallest Range IEasy
Biggest Single NumberEasy
Sum of Variable Length SubarraysEasy
Difference Between Element Sum and Digit Sum of an ArrayEasy
Subarrays Distinct Element Sum of Squares IEasy
Maximum Number of BalloonsEasy
Matrix Similarity After Cyclic ShiftsEasy
Traffic Signal ColorEasy
Count Residue PrefixesEasy
Transformed ArrayEasy
Check if Binary String Has at Most One Segment of OnesEasy
Timeout CancellationEasy
Sales PersonEasy
Weighted Word MappingEasy
Array Reduce TransformationEasy
Largest Positive Integer That Exists With Its NegativeEasy
Alternating Groups IEasy
Kth Distinct String in an ArrayEasy
Goal Parser InterpretationEasy
Check if All Characters Have Equal Number of OccurrencesEasy
Projection Area of 3D ShapesEasy
Snake in MatrixEasy
Convert Date to BinaryEasy
Sum of Good NumbersEasy
Final Array State After K Multiplication Operations IEasy
Count Prefix and Suffix Pairs IEasy
Count Substrings That Satisfy K-Constraint IEasy
Change Data TypeEasy
Determine if String Halves Are AlikeEasy
Cells with Odd Values in a MatrixEasy
Split a String in Balanced StringsEasy
Minimum Index Sum of Two ListsEasy
Find the XOR of Numbers Which Appear TwiceEasy
Minimum Amount of Time to Fill CupsEasy
Split With Minimum SumEasy
Count Subarrays of Length Three With a ConditionEasy
Is Object EmptyEasy
Sum of Digits in Base KEasy
Maximum Value of a String in an ArrayEasy
Count Elements With Strictly Smaller and Greater ElementsEasy
Sum of Squares of Special ElementsEasy
Distribute CandiesEasy
Partition Array Into Three Parts With Equal SumEasy
Bank Account Summary IIEasy
Increasing Decreasing StringEasy
Maximize Sum Of Array After K NegationsEasy
Minimum Average of Smallest and Largest ElementsEasy
Fill Missing DataEasy
Minimize String LengthEasy
Rearrange Products TableEasy
Number of Arithmetic TripletsEasy
Find the Largest Almost Missing IntegerEasy
Decrypt String from Alphabet to Integer MappingEasy
Maximum Containers on a ShipEasy
Second Largest Digit in a StringEasy
Smallest Index With Digit Sum Equal to IndexEasy
Sort Even and Odd Indices IndependentlyEasy
Binary Prefix Divisible By 5Easy
Chunk ArrayEasy
Buy Two ChocolatesEasy
Prime In DiagonalEasy
Find Valid Pair of Adjacent Digits in StringEasy
Minimum Deletions for At Most K Distinct CharactersEasy
Reverse Degree of a StringEasy
Find the K-Beauty of a NumberEasy
GCD of Odd and Even SumsEasy
Distribute Money to Maximum ChildrenEasy
Daily Leads and PartnersEasy
Minimum Distance Between Three Equal Elements IEasy
Minimum Distance to the Target ElementEasy
Find Subarrays With Equal SumEasy
Find the PeaksEasy
Get Maximum in Generated ArrayEasy

Showing 601 questions