Coding interview problems
3,736 problems: 937 Easy, 1,914 Medium, 885 Hard. Each runs against hidden tests, in 13 languages; database problems in SQL. Free for members.
Solve them in the app Explore guides
Problems 1,101–1,200 of 3,736
- 1101. Stamp Cover Check Hard · Array, Matrix, Prefix Sum, Greedy
- 1102. Rising Quadruplets Hard · Array, Prefix Sum, Dynamic Programming
- 1103. Live Grid Region Sums Hard · Array, Matrix, Design, Prefix Sum
- 1104. Cake Cuts with Cherries Hard · Matrix, Prefix Sum, Dynamic Programming, Memoization
- 1105. Place Mailboxes Hard · Array, Prefix Sum, Dynamic Programming, Sorting
- 1106. Range At-Most Counts Hard · Array, Sorting, Prefix Sum, Divide and Conquer
- 1107. Flip K Switches to On Hard · Array, Prefix Sum, Greedy, Sliding Window
- 1108. Longest Mergeable Ascent Hard · Array, Prefix Sum, Dynamic Programming, Queue
- 1109. Prime-Start Partitions Hard · String, Prefix Sum, Dynamic Programming
- 1110. Spaced Suffix Sum Queries Hard · Array, Prefix Sum, Dynamic Programming
- 1111. Sum of Squared Window Totals Medium · Array, Prefix Sum, Math
- 1112. Bounded Ring Window Medium · Array, Prefix Sum, Queue, Sliding Window
- 1113. Longest Above-Average Run Hard · Array, Prefix Sum, Monotonic Stack
- 1114. Port Delivery Trips Hard · Array, Prefix Sum, Dynamic Programming, Queue
- 1115. Largest Well-Covered Roof Square Medium · Array, Matrix, Prefix Sum
- 1116. Repeated Strip Zero Runs Hard · Array, Hash Table, Prefix Sum, Math
- 1117. Kth Largest Region XOR Medium · Matrix, Prefix Sum, Bit Manipulation, Heap (Priority Queue)
- 1118. Even Loads by Neighbour Passing Hard · Array, Prefix Sum, Greedy
- 1119. Range Sum Runs with Length Cap Hard · Array, Prefix Sum, Sliding Window, Divide and Conquer
- 1120. Balanced Split into K Equal Parts Hard · Array, Prefix Sum, Math, Dynamic Programming
- 1121. Max Gain from One Range Swap Hard · Array, Prefix Sum, Dynamic Programming
- 1122. Backspace String Compare Easy · Two Pointers, String, Stack, Simulation · Asked at Google, Meta
- 1123. Remove All Adjacent Duplicates in String Easy · String, Stack · Asked at Meta, Bloomberg
- 1124. Evaluate Reverse Polish Notation Medium · Array, Math, Stack · Asked at Amazon, LinkedIn
- 1125. Daily Temperatures Medium · Array, Stack, Monotonic Stack · Asked at Amazon, Google, Meta
- 1126. Decode String Medium · String, Stack, Recursion · Asked at Google, Amazon, Bloomberg
- 1127. Largest Rectangle in Histogram Hard · Array, Stack, Monotonic Stack · Asked at Amazon, Google
- 1128. Basic Calculator Hard · Math, String, Stack, Recursion · Asked at Google, Amazon, Meta
- 1129. Crate Stack Top Log Easy · Stack, Simulation
- 1130. Stamp Token Check Medium · String, Stack
- 1131. First Solo Letter So Far Medium · Queue, Hash Table, String
- 1132. Chain Merge of Equal Tiles Medium · Stack, Simulation
- 1133. Longest Balanced Stretch Hard · String, Stack, Dynamic Programming
- 1134. Deepest Bracket Nesting Easy · String, Stack
- 1135. Fewest Brackets to Add Easy · String, Stack, Greedy
- 1136. Peel the Outer Bracket Layer Easy · String, Stack
- 1137. Tally With Checkpoints Easy · Stack, Simulation
- 1138. Ticket Window Line Easy · Queue, Simulation
- 1139. Queue Built From Two Stacks Easy · Stack, Queue, Design
- 1140. Stack Built From One Queue Easy · Stack, Queue, Design
- 1141. Running Minimum Ledger Easy · Stack, Design
- 1142. Nearest Shorter on the Left Easy · Array, Stack, Monotonic Stack
- 1143. Chain Reads the Same Both Ways Easy · Linked List, Stack, Two Pointers
- 1144. Flip the Front of the Line Easy · Queue, Stack
- 1145. Shuffle Two Halves of a Queue Easy · Queue, Simulation
- 1146. Counting-Out Circle Easy · Queue, Simulation, Math
- 1147. Requests in the Recent Window Easy · Queue, Sliding Window
- 1148. Discard and Tuck Deck Easy · Queue, Simulation
- 1149. Is the Postfix Well-Formed Easy · Stack, Array
- 1150. Number in Another Base Easy · Stack, Math
- 1151. Folder Depth After Commands Easy · Stack, String, Simulation
- 1152. Sort a Pile With a Spare Easy · Stack, Sorting
- 1153. Pull the Middle Crate Easy · Stack, Recursion
- 1154. Turn a Pile Upside Down Easy · Stack, Recursion
- 1155. Well-Nested Tags Easy · String, Stack
- 1156. Longest Balanced Opening Easy · String, Stack
- 1157. Ring Buffer Log Easy · Queue, Design, Array
- 1158. Double-Ended Line Easy · Queue, Design
- 1159. Print Shop Finish Times Easy · Queue, Simulation
- 1160. Shuttle Leftover Riders Easy · Queue, Simulation
- 1161. Lifting Books Off the Pile Easy · Stack, Simulation
- 1162. Rolling Window Sums Easy · Queue, Sliding Window
- 1163. Partner Bracket Index Easy · String, Stack
- 1164. Two Piles, One Shelf Easy · Stack, Design, Array
- 1165. Tree to Bracketed Text Easy · Tree, Binary Tree, String, Depth-First Search
- 1166. Word-Level Palindrome Easy · Stack, String
- 1167. Audit a Queue Log Easy · Queue, Simulation
- 1168. Mirror Around a Marker Easy · Stack, String
- 1169. Two-Lane Service Counter Easy · Queue, Simulation
- 1170. Freight Lift Trips Easy · Queue, Greedy, Simulation
- 1171. Recent Files Panel Easy · Stack, Hash Table
- 1172. Spatula Flip Log Easy · Stack, Simulation, Array
- 1173. Three-Peg Disk Moves Easy · Stack, Recursion
- 1174. Cut and Paste Stack Editor Easy · Stack, Simulation, String
- 1175. Reversible Conveyor Belt Easy · Queue, Design
- 1176. Toll Plaza Backlog Easy · Queue, Simulation
- 1177. First Invalid Pile Command Easy · Stack, Simulation
- 1178. Library Return Cart Walk Easy · Stack, Simulation
- 1179. Spotlight Performers Easy · Array, Stack, Monotonic Stack
- 1180. Turnstile With Two Directions Medium · Queue, Simulation
- 1181. Binary Labels in Order Easy · Queue, String
- 1182. Properly Nested Time Blocks Medium · Stack, Sorting, Intervals
- 1183. Candy Line Handout Easy · Queue, Simulation
- 1184. Deepest Tag Path Medium · Stack, String
- 1185. First Loss in Every Window Easy · Queue, Sliding Window, Array
- 1186. FIFO Cache Misses Easy · Queue, Hash Table, Simulation
- 1187. Weighted Depth Sum Medium · String, Stack
- 1188. Brackets With Wild Cards Medium · String, Stack, Greedy
- 1189. Fewest Swaps to Balance Medium · String, Stack, Greedy
- 1190. Split Into Two Shallow Sets Medium · String, Stack, Greedy
- 1191. Flip Text Inside Brackets Medium · String, Stack
- 1192. Nested Shell Score Medium · String, Stack
- 1193. Trim Stray Brackets Medium · String, Stack
- 1194. Infix to Postfix Medium · Stack, String
- 1195. Postfix to Bracketed Infix Medium · Stack, String
- 1196. Prefix to Postfix Medium · Stack, String
- 1197. Desk Calculator With Precedence Medium · Stack, String, Math
- 1198. Resolve Chained Conditionals Medium · Stack, String, Recursion
- 1199. Normalize a Folder Path Medium · Stack, String
- 1200. Self Time per Routine Medium · Stack, Array