README.md

May 15, 2022 ยท View on GitHub

leetcode-company-wise-problems-2022

Leetcode Company-wise Problem Lists

Curated lists of Leetcode questions group by companies, updated as of May, 2022.

Shout out to fishercoder1534 for the awesome Leetcode repo for solutions.

Company Index

  1. APT Portfolio
  2. Accenture
  3. Activision
  4. Adobe
  5. Affirm
  6. Airbnb
  7. Akamai
  8. Akuna Capital
  9. Alation
  10. Alibaba
  11. AllinCall
  12. Amazon
  13. American Express
  14. Apple
  15. Arcesium
  16. Arista Networks
  17. Asana
  18. Athenahealth
  19. Atlassian
  20. Baidu
  21. Barclays
  22. BlackRock
  23. Bloomberg
  24. Bolt
  25. Booking
  26. Box
  27. ByteDance
  28. C3 IoT
  29. Canonical
  30. Capital One
  31. Cashfree
  32. Cisco
  33. Citadel
  34. Citrix
  35. Cohesity
  36. Commvault
  37. Coursera
  38. Cruise Automation
  39. DE Shaw
  40. DJI
  41. DRW
  42. Databricks
  43. Dataminr
  44. Dell
  45. Deutsche Bank
  46. Directi
  47. Docusign
  48. DoorDash
  49. Drawbridge
  50. Dropbox
  51. Druva
  52. Dunzo
  53. Duolingo
  54. Epic Systems
  55. Expedia
  56. FPT
  57. Facebook
  58. FactSet
  59. Flipkart
  60. Gilt Groupe
  61. GoDaddy
  62. Goldman Sachs
  63. Google
  64. Grab
  65. HBO
  66. HRT
  67. Honeywell
  68. Hotstar
  69. Huawei
  70. Hulu
  71. IBM
  72. IIT Bombay
  73. IMC
  74. IXL
  75. Indeed
  76. Info Edge
  77. Infosys
  78. Intel
  79. Intuit
  80. JPMorgan
  81. Jane Street
  82. Jeavio
  83. Karat
  84. Leap Motion
  85. LinkedIn
  86. LiveRamp
  87. Lyft
  88. MAQ Software
  89. MakeMyTrip
  90. Mathworks
  91. Mercari
  92. Microsoft
  93. MindTickle
  94. MindTree
  95. Moengage
  96. Morgan Stanley
  97. National Instruments
  98. Netflix
  99. Netsuite
  100. Nuro
  101. Nutanix
  102. Nvidia
  103. OT
  104. Opendoor
  105. Optum
  106. Oracle
  107. Palantir Technologies
  108. PayTM
  109. Paypal
  110. PhonePe
  111. Pinterest
  112. Pocket Gems
  113. Postmates
  114. Pure Storage
  115. Qualcomm
  116. Qualtrics
  117. Quora
  118. Rakuten
  119. Reddit
  120. Redfin
  121. Riot Games
  122. Robinhood
  123. Roblox
  124. Rubrik
  125. Rupeek
  126. SAP
  127. Salesforce
  128. Samsung
  129. Sapient
  130. ServiceNow
  131. Shopee
  132. Snapchat
  133. Softwire
  134. Sony
  135. Splunk
  136. Spotify
  137. Sprinklr
  138. Square
  139. Sumologic
  140. Swiggy
  141. T System
  142. TIAA
  143. Tencent
  144. Tesla
  145. Thumbtack
  146. Tiger Analytics
  147. Toptal
  148. TripleByte
  149. TuSimple
  150. Twilio
  151. Twitch
  152. Twitter
  153. Two Sigma
  154. Uber
  155. United Health Group
  156. VMware
  157. Valve
  158. Virtu Financial
  159. Visa
  160. Walmart Global Tech
  161. Wayfair
  162. Wealthfront
  163. Wish
  164. Works Applications
  165. Yahoo
  166. Yandex
  167. Yelp
  168. ZScaler
  169. Zenefits
  170. Zillow
  171. Zoho
  172. Zomato
  173. Zoom
  174. Zopsmart
  175. eBay
  176. edabit
  177. instacart
  178. payu
  179. peak6
  180. persistent systems
  181. razorpay
  182. tcs
  183. tiktok
  184. zeta suite

APT Portfolio

[back to top]

OccurenceProblemDifficultySolution
1Stone Game VIMediumSolution

Accenture

[back to top]

OccurenceProblemDifficultySolution
3Two SumEasyJava, C++, Javascript
2Count Odd Numbers in an Interval RangeEasySolution
2Merge Two Sorted ListsEasySolution
2Palindrome NumberEasyJava, C++
1Find Subsequence of Length K With the Largest SumEasyJava

Activision

[back to top]

OccurenceProblemDifficultySolution
2Minimum ASCII Delete Sum for Two StringsMediumSolution

Adobe

[back to top]

OccurenceProblemDifficultySolution
52Two SumEasyJava, C++, Javascript
19Median of Two Sorted ArraysHardSolution, C++
16Roman to IntegerEasySolution
13Reverse IntegerEasySolution, C++
12Maximum SubarrayEasySolution
12Contains DuplicateEasySolution
12Longest Palindromic SubstringMediumSolution
11Merge Two Sorted ListsEasySolution
11Longest Common PrefixEasySolution
10Add Two NumbersMediumSolution
9Container With Most WaterMediumSolution
93SumMediumSolution, C++
8Valid ParenthesesEasySolution
8Merge IntervalsMediumSolution
8First Missing PositiveHardSolution
8Best Time to Buy and Sell StockEasySolution
7Search Insert PositionEasySolution
7Search in Rotated Sorted ArrayMediumSolution
7Trapping Rain WaterHardSolution
7Product of Array Except SelfMediumSolution

Affirm

[back to top]

OccurenceProblemDifficultySolution
10Insert Delete GetRandom O(1)MediumSolution
6Design Hit CounterMediumSolution
4Group AnagramsMediumSolution
3Insert Delete GetRandom O(1) - Duplicates allowedHardSolution
3Valid AnagramEasySolution
2Optimal Account BalancingHardSolution

Airbnb

[back to top]

OccurenceProblemDifficultySolution
14Palindrome PairsHardSolution
14Alien DictionarynanSolution
9Flatten 2D VectorMediumSolution
7Smallest Common RegionMediumSolution
6Pour WaterMediumSolution
6Minimum Window SubstringHardSolution
5Combination SumMediumSolution
4Flatten Nested List IteratorMediumSolution
3Design Circular QueueMediumSolution
3Fraction to Recurring DecimalMediumSolution
2Find the Smallest Divisor Given a ThresholdnanSolution
2Tag ValidatorHardSolution
2Intersection of Two Linked ListsEasySolution
1Pyramid Transition MatrixMediumSolution
1Mini ParserMediumSolution

Akamai

[back to top]

OccurenceProblemDifficultySolution
1N-Repeated Element in Size 2N ArrayEasySolution

Akuna Capital

[back to top]

OccurenceProblemDifficultySolution
8Increasing Decreasing StringEasySolution

Alation

[back to top]

OccurenceProblemDifficultySolution
3H-IndexMediumSolution
2Best Time to Buy and Sell StockEasySolution
2Group AnagramsMediumSolution

Alibaba

[back to top]

OccurenceProblemDifficultySolution
1Path Sum IVMediumSolution
1Split Concatenated StringsMediumSolution

AllinCall

[back to top]

OccurenceProblemDifficultySolution
1Number Of Rectangles That Can Form The Largest SquareEasySolution

Amazon

[back to top]

OccurenceProblemDifficultySolution
117Two SumEasyJava, C++, Javascript
117LRU CacheHardSolution
103Number of IslandsMediumSolution
87Merge IntervalsMediumSolution
68Search Suggestions SystemMediumSolution
56Best Time to Buy and Sell StockEasySolution
51Group AnagramsMediumSolution
50Analyze User Website Visit PatternMediumSolution
49Longest Substring Without Repeating CharactersMediumSolution, C++
49K Closest Points to OriginEasySolution
48Meeting Rooms IIMediumSolution
47Merge k Sorted ListsHardSolution
45Trapping Rain WaterHardSolution
443SumMediumSolution, C++
43Valid ParenthesesEasySolution
41Word LadderHardSolution
40Median of Two Sorted ArraysHardSolution, C++
36Add Two NumbersMediumSolution
36Word SearchMediumSolution
35Maximum SubarrayEasySolution

American Express

[back to top]

OccurenceProblemDifficultySolution
3Reorder Routes to Make All Paths Lead to the City ZeroMediumSolution
3Valid PalindromeEasySolution
3Two SumEasyJava, C++, Javascript
2Reducing DishesHardSolution
23SumMediumSolution, C++

Apple

[back to top]

OccurenceProblemDifficultySolution
40Two SumEasyJava, C++, Javascript
20LRU CacheHardSolution
19Add Two NumbersMediumSolution
18Merge IntervalsMediumSolution
17Maximum SubarrayEasySolution
16Longest Substring Without Repeating CharactersMediumSolution, C++
15Median of Two Sorted ArraysHardSolution, C++
14Longest Common PrefixEasySolution
13Roman to IntegerEasySolution
11Spiral MatrixMediumSolution
11Group AnagramsMediumSolution
11Number of IslandsMediumSolution
10Word BreakMediumSolution
10Product of Array Except SelfMediumSolution
103SumMediumSolution, C++
9Generate ParenthesesMediumSolution
8Rotate ImageMediumSolution
8Move ZeroesEasySolution
8Best Time to Buy and Sell StockEasySolution
8Merge k Sorted ListsHardSolution

Arcesium

[back to top]

OccurenceProblemDifficultySolution
4Maximum Length of Subarray With Positive ProductMediumSolution
2Broken CalculatorMediumSolution
2Minimum Size Subarray SumMediumSolution

Arista Networks

[back to top]

OccurenceProblemDifficultySolution
3Valid ParenthesesEasySolution
2Compare Version NumbersEasySolution
2Restore IP AddressesMediumSolution
1Construct String With Repeat LimitMediumJava

Asana

[back to top]

OccurenceProblemDifficultySolution
13Product of Array Except SelfMediumSolution
5K Closest Points to OriginEasySolution

Athenahealth

[back to top]

OccurenceProblemDifficultySolution
4Degree of an ArrayEasySolution

Atlassian

[back to top]

OccurenceProblemDifficultySolution
18Rank Teams by VotesMediumSolution
10Logger Rate LimiterEasySolution
4Lemonade ChangeEasySolution
3Design Snake GameMediumSolution
2Greatest Common Divisor of StringsEasySolution
2Single NumberEasySolution
2Best Time to Buy and Sell StockEasySolution

Baidu

[back to top]

OccurenceProblemDifficultySolution
1Out of Boundary PathsHardSolution
1Zuma GameHardSolution
1Arithmetic Slices II - SubsequenceHardSolution

Barclays

[back to top]

OccurenceProblemDifficultySolution
2Valid ParenthesesEasySolution

BlackRock

[back to top]

OccurenceProblemDifficultySolution
6Group AnagramsMediumSolution
2Evaluate DivisionMediumSolution

Bloomberg

[back to top]

OccurenceProblemDifficultySolution
64Design Underground SystemMediumSolution
33Number of IslandsMediumSolution
33Decode StringMediumSolution
28Flatten a Multilevel Doubly Linked ListMediumSolution
26Remove All Adjacent Duplicates in String IIMediumSolution
23Insert Delete GetRandom O(1)MediumSolution
23Longest Substring Without Repeating CharactersMediumSolution, C++
20Merge IntervalsMediumSolution
20Meeting Rooms IIMediumSolution
20Design an Ordered StreamEasySolution
19LRU CacheHardSolution
16Two SumEasyJava, C++, Javascript
16Add Two NumbersMediumSolution
15Trapping Rain WaterHardSolution
14Validate Binary Search TreeMediumSolution
14Two City SchedulingEasySolution
14Valid ParenthesesEasySolution
14Word SearchMediumSolution
13First Unique Character in a StringEasySolution
12Best Time to Buy and Sell StockEasySolution

Bolt

[back to top]

OccurenceProblemDifficultySolution
5Check if All Characters Have Equal Number of OccurrencesEasySolution
3Reverse Words in a String IIIEasySolution
3Word PatternEasySolution
2Subarray Sum Equals KMediumSolution
2Word Pattern IIHardSolution

Booking

[back to top]

OccurenceProblemDifficultySolution
3Least Number of Unique Integers after K RemovalsMediumSolution
3Backspace String CompareEasySolution
3Additive NumberMediumSolution
2Integer to English WordsHardSolution
2Sliding Window MaximumHardSolution
2Valid ParenthesesEasySolution
1Two Out of ThreeEasyJava

Box

[back to top]

OccurenceProblemDifficultySolution
12Number of 1 BitsEasySolution
4Word Ladder IIHardSolution

ByteDance

[back to top]

OccurenceProblemDifficultySolution
8Merge k Sorted ListsHardSolution
6Number of IslandsMediumSolution
6Search in Rotated Sorted ArrayMediumSolution
6Binary Tree Maximum Path SumHardSolution
5LRU CacheHardSolution
4The MazeMediumSolution
4Basic Calculator IIMediumSolution
4Sliding Window MaximumHardSolution
4The Number of Weak Characters in the GameMediumSolution
3Best Time to Buy and Sell Stock IIEasySolution
3Course Schedule IIMediumSolution
3Longest Valid ParenthesesHardSolution
3Combination SumMediumSolution
3N-QueensHardSolution
3Maximum SubarrayEasySolution
3Best Time to Buy and Sell StockEasySolution
3Sort ListMediumSolution
3Closest Dessert CostMediumSolution
33SumMediumSolution, C++
3Basic CalculatorHardSolution

C3 IoT

[back to top]

OccurenceProblemDifficultySolution
3Pairs of Songs With Total Durations Divisible by 60EasySolution
3Daily TemperaturesMediumSolution
3Generate ParenthesesMediumSolution
2Sort Array by Increasing FrequencyEasySolution

Canonical

[back to top]

OccurenceProblemDifficultySolution
1Divide a String Into Groups of Size kEasyJava

Capital One

[back to top]

OccurenceProblemDifficultySolution
18License Key FormattingMediumSolution
14Count PrimesEasySolution
13Reverse Nodes in k-GroupHardSolution
4Best Time to Buy and Sell StockEasySolution
3Candy CrushMediumSolution
3Integer to RomanMediumSolution
2Rotating the BoxMediumSolution
2Restore the Array From Adjacent PairsMediumSolution
2Add Two NumbersMediumSolution
1Four DivisorsMediumSolution

Cashfree

[back to top]

OccurenceProblemDifficultySolution
1Maximum Erasure ValueMediumSolution

Cisco

[back to top]

OccurenceProblemDifficultySolution
16Word Search IIHardSolution
16Rotate ImageMediumSolution
11Maximum SubarrayEasySolution
11Expressive WordsMediumSolution
9Decode WaysMediumSolution
8Validate IP AddressMediumSolution
8Decode StringMediumSolution
6House RobberEasySolution
6Maximum Difference Between Increasing ElementsEasyJava
5Valid ParenthesesEasySolution
4Number of 1 BitsEasySolution
3Top K Frequent ElementsMediumSolution
3Beautiful ArrangementMediumSolution
3Unique Paths IIMediumSolution
2Coin Change 2MediumSolution
2First Bad VersionEasySolution
2Maximum Population YearEasySolution
2Best Time to Buy and Sell StockEasySolution
2Find Pivot IndexEasySolution
2Merge IntervalsMediumSolution

Citadel

[back to top]

OccurenceProblemDifficultySolution
8Pairs of Songs With Total Durations Divisible by 60EasySolution
5Range AdditionMediumSolution
4Sliding Window MaximumHardSolution
2Transpose MatrixEasySolution
2Best Time to Buy and Sell Stock IVHardSolution
2Trapping Rain WaterHardSolution

Citrix

[back to top]

OccurenceProblemDifficultySolution
1Find All Groups of FarmlandMediumSolution

Cohesity

[back to top]

OccurenceProblemDifficultySolution
2Largest BST SubtreeMediumSolution

Commvault

[back to top]

OccurenceProblemDifficultySolution
1Count Vowel Substrings of a StringEasyJava

Coursera

[back to top]

OccurenceProblemDifficultySolution
2Rank Teams by VotesMediumSolution
2Wildcard MatchingHardSolution

Cruise Automation

[back to top]

OccurenceProblemDifficultySolution
9Unique Paths IIMediumSolution
5Valid SudokuMediumSolution, Javascript
3Synonymous SentencesMediumSolution
3The Skyline ProblemHardSolution
2Product of the Last K NumbersMediumSolution
2Car PoolingMediumSolution
2Decode StringMediumSolution
2Palindrome Permutation IIMediumSolution
2Number of IslandsMediumSolution

DE Shaw

[back to top]

OccurenceProblemDifficultySolution
3Freedom TrailHardSolution
2Sliding Window MaximumHardSolution
1Number of Substrings Containing All Three CharactersMediumSolution

DJI

[back to top]

OccurenceProblemDifficultySolution
1Three Consecutive OddsEasySolution

DRW

[back to top]

OccurenceProblemDifficultySolution
4Reorder Routes to Make All Paths Lead to the City ZeroMediumSolution
1Counting ElementsEasySolution

Databricks

[back to top]

OccurenceProblemDifficultySolution
9Design Hit CounterMediumSolution
2Sparse Matrix MultiplicationMediumSolution
2First Missing PositiveHardSolution

Dataminr

[back to top]

OccurenceProblemDifficultySolution
2Valid ParenthesesEasySolution

Dell

[back to top]

OccurenceProblemDifficultySolution
3Two SumEasyJava, C++, Javascript

Deutsche Bank

[back to top]

OccurenceProblemDifficultySolution
1The Time When the Network Becomes IdleMediumJava
1Minimum Operations to Make the Array IncreasingEasySolution

Directi

[back to top]

OccurenceProblemDifficultySolution
1Find the Winner of an Array GameMediumSolution

Docusign

[back to top]

OccurenceProblemDifficultySolution
5Number of IslandsMediumSolution
3Maximum SubarrayEasySolution
2Implement Trie II (Prefix Tree)MediumSolution
2Rectangle OverlapEasySolution
2MinesweeperMediumSolution
2LRU CacheHardSolution
2Best Time to Buy and Sell StockEasySolution

DoorDash

[back to top]

OccurenceProblemDifficultySolution
18Binary Tree Maximum Path SumHardSolution
13Buddy StringsEasySolution
11Walls and GatesMediumSolution
7Minimum Number of Steps to Make Two Strings AnagramEasySolution
7Asteroid CollisionMediumSolution
7Serialize and Deserialize Binary TreeHardSolution
6Basic CalculatorHardSolution
5Shortest Distance from All BuildingsHardSolution
5Longest Common SubsequenceMediumSolution
5Number of IslandsMediumSolution
4Integer to English WordsHardSolution
4Sudoku SolverHardSolution
4Design In-Memory File SystemHardSolution
4Car PoolingMediumSolution
3Path Sum IIIEasySolution
3Jump GameMediumSolution
3Jump Game IIHardSolution
3Find Nearest Point That Has the Same X or Y CoordinateEasySolution
2K-diff Pairs in an ArrayEasySolution
2Subarray Sum Equals KMediumSolution

Drawbridge

[back to top]

OccurenceProblemDifficultySolution
1Set Intersection Size At Least TwoHardSolution

Dropbox

[back to top]

OccurenceProblemDifficultySolution
6Find Duplicate File in SystemMediumSolution
5Game of LifeMediumSolution
2Max Area of IslandMediumSolution
2Design Phone DirectoryMediumSolution
2Number of IslandsMediumSolution
1Seat Reservation ManagerMediumSolution

Druva

[back to top]

OccurenceProblemDifficultySolution
1Maximize Sum Of Array After K NegationsEasySolution

Dunzo

[back to top]

OccurenceProblemDifficultySolution
2Maximum Number of Coins You Can GetMediumSolution
2Max Sum of Rectangle No Larger Than KHardSolution
1Stone Game VIIMediumSolution
1Ways to Make a Fair ArrayMediumJavascript

Duolingo

[back to top]

OccurenceProblemDifficultySolution
2Minimum Number of People to TeachMediumSolution

Epic Systems

[back to top]

OccurenceProblemDifficultySolution
3Letter Combinations of a Phone NumberMediumSolution
2Additive NumberMediumSolution
1Self Dividing NumbersEasySolution

Expedia

[back to top]

OccurenceProblemDifficultySolution
14Reformat DateEasySolution
14Making File Names UniqueMediumSolution
8String CompressionEasySolution
7Two SumEasyJava, C++, Javascript
7Climbing StairsEasySolution
6The kth Factor of nMediumSolution
6Valid ParenthesesEasySolution
5Degree of an ArrayEasySolution
5Best Time to Buy and Sell StockEasySolution
4Best Meeting PointHardSolution
4Least Number of Unique Integers after K RemovalsMediumSolution
3Integer to English WordsHardSolution
3Maximum Difference Between Increasing ElementsEasyJava
2Move ZeroesEasySolution
2Number of Different Integers in a StringMediumSolution
2Palindromic SubstringsMediumSolution
2Find Pivot IndexEasySolution
2Search in Rotated Sorted ArrayMediumSolution
2Subarray Sum Equals KMediumSolution
1Rearrange Words in a SentenceMediumSolution

FPT

[back to top]

OccurenceProblemDifficultySolution
1Find Three Consecutive Integers That Sum to a Given NumberMediumJava

Facebook

[back to top]

OccurenceProblemDifficultySolution
282Minimum Remove to Make Valid ParenthesesMediumSolution
252Valid Palindrome IIEasySolution
188Binary Tree Vertical Order TraversalMediumSolution
180Lowest Common Ancestor of a Binary TreeMediumSolution
162Pow(x, n)MediumSolution
156Lowest Common Ancestor of a Binary Tree IIIMediumSolution
149Range Sum of BSTMediumSolution
141Subarray Sum Equals KMediumSolution
140Random Pick with WeightMediumSolution
140Kth Largest Element in an ArrayMediumSolution
127K Closest Points to OriginEasySolution
121Dot Product of Two Sparse VectorsEasySolution
118Basic Calculator IIMediumSolution
114Valid Word AbbreviationEasySolution
112Simplify PathMediumSolution
110Merge IntervalsMediumSolution
108Binary Tree Right Side ViewMediumSolution
100Minimum Add to Make Parentheses ValidMediumSolution
100Nested List Weight SumEasySolution
97Top K Frequent ElementsMediumSolution

FactSet

[back to top]

OccurenceProblemDifficultySolution
2Maximal SquareMediumSolution

Flipkart

[back to top]

OccurenceProblemDifficultySolution
7Number of Students Unable to Eat LunchEasySolution
4Car PoolingMediumSolution
3Maximum Number of Coins You Can GetMediumSolution
3Jump GameMediumSolution
2Shortest Subarray to be Removed to Make Array SortedMediumSolution
2Maximum Length of Pair ChainMediumSolution

Gilt Groupe

[back to top]

OccurenceProblemDifficultySolution
1Add One Row to TreeMediumSolution

GoDaddy

[back to top]

OccurenceProblemDifficultySolution
2Battleships in a BoardMediumSolution
2LRU CacheHardSolution

Goldman Sachs

[back to top]

OccurenceProblemDifficultySolution
38Trapping Rain WaterHardSolution
20Height CheckerEasySolution
18Median of Two Sorted ArraysHardSolution, C++
12High FiveEasySolution
11Best Time to Buy and Sell StockEasySolution
11Delete and EarnMediumSolution
9Find Pivot IndexEasySolution
7Two SumEasyJava, C++, Javascript
7Count Number of TeamsMediumSolution
6String CompressionEasySolution
6LRU CacheHardSolution
5Longest Palindromic SubstringMediumSolution
5Fraction Addition and SubtractionMediumSolution
4Elimination GameMediumSolution
4Find the Winner of the Circular GameMediumSolution
43SumMediumSolution, C++
4Longest Substring Without Repeating CharactersMediumSolution, C++
4Minimum Moves to Equal Array ElementsEasySolution
4First Unique Character in a StringEasySolution
3Minimum Path SumMediumSolution

Google

[back to top]

OccurenceProblemDifficultySolution
75Find Leaves of Binary TreeMediumSolution
73Evaluate Reverse Polish NotationMediumSolution
44Two SumEasyJava, C++, Javascript
36Snapshot ArrayEasyJavascript
30Stock Price FluctuationMediumJava
30Minimum Time DifferenceMediumSolution
28Merge IntervalsMediumSolution
27Random Pick with WeightMediumSolution
24Text JustificationHardSolution
22Meeting Rooms IIMediumSolution
22Happy NumberEasySolution
22Logger Rate LimiterEasySolution
21Number of IslandsMediumSolution
19First Bad VersionEasySolution
19Decode StringMediumSolution
17Maximum Points You Can Obtain from CardsMediumSolution
15Unique PathsMediumSolution
15Number of Matching SubsequencesMediumSolution
15Subarray Sum Equals KMediumSolution
14Student Attendance Record IIHardSolution

Grab

[back to top]

OccurenceProblemDifficultySolution
4Bulb Switcher IIIMediumSolution
3Sort ColorsMediumSolution
2Reorder Routes to Make All Paths Lead to the City ZeroMediumSolution
2Number of Steps to Reduce a Number to ZeroEasySolution
2Brick WallMediumSolution
2First Missing PositiveHardSolution
1Minimum Number of Buckets Required to Collect Rainwater from HousesMediumJava

HBO

[back to top]

OccurenceProblemDifficultySolution
2Short Encoding of WordsMediumSolution
2Sliding Window MedianHardSolution

HRT

[back to top]

OccurenceProblemDifficultySolution
7Equal Sum Arrays With Minimum Number of OperationsMediumSolution
324 GameHardSolution
3Find Peak ElementBinary SearchSolution
1Detect Pattern of Length M Repeated K or More TimesEasySolution
1Maximum 69 NumberEasySolution
1Convert Integer to the Sum of Two No-Zero IntegersEasySolution

Honeywell

[back to top]

OccurenceProblemDifficultySolution
1Minimum Distance to the Target ElementEasySolution

Hotstar

[back to top]

OccurenceProblemDifficultySolution
3Asteroid CollisionMediumSolution
2Keys and RoomsEasySolution
2Find K Pairs with Smallest SumsMediumSolution

Huawei

[back to top]

OccurenceProblemDifficultySolution
2Add Two NumbersMediumSolution

Hulu

[back to top]

OccurenceProblemDifficultySolution
1K-th Smallest in Lexicographical OrderHardSolution

IBM

[back to top]

OccurenceProblemDifficultySolution
8Gas StationMediumSolution
8Merge IntervalsMediumSolution
6Most Visited Sector in a Circular TrackEasySolution
6Backspace String CompareEasySolution
4Water BottlesEasySolution
3Degree of an ArrayEasySolution
3Maximal SquareMediumSolution
3Two SumEasyJava, C++, Javascript
2Move ZeroesEasySolution
2Group AnagramsMediumSolution

IIT Bombay

[back to top]

OccurenceProblemDifficultySolution
1Score After Flipping MatrixMediumSolution

IMC

[back to top]

OccurenceProblemDifficultySolution
1Count Artifacts That Can Be ExtractedMediumJava

IXL

[back to top]

OccurenceProblemDifficultySolution
2Design Snake GameMediumSolution
1Find the Derangement of An ArrayMediumSolution

Indeed

[back to top]

OccurenceProblemDifficultySolution
25Subdomain Visit CountEasySolution
9Word SearchMediumSolution
8Maximum Length of Repeated SubarrayMediumSolution
6Find Words That Can Be Formed by CharactersEasySolution
4Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumSolution
3Text JustificationHardSolution
3Merge k Sorted ListsHardSolution
2Merge Sorted ArrayEasySolution
1Sum of Even Numbers After QueriesEasySolution
1Binary Tree TiltEasySolution

Info Edge

[back to top]

OccurenceProblemDifficultySolution
1Find the Minimum and Maximum Number of Nodes Between Critical PointsMediumJava

Infosys

[back to top]

OccurenceProblemDifficultySolution
3Maximum Product SubarrayMediumSolution
2Sort Integers by The Number of 1 BitsEasySolution
2Score of ParenthesesMediumSolution
2Maximum SubarrayEasySolution
24 SumMediumSolution
23SumMediumSolution, C++

Intel

[back to top]

OccurenceProblemDifficultySolution
4Valid ParenthesesEasySolution
3Trapping Rain WaterHardSolution
3Two SumEasyJava, C++, Javascript
2Reverse StringEasySolution
2Sort ColorsMediumSolution

Intuit

[back to top]

OccurenceProblemDifficultySolution
8LRU CacheHardSolution
6Unique Email AddressesEasySolution
4Sudoku SolverHardSolution
3Boats to Save PeopleMediumSolution
2Delete Nodes And Return ForestMediumSolution
2Subdomain Visit CountEasySolution
2Decode StringMediumSolution
2Palindrome Linked ListEasySolution
2Reverse Linked ListEasySolution
2Merge IntervalsMediumSolution
2Trapping Rain WaterHardSolution
2Longest Substring Without Repeating CharactersMediumSolution, C++
2Two SumEasyJava, C++, Javascript

JPMorgan

[back to top]

OccurenceProblemDifficultySolution
69Reconstruct Original Digits from EnglishMediumSolution
8Group AnagramsMediumSolution
5Maximum SubarrayEasySolution
3Even Odd TreeMediumSolution
3Best Time to Buy and Sell StockEasySolution
3Add Two NumbersMediumSolution
3Two SumEasyJava, C++, Javascript
2Maximum Units on a TruckEasySolution
2Minimum Value to Get Positive Step by Step SumEasySolution
2Maximum Number of Events That Can Be AttendedMediumSolution
2Minimum Absolute DifferenceEasySolution
2Intersection of Two ArraysEasySolution
2Counting BitsMediumSolution
2Paint FenceEasySolution
2Longest Substring Without Repeating CharactersMediumSolution, C++
1Determine Color of a Chessboard SquareEasySolution

Jane Street

[back to top]

OccurenceProblemDifficultySolution
1Count Common Words With One OccurrenceEasyJava

Jeavio

[back to top]

OccurenceProblemDifficultySolution
1Minimum Moves to Convert StringEasyJava

Karat

[back to top]

OccurenceProblemDifficultySolution
40Subdomain Visit CountEasySolution
17Word SearchMediumSolution
16Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumSolution
16Maximum Length of Repeated SubarrayMediumSolution
12Find Words That Can Be Formed by CharactersEasySolution
10Text JustificationHardSolution
5Word Search IIHardSolution
4Check if Every Row and Column Contains All NumbersEasyJava
4Course Schedule IIMediumSolution
4Number of IslandsMediumSolution
3Lowest Common Ancestor of a Binary TreeMediumSolution
3Valid SudokuMediumSolution, Javascript
2Longest Common SubsequenceMediumSolution

Leap Motion

[back to top]

OccurenceProblemDifficultySolution
1Generate Random Point in a CircleMediumSolution

LinkedIn

[back to top]

OccurenceProblemDifficultySolution
71Shortest Word Distance IIMediumSolution
48Nested List Weight Sum IIMediumSolution
43Maximum SubarrayEasySolution
34Nested List Weight SumEasySolution
33Valid ParenthesesEasySolution
33Max StackHardSolution
29Maximum Product SubarrayMediumSolution
26Closest Binary Search Tree Value IIHardSolution
21Can Place FlowersEasySolution
18Serialize and Deserialize Binary TreeHardSolution
18Text JustificationHardSolution
18Lowest Common Ancestor of a Binary Search TreeEasySolution
17Search in Rotated Sorted ArrayMediumSolution
17All O`one Data StructureHardSolution
16Number of IslandsMediumSolution
15Insert Delete GetRandom O(1)MediumSolution
14Kth Largest Element in an ArrayMediumSolution
13Find Leaves of Binary TreeMediumSolution
11Shortest Word DistanceEasySolution
11Second Minimum Node In a Binary TreeEasySolution

LiveRamp

[back to top]

OccurenceProblemDifficultySolution
3MinesweeperMediumSolution
3Spiral MatrixMediumSolution
1Longest Harmonious SubsequenceEasySolution
1Distribute CandiesEasySolution

Lyft

[back to top]

OccurenceProblemDifficultySolution
9Minimum Window SubstringHardSolution
8Read N Characters Given Read4 II - Call multiple timesHardSolution
7Time Based Key-Value StoreMediumSolution
7Decode WaysMediumSolution
4Asteroid CollisionMediumSolution
4Water and Jug ProblemMediumSolution
4Range Sum Query 2D - ImmutableMediumSolution
4Word LadderHardSolution
2Max StackHardSolution
2Read N Characters Given Read4EasySolution

MAQ Software

[back to top]

OccurenceProblemDifficultySolution
1Unique Substrings in Wraparound StringMediumSolution

MakeMyTrip

[back to top]

OccurenceProblemDifficultySolution
2Remove All Occurrences of a SubstringMediumSolution
2Remove K DigitsMediumSolution

Mathworks

[back to top]

OccurenceProblemDifficultySolution
5Coin ChangeMediumSolution
5Fraction to Recurring DecimalMediumSolution
3Degree of an ArrayEasySolution
3Minimum Moves to Equal Array ElementsEasySolution
3Distinct SubsequencesHardSolution
2Keyboard RowEasySolution

Mercari

[back to top]

OccurenceProblemDifficultySolution
1Crawler Log FolderEasySolution
1Max Difference You Can Get From Changing an IntegerMediumSolution
1Minimum Subsequence in Non-Increasing OrderEasySolution
1Count Largest GroupEasySolution

Microsoft

[back to top]

OccurenceProblemDifficultySolution
52LRU CacheHardSolution
45Sign of the Product of an ArrayEasySolution
42Number of IslandsMediumSolution
39Two SumEasyJava, C++, Javascript
34Reverse Words in a StringMediumSolution
29Longest Substring Without Repeating CharactersMediumSolution, C++
29Group AnagramsMediumSolution
26Spiral MatrixMediumSolution
24Search in Rotated Sorted ArrayMediumSolution
22Valid ParenthesesEasySolution
22Find N Unique Integers Sum up to ZeroEasySolution
203SumMediumSolution, C++
20Letter Combinations of a Phone NumberMediumSolution
20Serialize and Deserialize Binary TreeHardSolution
18Longest Palindromic SubstringMediumSolution
17Add Two NumbersMediumSolution
17Merge k Sorted ListsHardSolution
17Cinema Seat AllocationMediumSolution
16First Missing PositiveHardSolution
16String to Integer (atoi)MediumSolution

MindTickle

[back to top]

OccurenceProblemDifficultySolution
2Maximum Frequency StackHardSolution

MindTree

[back to top]

OccurenceProblemDifficultySolution
1Count Integers With Even Digit SumEasyJava

Moengage

[back to top]

OccurenceProblemDifficultySolution
1Redistribute Characters to Make All Strings EqualEasySolution

Morgan Stanley

[back to top]

OccurenceProblemDifficultySolution
4Longest Valid ParenthesesHardSolution
33SumMediumSolution, C++
3Two SumEasyJava, C++, Javascript
2LRU CacheHardSolution
2Merge IntervalsMediumSolution
2Search in Rotated Sorted ArrayMediumSolution
1Best Team With No ConflictsMediumSolution

National Instruments

[back to top]

OccurenceProblemDifficultySolution
2Trapping Rain WaterHardSolution

Netflix

[back to top]

OccurenceProblemDifficultySolution
4Rotating the BoxMediumSolution
3Logger Rate LimiterEasySolution
2Reconstruct ItineraryMediumSolution
2Best Time to Buy and Sell StockEasySolution
2Valid ParenthesesEasySolution

Netsuite

[back to top]

OccurenceProblemDifficultySolution
1Average Salary Excluding the Minimum and Maximum SalaryEasySolution

Nuro

[back to top]

OccurenceProblemDifficultySolution
1Subrectangle QueriesMediumSolution

Nutanix

[back to top]

OccurenceProblemDifficultySolution
2Compare Version NumbersEasySolution
2Sudoku SolverHardSolution
1Check If Word Is Valid After SubstitutionsMediumSolution

Nvidia

[back to top]

OccurenceProblemDifficultySolution
8Last Stone WeightEasySolution
4Serialize and Deserialize Binary TreeHardSolution
4Regular Expression MatchingHardJava, Javascript
3Design Circular QueueMediumSolution
3Number of IslandsMediumSolution
3Valid SudokuMediumSolution, Javascript
3Sort ColorsMediumSolution
3LRU CacheHardSolution
3Intersection of Two Linked ListsEasySolution
3Best Time to Buy and Sell Stock IVHardSolution
3Lonely Pixel IMediumSolution
2Degree of an ArrayEasySolution
2Add and Search Word - Data structure designMediumSolution
2Subarray Sum Equals KMediumSolution
2Missing NumbernanSolution
2K Empty SlotsHardSolution
2Search a 2D MatrixMediumSolution
2Merge IntervalsMediumSolution
2Single Element in a Sorted ArrayMediumSolution
2Search in Rotated Sorted ArrayMediumSolution

OT

[back to top]

OccurenceProblemDifficultySolution
1Reducing DishesHardSolution

Opendoor

[back to top]

OccurenceProblemDifficultySolution
10Game of LifeMediumSolution
3Design Excel Sum FormulaHardSolution

Optum

[back to top]

OccurenceProblemDifficultySolution
1Reverse Prefix of WordEasySolution

Oracle

[back to top]

OccurenceProblemDifficultySolution
13LRU CacheHardSolution
13Meeting Rooms IIMediumSolution
9Number of IslandsMediumSolution
7Subarray Sum Equals KMediumSolution
7Longest Palindromic SubstringMediumSolution
7Top K Frequent ElementsMediumSolution
6Decode StringMediumSolution
6Two SumEasyJava, C++, Javascript
6Valid ParenthesesEasySolution
5Search in Rotated Sorted ArrayMediumSolution
5First Unique Character in a StringEasySolution
4Delete Node in a BSTMediumSolution
4Binary Tree Level Order TraversalMediumSolution
4Add Two NumbersMediumSolution
4Longest Substring Without Repeating CharactersMediumSolution, C++
4Merge Two Sorted ListsEasySolution
4Add StringsEasySolution
4Best Time to Buy and Sell StockEasySolution
4Product of Array Except SelfMediumSolution
4Merge IntervalsMediumSolution

Palantir Technologies

[back to top]

OccurenceProblemDifficultySolution
2UTF-8 ValidationMediumSolution
1Check If It Is a Straight LineEasySolution

PayTM

[back to top]

OccurenceProblemDifficultySolution
2Distribute Candies to PeopleEasySolution
2Reverse Words in a String IIIEasySolution
2Maximum SubarrayEasySolution

Paypal

[back to top]

OccurenceProblemDifficultySolution
4Happy NumberEasySolution
3Number of IslandsMediumSolution
3Trapping Rain WaterHardSolution
3Median of Two Sorted ArraysHardSolution, C++
3Two SumEasyJava, C++, Javascript
2Reverse Substrings Between Each Pair of ParenthesesMediumSolution
2Squares of a Sorted ArrayEasySolution
2LRU CacheHardSolution
2Best Time to Buy and Sell StockEasySolution
2ZigZag ConversionEasySolution
2Longest Substring Without Repeating CharactersMediumSolution, C++

PhonePe

[back to top]

OccurenceProblemDifficultySolution
2Distribute Coins in Binary TreeMediumSolution
1Simple Bank SystemMediumJava

Pinterest

[back to top]

OccurenceProblemDifficultySolution
4Parallel Courses IIIHardJava
3Find the CelebrityMediumSolution
2Accounts MergeMediumSolution
2Number of Connected Components in an Undirected GraphMediumSolution
2Word Pattern IIHardSolution
2Alien DictionarynanSolution
2Clone GraphMediumSolution

Pocket Gems

[back to top]

OccurenceProblemDifficultySolution
1Non-negative Integers without Consecutive OnesHardSolution

Postmates

[back to top]

OccurenceProblemDifficultySolution
2Print Words VerticallyMediumSolution
1Determine if Two Strings Are CloseMediumSolution

Pure Storage

[back to top]

OccurenceProblemDifficultySolution
3Maximum Repeating SubstringEasySolution
2Valid SquareMediumJava, Javascript

Qualcomm

[back to top]

OccurenceProblemDifficultySolution
3Reverse BitsEasySolution
2Middle of the Linked ListEasySolution
2Find the Duplicate NumberMediumSolution

Qualtrics

[back to top]

OccurenceProblemDifficultySolution
7Word BreakMediumSolution
6Word LadderHardSolution
53SumMediumSolution, C++
4Max Area of IslandMediumSolution
4Binary Tree Right Side ViewMediumSolution
4Unique Paths IIMediumSolution
4Trapping Rain WaterHardSolution
3First Unique Character in a StringEasySolution
3Number of IslandsMediumSolution
2Sort Integers by The Power ValueMediumSolution
2Fixed PointEasySolution
2Summary RangesMediumSolution
2Longest Consecutive SequenceHardSolution
2Validate Binary Search TreeMediumSolution
2Jump GameMediumSolution

Quora

[back to top]

OccurenceProblemDifficultySolution
3Construct Target Array With Multiple SumsHardSolution
3Subarray Sum Equals KMediumSolution
3Longest Common PrefixEasySolution
2Sliding Window MaximumHardSolution
1Range Frequency QueriesMediumJava
1Maximum Number of Words You Can TypeEasySolution
1Substrings of Size Three with Distinct CharactersEasySolution

Rakuten

[back to top]

OccurenceProblemDifficultySolution
1Sum of Floored PairsHardSolution

Reddit

[back to top]

OccurenceProblemDifficultySolution
3SubsetsMediumSolution
3Text JustificationHardSolution
3Combination Sum IIMediumSolution

Redfin

[back to top]

OccurenceProblemDifficultySolution
3String CompressionEasySolution
3String to Integer (atoi)MediumSolution

Riot Games

[back to top]

OccurenceProblemDifficultySolution
1Teemo AttackingMediumSolution

Robinhood

[back to top]

OccurenceProblemDifficultySolution
8Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumSolution
7Course Schedule IIMediumSolution
3Insert IntervalsHardSolution
1Count Good MealsMediumSolution

Roblox

[back to top]

OccurenceProblemDifficultySolution
5Design Browser HistoryMediumSolution
5Course Schedule IIMediumSolution
4Minimum Falling Path Sum IIHardSolution
2Number of Matching SubsequencesMediumSolution
2Find Peak ElementBinary SearchSolution

Rubrik

[back to top]

OccurenceProblemDifficultySolution
5Snapshot ArrayEasyJavascript
4Kth Smallest Number in Multiplication TableHardSolution
4Trapping Rain WaterHardSolution
2Task SchedulerMediumSolution
2Majority ElementEasySolution
2Read N Characters Given Read4EasySolution
2Edit DistanceHardSolution
2Rotate ImageMediumSolution

Rupeek

[back to top]

OccurenceProblemDifficultySolution
1Find Kth Bit in Nth Binary StringMediumSolution

SAP

[back to top]

OccurenceProblemDifficultySolution
9Monotone Increasing DigitsMediumSolution
4Number of IslandsMediumSolution
3Longest Common PrefixEasySolution
2Prison Cells After N DaysMediumSolution
2Count PrimesEasySolution
2Add Two NumbersMediumSolution
1Maximum Students Taking ExamHardSolution

Salesforce

[back to top]

OccurenceProblemDifficultySolution
19Merge IntervalsMediumSolution
10LRU CacheHardSolution
7Maximum Product of Three NumbersEasySolution
6Largest NumberMediumSolution
6Number of IslandsMediumSolution
6Sliding Window MaximumHardSolution
6Zuma GameHardSolution
5Boats to Save PeopleMediumSolution
3Two SumEasyJava, C++, Javascript
3Min StackEasySolution
3Course Schedule IIMediumSolution
3Maximal SquareMediumSolution
3Construct the Lexicographically Largest Valid SequenceMediumSolution
3Integer to English WordsHardSolution
3Sort ColorsMediumSolution
3Design In-Memory File SystemHardSolution
3Design HashMapEasySolution
3Maximum SubarrayEasySolution
3Group AnagramsMediumSolution
3Minimum Absolute DifferenceEasySolution

Samsung

[back to top]

OccurenceProblemDifficultySolution
3Maximum SubarrayEasySolution
2Range Sum Query 2D - ImmutableMediumSolution
2Reorder ListMediumSolution
2Reverse IntegerEasySolution, C++
2Longest Substring Without Repeating CharactersMediumSolution, C++
2Two SumEasyJava, C++, Javascript
1Maximum Product of Two Elements in an ArrayEasySolution

Sapient

[back to top]

OccurenceProblemDifficultySolution
2Trapping Rain WaterHardSolution

ServiceNow

[back to top]

OccurenceProblemDifficultySolution
4Median of Two Sorted ArraysHardSolution, C++
3Number of IslandsMediumSolution
3Binary Tree Level Order TraversalMediumSolution
3Group AnagramsMediumSolution
3Search in Rotated Sorted ArrayMediumSolution
2Pairs of Songs With Total Durations Divisible by 60EasySolution
2Rectangle OverlapEasySolution
2Subarray Sum Equals KMediumSolution
2Palindrome Linked ListEasySolution
2Best Time to Buy and Sell StockEasySolution
2Maximum SubarrayEasySolution
2Trapping Rain WaterHardSolution
2Valid ParenthesesEasySolution

Shopee

[back to top]

OccurenceProblemDifficultySolution
5Maximum SubarrayEasySolution
4Merge Sorted ArrayEasySolution
4Merge IntervalsMediumSolution
3Palindrome PairsHardSolution
3Number of IslandsMediumSolution
3Construct Binary Tree from Inorder and Postorder TraversalMediumSolution
3Merge Two Sorted ListsEasySolution
2LRU CacheHardSolution
2Merge k Sorted ListsHardSolution

Snapchat

[back to top]

OccurenceProblemDifficultySolution
7Word SearchMediumSolution
5Decode StringMediumSolution
5Sparse Matrix MultiplicationMediumSolution
5Evaluate DivisionMediumSolution
5Word Search IIHardSolution
5Merge IntervalsMediumSolution
4Find Peak ElementBinary SearchSolution
4Implement TrieMediumSolution
4Word LadderHardSolution
3Add BinaryEasySolution
3Binary Tree Maximum Path SumHardSolution
3Basic Calculator IIMediumSolution
3LRU CacheHardSolution
3Word Break IIHardSolution
3Word Ladder IIHardSolution
3Shortest Path in Binary MatrixMediumSolution
3Android Unlock PatternsMediumSolution
3Subarray Sums Divisible by KMediumSolution
3LFU CacheHardSolution
3The MazeMediumSolution

Softwire

[back to top]

OccurenceProblemDifficultySolution
1Second Largest Digit in a StringEasySolution

Sony

[back to top]

OccurenceProblemDifficultySolution
2Reducing DishesHardSolution

Splunk

[back to top]

OccurenceProblemDifficultySolution
2Search in Rotated Sorted ArrayMediumSolution

Spotify

[back to top]

OccurenceProblemDifficultySolution
16Moving Average from Data StreamEasySolution
13Valid ParenthesesEasySolution
10Ransom NoteEasySolution
10Longest Substring Without Repeating CharactersMediumSolution, C++
8Valid AnagramEasySolution
8Two SumEasyJava, C++, Javascript
6Analyze User Website Visit PatternMediumSolution
4Sliding Window MedianHardSolution
4Linked List CycleEasySolution
4Balanced Binary TreeEasySolution
4Maximum Depth of Binary TreeEasySolution
3Longest Consecutive SequenceHardSolution
2Lowest Common Ancestor of a Binary Tree IIIMediumSolution
2Remove All Adjacent Duplicates in String IIMediumSolution

Sprinklr

[back to top]

OccurenceProblemDifficultySolution
2Max Points on a LineHardSolution
2Binary Tree Maximum Path SumHardSolution
2Merge k Sorted ListsHardSolution
1Next Greater Numerically Balanced NumberMediumJava
1Maximum Subarray Sum After One OperationMediumSolution

Square

[back to top]

OccurenceProblemDifficultySolution
3Design Snake GameMediumSolution
3Text JustificationHardSolution
2Rank Teams by VotesMediumSolution
2Available Captures for RookEasySolution
2Unique Morse Code WordsEasySolution
2The MazeMediumSolution
2Number of IslandsMediumSolution
2Minimum Path SumMediumSolution
1Squirrel SimulationMediumSolution

Sumologic

[back to top]

OccurenceProblemDifficultySolution
3Lowest Common Ancestor of a Binary TreeMediumSolution
2Lowest Common Ancestor of a Binary Tree IIIMediumSolution
2K Closest Points to OriginEasySolution
2Decode StringMediumSolution

Swiggy

[back to top]

OccurenceProblemDifficultySolution
4Container With Most WaterMediumSolution
3Letter Combinations of a Phone NumberMediumSolution
2Rabbits in ForestMediumSolution

T System

[back to top]

OccurenceProblemDifficultySolution
1Grid GameMediumJava

TIAA

[back to top]

OccurenceProblemDifficultySolution
1Find Greatest Common Divisor of ArrayEasySolution

Tencent

[back to top]

OccurenceProblemDifficultySolution
1Minimum FactorizationMediumSolution

Tesla

[back to top]

OccurenceProblemDifficultySolution
3Largest Perimeter TriangleEasySolution
3Trapping Rain WaterHardSolution
2Minimum Changes To Make Alternating Binary StringEasySolution
2Find Winner on a Tic Tac Toe GameEasySolution
2Spiral Matrix IIIMediumSolution
2Basic Calculator IIMediumSolution
2Jump Game IIHardSolution
2Generate ParenthesesMediumSolution
23SumMediumSolution, C++

Thumbtack

[back to top]

OccurenceProblemDifficultySolution
1Vowel SpellcheckerMediumSolution

Tiger Analytics

[back to top]

OccurenceProblemDifficultySolution
1Find Closest Number to ZeroEasyJava

Toptal

[back to top]

OccurenceProblemDifficultySolution
3Reformat Phone NumberEasySolution

TripleByte

[back to top]

OccurenceProblemDifficultySolution
4Minimum ASCII Delete Sum for Two StringsMediumSolution

TuSimple

[back to top]

OccurenceProblemDifficultySolution
2Binary Tree Postorder TraversalEasySolution
2Binary Tree Maximum Path SumHardSolution
2Merge k Sorted ListsHardSolution

Twilio

[back to top]

OccurenceProblemDifficultySolution
7LRU CacheHardSolution
5Course Schedule IIMediumSolution
3Subarray Sums Divisible by KMediumSolution
3Sliding Window MaximumHardSolution
3Text JustificationHardSolution
3Group AnagramsMediumSolution
2Sort Array by Increasing FrequencyEasySolution
2Knight DialerMediumSolution
2Binary Tree Maximum Path SumHardSolution

Twitch

[back to top]

OccurenceProblemDifficultySolution
7Battleships in a BoardMediumSolution
2Number of IslandsMediumSolution

Twitter

[back to top]

OccurenceProblemDifficultySolution
23Word SearchMediumSolution
10Finding the Users Active MinutesMediumSolution
7Design Hit CounterMediumSolution
6Tweet Counts Per FrequencyMediumSolution
6Implement TrieMediumSolution
5Insert Delete GetRandom O(1)MediumSolution
5Word Search IIHardSolution
5Design Log Storage SystemMediumSolution
4Paint HouseMediumSolution
4Reconstruct ItineraryMediumSolution
3Minimum Moves to Equal Array ElementsEasySolution
3SubsetsMediumSolution
3Flatten Nested List IteratorMediumSolution
3Rearrange String k Distance ApartHardSolution
3Merge IntervalsMediumSolution
3Accounts MergeMediumSolution
2Random Pick with WeightMediumSolution
2Design Search Autocomplete SystemHardSolution
2Palindromic SubstringsMediumSolution
2Maximum Frequency StackHardSolution

Two Sigma

[back to top]

OccurenceProblemDifficultySolution
4Maximum Product of Splitted Binary TreeMediumSolution
4Multiply StringsMediumSolution
2Top K Frequent WordsMediumSolution

Uber

[back to top]

OccurenceProblemDifficultySolution
36Word Search IIHardSolution
17Word SearchMediumSolution
17Top K Frequent WordsMediumSolution
14Evaluate DivisionMediumSolution
14Merge IntervalsMediumSolution
14Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumSolution
13Random Pick with WeightMediumSolution
12Dungeon GameHardSolution
11Two SumEasyJava, C++, Javascript
11Kth Smallest Element in a BSTMediumSolution
10Leftmost Column with at Least a OneMediumSolution
10Reconstruct ItineraryMediumSolution
9Letter Combinations of a Phone NumberMediumSolution
8Product of Array Except SelfMediumSolution
8Optimal Account BalancingHardSolution
7Construct K Palindrome StringsMediumSolution
7Number of IslandsMediumSolution
7Best Time to Buy and Sell StockEasySolution
7Insert Delete GetRandom O(1)MediumSolution
7MinesweeperMediumSolution

United Health Group

[back to top]

OccurenceProblemDifficultySolution
1Check If All 1's Are at Least Length K Places AwayMediumSolution
1Day of the WeekEasySolution

VMware

[back to top]

OccurenceProblemDifficultySolution
5Longest Substring Without Repeating CharactersMediumSolution, C++
5Valid ParenthesesEasySolution
5Merge IntervalsMediumSolution
4Maximum SubarrayEasySolution
4Course Schedule IIMediumSolution
4Merge k Sorted ListsHardSolution
4Verify Preorder Sequence in Binary Search TreeMediumSolution
4Rotting OrangesMediumSolution
33SumMediumSolution, C++
3Max StackHardSolution
3Search in Rotated Sorted ArrayMediumSolution
3Number of IslandsMediumSolution
3Sort ColorsMediumSolution
2Remove Duplicates from Sorted ArrayEasySolution
2Longest Valid ParenthesesHardSolution
2Search Insert PositionEasySolution
2Group AnagramsMediumSolution
2Median of Two Sorted ArraysHardSolution, C++
2Rearrange Words in a SentenceMediumSolution
2Validate Binary Search TreeMediumSolution

Valve

[back to top]

OccurenceProblemDifficultySolution
1Dota2 SenateMediumSolution

Virtu Financial

[back to top]

OccurenceProblemDifficultySolution
2HexspeakEasySolution
2Array TransformationEasySolution
2How Many Apples Can You Put into the BasketEasySolution
2Count Substrings with Only One Distinct LetterEasySolution
1Count Number of Homogenous SubstringsMediumSolution

Visa

[back to top]

OccurenceProblemDifficultySolution
11Last Stone WeightEasySolution
6Maximal SquareMediumSolution
4Two SumEasyJava, C++, Javascript
4Subarray Sum Equals KMediumSolution
4String CompressionEasySolution
3Group AnagramsMediumSolution
3Backspace String CompareEasySolution
3Minimum Moves to Equal Array ElementsEasySolution
3Meeting Rooms IIMediumSolution
3Linked List CycleEasySolution
3Search in Rotated Sorted ArrayMediumSolution
2Add Two NumbersMediumSolution
2Reverse IntegerEasySolution, C++
2Trapping Rain WaterHardSolution
2Reverse Words in a StringMediumSolution
2Best Time to Buy and Sell StockEasySolution
2Longest Consecutive SequenceHardSolution
2Remove All Adjacent Duplicates in String IIMediumSolution
2Largest NumberMediumSolution
1Create Target Array in the Given OrderEasySolution

Walmart Global Tech

[back to top]

OccurenceProblemDifficultySolution
9Remove Colored Pieces if Both Neighbors are the Same ColorMediumJava
73SumMediumSolution, C++
5Search in Rotated Sorted ArrayMediumSolution
5Group AnagramsMediumSolution
5Merge IntervalsMediumSolution
4Strange PrinterHardSolution
4Best Time to Buy and Sell Stock IIEasySolution
4LRU CacheHardSolution
3Two SumEasyJava, C++, Javascript
3Longest Substring Without Repeating CharactersMediumSolution, C++
3Remove Nth Node From End of ListMediumSolution
3Generate ParenthesesMediumSolution
3Gas StationMediumSolution
3Design HashMapEasySolution
3Best Time to Buy and Sell StockEasySolution
3Degree of an ArrayEasySolution
2Maximum SubarrayEasySolution
2Median of Two Sorted ArraysHardSolution, C++
2Reformat DateEasySolution
2Merge k Sorted ListsHardSolution

Wayfair

[back to top]

OccurenceProblemDifficultySolution
20Add StringsEasySolution
9Subdomain Visit CountEasySolution
7Maximum Length of Repeated SubarrayMediumSolution
5Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumSolution
4The Number of Full Rounds You Have PlayedMediumSolution
4Course Schedule IIMediumSolution
3Valid SudokuMediumSolution, Javascript
2Max Chunks To Make SortedMediumSolution
2Valid PalindromeEasySolution
1Minimum Moves to Reach Target ScoreMediumJava
1Delete Characters to Make Fancy StringEasySolution

Wealthfront

[back to top]

OccurenceProblemDifficultySolution
1Minimum Number of Steps to Make Two Strings Anagram IIMediumJava

Wish

[back to top]

OccurenceProblemDifficultySolution
2Find Right IntervalMediumSolution

Works Applications

[back to top]

OccurenceProblemDifficultySolution
1K Inverse Pairs ArrayHardSolution

Yahoo

[back to top]

OccurenceProblemDifficultySolution
6Add Two NumbersMediumSolution
5Restore IP AddressesMediumSolution
53SumMediumSolution, C++
4Two SumEasyJava, C++, Javascript
4Longest Substring Without Repeating CharactersMediumSolution, C++
4Top K Frequent WordsMediumSolution
4Roman to IntegerEasySolution
4Intersection of Two Arrays IIEasySolution
3Find All Anagrams in a StringEasySolution
3Climbing StairsEasySolution
3Pow(x, n)MediumSolution
3First Unique Character in a StringEasySolution
3LRU CacheHardSolution
3Merge Two Binary TreesEasySolution
3Valid Parenthesis StringMediumSolution
2Divide Two IntegersMediumSolution
2Group AnagramsMediumSolution
2One Edit DistancenanSolution
24 SumMediumSolution
2Palindrome NumberEasyJava, C++

Yandex

[back to top]

OccurenceProblemDifficultySolution
8Maximize Distance to Closest PersonEasySolution
6Move ZeroesEasySolution
6Zigzag IteratorMediumSolution
6Summary RangesMediumSolution
4Permutation in StringMediumSolution
4Merge IntervalsMediumSolution
3Valid ParenthesesEasySolution
3Merge k Sorted ListsHardSolution
3Reverse Linked ListEasySolution
3Longest Subarray of 1's After Deleting One ElementMediumSolution
3Is SubsequenceMediumSolution
3String CompressionEasySolution
3Max StackHardSolution
3Number of Recent CallsEasySolution
2Number of Students Doing Homework at a Given TimeEasySolution
2Line ReflectionMediumSolution
2Evaluate Reverse Polish NotationMediumSolution
2Valid PalindromeEasySolution
2Reverse Words in a String IIIEasySolution
2Median of Two Sorted ArraysHardSolution, C++

Yelp

[back to top]

OccurenceProblemDifficultySolution
5Destination CityEasySolution
4Filter Restaurants by Vegan-Friendly, Price and DistanceMediumSolution
1Minimum Index Sum of Two ListsEasySolution

ZScaler

[back to top]

OccurenceProblemDifficultySolution
1Day of the YearEasySolution

Zenefits

[back to top]

OccurenceProblemDifficultySolution
1Verify Preorder Sequence in Binary Search TreeMediumSolution
1N-Queens IIHardSolution

Zillow

[back to top]

OccurenceProblemDifficultySolution
2Spiral MatrixMediumSolution
2Two SumEasyJava, C++, Javascript

Zoho

[back to top]

OccurenceProblemDifficultySolution
4Two SumEasyJava, C++, Javascript
2K-diff Pairs in an ArrayEasySolution
2Best Time to Buy and Sell StockEasySolution
2Longest Substring Without Repeating CharactersMediumSolution, C++
1Sort Even and Odd Indices IndependentlyEasyJava

Zomato

[back to top]

OccurenceProblemDifficultySolution
2Two SumEasyJava, C++, Javascript

Zoom

[back to top]

OccurenceProblemDifficultySolution
4Rotate StringEasySolution
3Fibonacci NumberEasySolution
2Best Time to Buy and Sell StockEasySolution
2Reverse Nodes in k-GroupHardSolution
2Two SumEasyJava, C++, Javascript

Zopsmart

[back to top]

OccurenceProblemDifficultySolution
1Reverse Nodes in Even Length GroupsMediumJava

eBay

[back to top]

OccurenceProblemDifficultySolution
4Group AnagramsMediumSolution
3Reorganize StringMediumSolution
2Rotating the BoxMediumSolution
2Candy CrushMediumSolution
2Odd Even Linked ListMediumSolution
2Implement Queue using StacksMediumSolution
2Number of IslandsMediumSolution
2Longest Consecutive SequenceHardSolution
2Best Time to Buy and Sell StockEasySolution

edabit

[back to top]

OccurenceProblemDifficultySolution
1Calculate Money in Leetcode BankEasySolution

instacart

[back to top]

OccurenceProblemDifficultySolution
2Check if Every Row and Column Contains All NumbersEasyJava

payu

[back to top]

OccurenceProblemDifficultySolution
2Jump Game IIHardSolution
1Count Operations to Obtain ZeroEasyJava

peak6

[back to top]

OccurenceProblemDifficultySolution
1Coordinate With Maximum Network QualityMediumSolution

persistent systems

[back to top]

OccurenceProblemDifficultySolution
1Minimum Bit Flips to Convert NumberEasyJava

razorpay

[back to top]

OccurenceProblemDifficultySolution
1Two Best Non-Overlapping EventsMediumJava

tcs

[back to top]

OccurenceProblemDifficultySolution
4Move ZeroesEasySolution
3Reverse StringEasySolution
2Contains DuplicateEasySolution
2Rotate ArrayEasySolution
2Best Time to Buy and Sell StockEasySolution
2Valid ParenthesesEasySolution
1Maximum Ascending Subarray SumEasySolution
1Palindrome Partitioning IVHardSolution

tiktok

[back to top]

OccurenceProblemDifficultySolution
13Design a Stack With Increment OperationMediumSolution
10Reformat DateEasySolution
8Maximum SwapMediumSolution
7Course ScheduleMediumSolution
6LRU CacheHardSolution
6Split Array Largest SumHardSolution
6Number of IslandsMediumSolution
6Spiral Matrix IIMediumSolution
6Binary Tree Maximum Path SumHardSolution
5Gas StationMediumSolution
5Decode StringMediumSolution
5Subarray Sum Equals KMediumSolution
5Asteroid CollisionMediumSolution
5Walls and GatesMediumSolution
5Roman to IntegerEasySolution
4Path Sum IIIEasySolution
4Search in Rotated Sorted ArrayMediumSolution
4Count Complete Tree NodesMediumSolution
4Evaluate DivisionMediumSolution
43SumMediumSolution, C++

zeta suite

[back to top]

OccurenceProblemDifficultySolution
1Count Equal and Divisible Pairs in an ArrayEasyJava