Skip to content
RED SAG Skills

Medium Backend Developer questions

651 questions · 10 points each for a correct first answer.

  1. 1.The N+1 query problemmedium
  2. 2.Cache-aside patternmedium
  3. 3.Logging out with JWTsmedium
  4. 4.Isolation levels and dirty readsmedium
  5. 5.Offset or cursor paginationmedium
  6. 6.Token bucket rate limitermedium
  7. 7.At-least-once deliverymedium
  8. 8.Composite index column ordermedium
  9. 9.More consumers than partitionsmedium
  10. 10.Two awaits that could run togethermedium
  11. 11.A 64-bit id changes after parsingmedium
  12. 12.Response to a matching If-None-Matchmedium
  13. 13.Optimistic lock update hits 0 rowsmedium
  14. 14.Why access tokens are short-livedmedium
  15. 15.Webhook signature never matchesmedium
  16. 16.Errors during every deploymedium
  17. 17.Liveness probe restarts every podmedium
  18. 18.Retrying after a shared outagemedium
  19. 19.What a circuit breaker doesmedium
  20. 20.Redis structure for a leaderboardmedium
  21. 21.Index ignored for lower(email)medium
  22. 22.Benefit of INCLUDE in an indexmedium
  23. 23.Risk of "import image from URL"medium
  24. 24.Any user can read any invoicemedium
  25. 25.Saving req.body directlymedium
  26. 26.Testing code that calls a payment APImedium
  27. 27.Following one request across servicesmedium
  28. 28.Fine average, unhappy usersmedium
  29. 29.Docker rebuild reinstalls everythingmedium
  30. 30.One bad message blocks the queuemedium
  31. 31.Worker crash with auto-ackmedium
  32. 32.Async callback inside forEachmedium
  33. 33.Keeping a cached price freshmedium
  34. 34.CDN serves one user's profile to anothermedium
  35. 35.400 versus 422medium
  36. 36.Redirecting a POST endpointmedium
  37. 37.Which change is safe for old clientsmedium
  38. 38.Deciding when to release v2medium
  39. 39.A standard shape for error bodiesmedium
  40. 40.Express error handler never runsmedium
  41. 41./users/me returns 'user not found'medium
  42. 42.Cannot set headers after they are sentmedium
  43. 43.Large JSON uploads fail with 413medium
  44. 44.Repeated query keys in Expressmedium
  45. 45.A slow partner API hangs your requestsmedium
  46. 46.no-cache or no-store for account datamedium
  47. 47.Arabic page served to English usersmedium
  48. 48.Telling clients when to retrymedium
  49. 49.The same payment webhook arrives twicemedium
  50. 50.Webhooks retried though they workedmedium
  51. 51.Live order status in a browsermedium
  52. 52.What GraphQL fixes for mobile clientsmedium
  53. 53.A nested GraphQL query overloads the servermedium
  54. 54.Linking logs for one checkoutmedium
  55. 55.Paging through a GraphQL listmedium
  56. 56.Catching breaking changes before deploymedium
  57. 57.Trace a two-pointer pair searchmedium
  58. 58.Remove duplicates from a sorted arraymedium
  59. 59.Move zeroes to the endmedium
  60. 60.Container with most water: which pointer movesmedium
  61. 61.Time complexity of 3Summedium
  62. 62.Reverse the words in a sentencemedium
  63. 63.Rotate an array using reversalsmedium
  64. 64.Rotating by more than the lengthmedium
  65. 65.Merging into the larger arraymedium
  66. 66.Sort 0s, 1s and 2s in one passmedium
  67. 67.Squares of a sorted arraymedium
  68. 68.Is one string a subsequence of anothermedium
  69. 69.Copying an array of order objectsmedium
  70. 70.Building a grid with fillmedium
  71. 71.Comparing numeric stringsmedium
  72. 72.Compute trapped rain watermedium
  73. 73.Palindrome check on a real sentencemedium
  74. 74.Majority element in O(1) spacemedium
  75. 75.Maximum subarray summedium
  76. 76.Best single buy and sellmedium
  77. 77.Longest substring without repeatsmedium
  78. 78.Shortest subarray reaching a targetmedium
  79. 79.Character replacement window conditionmedium
  80. 80.Longest run of ones with k flipsmedium
  81. 81.Does a string contain an anagrammedium
  82. 82.Maximum of every windowmedium
  83. 83.Apply two range incrementsmedium
  84. 84.Rectangle sum from a 2D prefix tablemedium
  85. 85.Subarrays with product under kmedium
  86. 86.Find the pivot indexmedium
  87. 87.When to shrink in minimum window substringmedium
  88. 88.Longest window with two distinct valuesmedium
  89. 89.Counting windows with exactly kmedium
  90. 90.Prefix sums overflowing intmedium
  91. 91.Moving average over a streammedium
  92. 92.Highest average over k valuesmedium
  93. 93.XOR of a rangemedium
  94. 94.Minimum starting balancemedium
  95. 95.Longest run of ones after one deletionmedium
  96. 96.Remove from both ends to reach xmedium
  97. 97.Merge a list of intervalsmedium
  98. 98.Do touching intervals mergemedium
  99. 99.Minimum meeting rooms neededmedium
  100. 100.Fewest intervals to removemedium
  101. 101.Intersect two schedulesmedium
  102. 102.First position of a repeated valuemedium
  103. 103.Binary search in a rotated arraymedium
  104. 104.Minimum of a rotated sorted arraymedium
  105. 105.Parse an integer like atoimedium
  106. 106.Rotate a square matrix in placemedium
  107. 107.Set matrix zeroes with O(1) spacemedium
  108. 108.Splitting CSV with quoted commasmedium
  109. 109.Evaluate an expression with precedencemedium
  110. 110.Decode a nested repeat stringmedium
  111. 111.Comparing version stringsmedium
  112. 112.Roman numeral to integermedium
  113. 113.Run-length compression of a stringmedium
  114. 114.Longest common prefixmedium
  115. 115.Binary search a matrix as one arraymedium
  116. 116.Insert a new intervalmedium
  117. 117.Next greater elementmedium
  118. 118.Days until a warmer daymedium
  119. 119.forEach on an array with holesmedium
  120. 120.Overflow in an Int32Arraymedium
  121. 121.Reading the last elementmedium
  122. 122.All duplicates with O(1) extra spacemedium
  123. 123.Is one string a rotation of anothermedium
  124. 124.Where to start a circular routemedium
  125. 125.Raising the bcrypt cost from 10 to 12medium
  126. 126.Session id stays the same after loginmedium
  127. 127.What SameSite=Lax allowsmedium
  128. 128.Cookie ignored in an embedded widgetmedium
  129. 129.Cookie leaks to every subdomainmedium
  130. 130.Idle and absolute session timeoutsmedium
  131. 131.Logout that only clears the cookiemedium
  132. 132.Credentialed requests with Allow-Origin *medium
  133. 133.HS256 or RS256 for many servicesmedium
  134. 134.Rotating JWT signing keys safelymedium
  135. 135.Fresh tokens rejected as expiredmedium
  136. 136.A token for one service works on anothermedium
  137. 137.Reading the role from a tokenmedium
  138. 138.Why OAuth uses a state parametermedium
  139. 139.Using the ID token to call an APImedium
  140. 140.OAuth flow for a nightly batch jobmedium
  141. 141.Loose redirect URI matchingmedium
  142. 142.How authenticator app codes workmedium
  143. 143.Storing MFA backup codesmedium
  144. 144.Role-based or attribute-based accessmedium
  145. 145.Storing customer API keysmedium
  146. 146.What a password pepper addsmedium
  147. 147.Checking breached passwords privatelymedium
  148. 148.Designing a remember-me cookiemedium
  149. 149.What the __Host- cookie prefix needsmedium
  150. 150.Data inside a signed cookiemedium
  151. 151.Sessions after a password changemedium
  152. 152.Kinds of privilege escalationmedium
  153. 153.API key passed in the URLmedium
  154. 154.Stopping replay of signed requestsmedium
  155. 155.Rotating a shared API secretmedium
  156. 156.Services proving their identitymedium
  157. 157.Letting users change their emailmedium
  158. 158.Re-checking identity before a transfermedium
  159. 159.Logging in on a smart TVmedium
  160. 160.Where a mobile app keeps tokensmedium
  161. 161.Checking a Google ID token on the backendmedium
  162. 162.Hiding salary in a GraphQL APImedium
  163. 163.What a dirty read ismedium
  164. 164.The same row read twice gives two valuesmedium
  165. 165.PostgreSQL's default isolation levelmedium
  166. 166.MySQL InnoDB's default isolation levelmedium
  167. 167.FOR UPDATE that locks nothing usefulmedium
  168. 168.Several workers taking jobs from a tablemedium
  169. 169.Page view counter loses countsmedium
  170. 170.Insert or update in one statementmedium
  171. 171.Two accounts with one emailmedium
  172. 172.Case-insensitive lookup ignores the indexmedium
  173. 173.Phone lookup does a full table scanmedium
  174. 174.A query answered from the index alonemedium
  175. 175.Indexing only the pending ordersmedium
  176. 176.Index on a true/false columnmedium
  177. 177.Deleting a customer takes minutesmedium
  178. 178.Pool runs dry after some errorsmedium
  179. 179.A list page loads huge rowsmedium
  180. 180.One query escapes the transactionmedium
  181. 181.Importing 100,000 rows slowlymedium
  182. 182.Rows skipped with created_at cursorsmedium
  183. 183.findOneAndUpdate returns the old valuemedium
  184. 184.Speeding up read-only Mongoose queriesmedium
  185. 185.A new field is never savedmedium
  186. 186.Ordering fields in a MongoDB indexmedium
  187. 187.A slow aggregation pipelinemedium
  188. 188.A chat document keeps growingmedium
  189. 189.Reads from secondaries miss new datamedium
  190. 190.A confirmed write disappears after failovermedium
  191. 191.Case-insensitive unique emails in MongoDBmedium
  192. 192.Logging in with an operator as passwordmedium
  193. 193.Heavy $lookup on every pagemedium
  194. 194.Rate limit key that never expiresmedium
  195. 195.Redis cache errors when memory is fullmedium
  196. 196.500 Redis calls per requestmedium
  197. 197.A Redis transaction does not roll backmedium
  198. 198.Cached keys stop expiringmedium
  199. 199.Counting daily unique visitorsmedium
  200. 200.Durable events with Redismedium
  201. 201.Releasing a Redis lock safelymedium
  202. 202.One huge key slows Redismedium
  203. 203.Average read time with a 90% hit ratiomedium
  204. 204.Thousands of keys expiring togethermedium
  205. 205.Requests for ids that do not existmedium
  206. 206.Updating or deleting the cache on writemedium
  207. 207.Different prices on different serversmedium
  208. 208.Serving slightly old data while refreshingmedium
  209. 209.Dates break after cachingmedium
  210. 210.A memoised function eats memorymedium
  211. 211.Clearing all catalogue cache keys at oncemedium
  212. 212.The risk of a write-behind cachemedium
  213. 213.Copying the author name into postsmedium
  214. 214.Querying inside a JSONB columnmedium
  215. 215.Searching article text with LIKEmedium
  216. 216.Committed orders missing after failovermedium
  217. 217.A dashboard shows yesterday's totalsmedium
  218. 218.Fewest coins for an amountmedium
  219. 219.Ways to make an amount from coinsmedium
  220. 220.Loop order in coin countingmedium
  221. 221.Longest increasing subsequence lengthmedium
  222. 222.What the O(n log n) LIS array holdsmedium
  223. 223.Largest sum of a contiguous blockmedium
  224. 224.Kadane on all-negative numbersmedium
  225. 225.Ways to decode a digit stringmedium
  226. 226.Decoding a string that starts with zeromedium
  227. 227.Splitting text into dictionary wordsmedium
  228. 228.Coin change when the amount cannot be mademedium
  229. 229.Cache key that forgets an argumentmedium
  230. 230.Memoised recursion hits RecursionErrormedium
  231. 231.Houses arranged in a circlemedium
  232. 232.Largest product of a contiguous blockmedium
  233. 233.Estimating a DP’s running timemedium
  234. 234.Distinct BSTs from three keysmedium
  235. 235.Stock trading with a cooldown daymedium
  236. 236.Fewest perfect squares adding to 12medium
  237. 237.Number of calls in plain recursive fib(5)medium
  238. 238.Direction of the capacity loopmedium
  239. 239.Best value in a small knapsackmedium
  240. 240.Splitting into two equal halvesmedium
  241. 241.Plus and minus signs that reach a targetmedium
  242. 242.Longest palindromic subsequencemedium
  243. 243.Longest palindromic substring in O(1) spacemedium
  244. 244.Fill order for interval DPmedium
  245. 245.Cheapest way to multiply three matricesmedium
  246. 246.The trick in burst balloonsmedium
  247. 247.Edit distance with less memorymedium
  248. 248.Largest square of 1s in a matrixmedium
  249. 249.Ways a word appears as a subsequencemedium
  250. 250.Checking an interleaving of two stringsmedium
  251. 251.Handling "*" in regex matching DPmedium
  252. 252.Wildcard "*" versus regex "*"medium
  253. 253.Knapsack with two limitsmedium
  254. 254.House robber on a treemedium
  255. 255.Two-row LCS cannot show the sequencemedium
  256. 256.Printing an LCS from a full tablemedium
  257. 257.Minimum starting health in a dungeonmedium
  258. 258.Solutions to the eight queens puzzlemedium
  259. 259.Subsets when the input has repeatsmedium
  260. 260.Combination sum with reusable numbersmedium
  261. 261.All results come out emptymedium
  262. 262.Can you reach the last indexmedium
  263. 263.Where value-per-kg greedy worksmedium
  264. 264.Finding the start of a circular fuel routemedium
  265. 265.How Huffman coding builds its treemedium
  266. 266.Fewest bookings to cancelmedium
  267. 267.Inorder successor with a right subtreemedium
  268. 268.Deleting a BST node with two childrenmedium
  269. 269.Bug in a parent-child BST checkmedium
  270. 270.Traversals that rebuild a unique treemedium
  271. 271.Inorder traversal without recursionmedium
  272. 272.Where the tree diameter can bemedium
  273. 273.Lowest common ancestor in a BSTmedium
  274. 274.Distinct BSTs with keys 1, 2, 3medium
  275. 275.Inorder traversal in O(1) extra spacemedium
  276. 276.Serialising a tree so it can be rebuiltmedium
  277. 277.Right side view of a binary treemedium
  278. 278.The AVL balance rulemedium
  279. 279.Height limit of a red-black treemedium
  280. 280.Bug in a root-to-leaf path summedium
  281. 281.K-th smallest key in a BSTmedium
  282. 282.Checking if a tree is a mirror of itselfmedium
  283. 283.Checking balance in one passmedium
  284. 284.Time cost of a full tree traversalmedium
  285. 285.Why databases index with B-treesmedium
  286. 286.Finding any key in a binary heapmedium
  287. 287.When to mark a node as visited in BFSmedium
  288. 288.Cycle check in an undirected graphmedium
  289. 289.Cycle check in a directed graphmedium
  290. 290.When a graph cannot be two-colouredmedium
  291. 291.Spreading from many starting pointsmedium
  292. 292.Processing BFS one level at a timemedium
  293. 293.Shortest grid path around a wallmedium
  294. 294.Deep-copying a graph with cyclesmedium
  295. 295.Faster neighbours in word laddermedium
  296. 296.A JavaScript BFS that gets slowmedium
  297. 297.Recursive flood fill on a huge gridmedium
  298. 298.Iterative DFS visiting a different ordermedium
  299. 299.Flood fill with the same colourmedium
  300. 300.Capturing regions not touching the bordermedium
  301. 301.Cells that drain to two oceansmedium
  302. 302.Edges from undirected adjacency listsmedium
  303. 303.Checking whether a graph is a treemedium
  304. 304.Why bidirectional BFS is fastermedium
  305. 305.BFS on a combination lockmedium
  306. 306.Finding second-degree connectionsmedium
  307. 307.Shortest distance in a small road graphmedium
  308. 308.Old entries left in Dijkstra’s heapmedium
  309. 309.How Bellman-Ford finds a negative cyclemedium
  310. 310.Cheapest flight with at most k stopsmedium
  311. 311.Total weight of a small MSTmedium
  312. 312.Finding the edge that forms a cyclemedium
  313. 313.Loop order in Floyd-Warshallmedium
  314. 314.Shortest paths with 0 and 1 weightsmedium
  315. 315.Rebuilding the route, not just its costmedium
  316. 316.Route that avoids the steepest climbmedium
  317. 317.Time for a signal to reach every servermedium
  318. 318.When A* is guaranteed optimalmedium
  319. 319.When the MST is uniquemedium
  320. 320.Dijkstra on a very dense graphmedium
  321. 321.Speed of fully optimised union-findmedium
  322. 322.Merging customer records by emailmedium
  323. 323.Island count as land is addedmedium
  324. 324.The heaviest edge on a cyclemedium
  325. 325.Choosing Prim or Kruskalmedium
  326. 326.Most reliable path between two serversmedium
  327. 327.Picking a valid task ordermedium
  328. 328.Topological order from DFSmedium
  329. 329.Fewest terms to finish all coursesmedium
  330. 330.Letter order from a sorted word listmedium
  331. 331.Saving memory in a large triemedium
  332. 332.Finding many words on a letter gridmedium
  333. 333.Longest path in a dependency graphmedium
  334. 334.Counting routes in a small DAGmedium
  335. 335.Longest common prefix with a triemedium
  336. 336.Fast top suggestions per prefixmedium
  337. 337.Maximum XOR of two numbersmedium
  338. 338.What a strongly connected component ismedium
  339. 339.The two passes of Kosarajumedium
  340. 340.Finding a link whose loss splits the networkmedium
  341. 341.Routers that are single points of failuremedium
  342. 342.Array size for a segment treemedium
  343. 343.Next index in a Fenwick updatemedium
  344. 344.Alphabetically smallest valid ordermedium
  345. 345.Telling a user which packages loopmedium
  346. 346.Shrinking each SCC to one nodemedium
  347. 347.Group anagrams togethermedium
  348. 348.Order of steps in Two Summedium
  349. 349.Duplicate within k positionsmedium
  350. 350.Longest consecutive run in O(n)medium
  351. 351.Isomorphic stringsmedium
  352. 352.Matching words to a patternmedium
  353. 353.Fixed array or map for letter countsmedium
  354. 354.First non-repeating charactermedium
  355. 355.Top k frequent elements faster than sortingmedium
  356. 356.Can a note be built from a magazinemedium
  357. 357.Detecting a loop in repeated digit squaresmedium
  358. 358.Separate chaining vs open addressingmedium
  359. 359.Cost of resizing a hash tablemedium
  360. 360.What makes a good hash functionmedium
  361. 361.Overriding equals without hashCodemedium
  362. 362.Changing a key after putting it in a setmedium
  363. 363.Using a list as a dict key in Pythonmedium
  364. 364.Grid coordinates as a JavaScript keymedium
  365. 365.Caching data per object without leaksmedium
  366. 366.Intersection keeping duplicatesmedium
  367. 367.Count subarrays that sum to kmedium
  368. 368.Longest subarray with equal 0s and 1smedium
  369. 369.Subarrays with sum divisible by kmedium
  370. 370.Counting four-list sums to zeromedium
  371. 371.Bulls and Cows hintmedium
  372. 372.Core of a URL shortenermedium
  373. 373.Repeated 10-letter DNA sequencesmedium
  374. 374.Total spend per customermedium
  375. 375.Insert, delete and get random in O(1)medium
  376. 376.Designing a basic hash setmedium
  377. 377.Sort characters by frequencymedium
  378. 378.Most common words in support ticketsmedium
  379. 379.Slope as a map keymedium
  380. 380.Song pairs with total divisible by 60medium
  381. 381.Can an array be split into pairs divisible by kmedium
  382. 382.Subtracting two Countersmedium
  383. 383.Memoizing a recursive functionmedium
  384. 384.Two Sum on a stream of numbersmedium
  385. 385.Joining two lists in memorymedium
  386. 386.Find the extra lettermedium
  387. 387.Finding duplicate filesmedium
  388. 388.Which Sudoku box a cell belongs tomedium
  389. 389.Cloning a graph with cyclesmedium
  390. 390.Copying a list with random pointersmedium
  391. 391.Longest palindrome from given lettersmedium
  392. 392.Crossing the fewest bricksmedium
  393. 393.Counting pairs with equal valuesmedium
  394. 394.Ranking products by salesmedium
  395. 395.Printing each message at most once per 10 secondsmedium
  396. 396.Key-value store with timestampsmedium
  397. 397.Words that appear in only one sentencemedium
  398. 398.Common letters with Counter &medium
  399. 399.TreeMap or HashMap in Javamedium
  400. 400.Iteration order of a Go mapmedium
  401. 401.In-memory Map cache across many serversmedium
  402. 402.Detecting duplicate supplier invoicesmedium
  403. 403.Array or map for counting small integersmedium
  404. 404.Breaking ties in most frequentmedium
  405. 405.Key for an undirected edgemedium
  406. 406.Tie order in Counter.most_commonmedium
  407. 407.Inverting a map with repeated valuesmedium
  408. 408.Counting anagram pairsmedium
  409. 409.Shortest subarray with the same degreemedium
  410. 410.Longest harmonious subsequencemedium
  411. 411.Most candy types one sister can getmedium
  412. 412.Characters common to every wordmedium
  413. 413.Finding the final city of a tripmedium
  414. 414.Does a walk revisit a pointmedium
  415. 415.Duplicate accounts with different email spellingmedium
  416. 416.Totals by city and productmedium
  417. 417.Checking that two Sets are equalmedium
  418. 418.Built-in Set operations in JavaScriptmedium
  419. 419.Grouping into lists in Javamedium
  420. 420.LCM of 84 and 36medium
  421. 421.Computing LCM without overflowmedium
  422. 422.Cost of the sieve of Eratosthenesmedium
  423. 423.Testing whether 97 is primemedium
  424. 424.Trailing zeros in 100!medium
  425. 425.How many divisors 360 hasmedium
  426. 426.The 100 lockers puzzlemedium
  427. 427.2**31 | 0 in JavaScriptmedium
  428. 428.What -1 >>> 0 givesmedium
  429. 429.Loop count of n &= n - 1medium
  430. 430.Finding the one unpaired idmedium
  431. 431.What n & -n returnsmedium
  432. 432.Why (1.005).toFixed(2) is 1.00medium
  433. 433.Math.round(-2.5) in JavaScriptmedium
  434. 434.C-style integer division in JSmedium
  435. 435.Stacking 20% and 10% discountsmedium
  436. 436.Average order value across storesmedium
  437. 437.Two people with the same birthdaymedium
  438. 438.Chance two dice sum to 7medium
  439. 439.Spreadsheet column for number 28medium
  440. 440.Ways to pick 3 of 10medium
  441. 441.Arrangements of the word BANANAmedium
  442. 442.Binary search trees from 3 keysmedium
  443. 443.Why fib(50) never finishesmedium
  444. 444.Rotating a grid 90° clockwisemedium
  445. 445.Game of Life updates go wrongmedium
  446. 446.Shortest turn from 350° to 10°medium
  447. 447.Angle of the vector (-1, -1)medium
  448. 448.Is a rider inside the zonemedium
  449. 449.Do these two circles collidemedium
  450. 450.Bouncing a ball off the floormedium
  451. 451.Is the player in front of the guardmedium
  452. 452.Enemy vanishes on reaching playermedium
  453. 453.Clock hands at 3:15medium
  454. 454.Adding one month to 31 Januarymedium
  455. 455.Day count off by a fractionmedium
  456. 456.Reading MCMXCIVmedium
  457. 457.Reversing digits of a 32-bit intmedium
  458. 458.Requests in flight with Little's lawmedium
  459. 459.Finding p95 from 20 timingsmedium
  460. 460.Timer check across a counter wrapmedium
  461. 461.Reading 0xF0 as a signed bytemedium
  462. 462.One step of a smoothing filtermedium
  463. 463.How often an 8-bit timer overflowsmedium
  464. 464.Prefetch and uneven workmedium
  465. 465.Visibility timeout for a Lambda triggermedium
  466. 466.Setting maxReceiveCountmedium
  467. 467.FIFO deduplication windowmedium
  468. 468.Jobs that run longer than expectedmedium
  469. 469.Knowing the broker got itmedium
  470. 470.Message published to nowheremedium
  471. 471.Replicated queues in RabbitMQ 4medium
  472. 472.How many workers are neededmedium
  473. 473.Time to drain a backlogmedium
  474. 474.Delayed retries in RabbitMQmedium
  475. 475.One failure in a Lambda batchmedium
  476. 476.Committing offsets too earlymedium
  477. 477.A new consumer group starts readingmedium
  478. 478.Reading SQS queue metricsmedium
  479. 479.Job runs before the row existsmedium
  480. 480.Order lost with more workersmedium
  481. 481.Messages that are too largemedium
  482. 482.Deploying a worker safelymedium
  483. 483.Workers and a partner rate limitmedium
  484. 484.Content-based deduplicationmedium
  485. 485.Per-message delay on FIFOmedium
  486. 486.Celery tasks lost on a crashmedium
  487. 487.Nightly job runs three timesmedium
  488. 488.Avoiding duplicate jobsmedium
  489. 489.Total exponential backoff timemedium
  490. 490.Choosing a partition countmedium
  491. 491.Compacted topicsmedium
  492. 492.Needing to reprocess historymedium
  493. 493.Unacked messages pile upmedium
  494. 494.Counting dead-letter retriesmedium
  495. 495.Replaying the dead-letter queuemedium
  496. 496.Changing an event schema safelymedium
  497. 497.Events from the database logmedium
  498. 498.Sharing a channel between threadsmedium
  499. 499.All jobs fire at midnightmedium
  500. 500.FIFO queue throughputmedium
  501. 501.New field breaks a consumermedium
  502. 502.Timeouts that exceed the budgetmedium
  503. 503.Will the retries fit in timemedium
  504. 504.Circuit breaker trips at nightmedium
  505. 505.Capping retries with a budgetmedium
  506. 506.Availability of two replicasmedium
  507. 507.Three replicas fail togethermedium
  508. 508.App keeps failing after failovermedium
  509. 509.Serving stale data during an outagemedium
  510. 510.Backoff without a ceilingmedium
  511. 511.Noticing a job that never ranmedium
  512. 512.Replicas do not protect from bad deletesmedium
  513. 513.Rollback breaks after a migrationmedium
  514. 514.A dependency is down at startupmedium
  515. 515.An unhandled promise rejectionmedium
  516. 516.Fail open or fail closedmedium
  517. 517.Promising more than a dependencymedium
  518. 518.Pods restart every few hoursmedium
  519. 519.When the error budget runs outmedium
  520. 520.Requests hang waiting for a connectionmedium
  521. 521.Login broken, dashboards greenmedium
  522. 522.One bad item in a batch callmedium
  523. 523.Errors that vanishmedium
  524. 524.Too many alerts, missed outagesmedium
  525. 525.An I2C sensor read failsmedium
  526. 526.Cutting features under heavy loadmedium
  527. 527.Retrying a 409 Conflictmedium
  528. 528.Insertion sort shifts on a reversed arraymedium
  529. 529.Trace a Lomuto partitionmedium
  530. 530.Why quick sort uses a random pivotmedium
  531. 531.Algorithm behind Python and V8 sortmedium
  532. 532.Is JavaScript Array sort stable?medium
  533. 533.Time complexity of LSD radix sortmedium
  534. 534.Sorting by two keys with stable sortsmedium
  535. 535.Comparator that returns a booleanmedium
  536. 536.Comparisons needed to merge two listsmedium
  537. 537.Merge sort recursion depth for 1024 itemsmedium
  538. 538.Keeping quick sort stack depth lowmedium
  539. 539.Heap type used for ascending heap sortmedium
  540. 540.Main idea behind Shell sortmedium
  541. 541.Bucket sort for uniform valuesmedium
  542. 542.Sorting a file bigger than memorymedium
  543. 543.Quick sort with many equal keysmedium
  544. 544.Sort an array of 0s, 1s and 2smedium
  545. 545.Why radix sort needs a stable inner sortmedium
  546. 546.Sorting customer names correctlymedium
  547. 547.Where NULLs go in PostgreSQL ORDER BYmedium
  548. 548.Sorting dates stored as DD/MM/YYYY textmedium
  549. 549.Finding the first occurrencemedium
  550. 550.Counting a value with two boundsmedium
  551. 551.Searching a rotated sorted arraymedium
  552. 552.Single value among pairs in a sorted arraymedium
  553. 553.Integer square root by binary searchmedium
  554. 554.Minimum truck capacity in D daysmedium
  555. 555.Condition for binary search on the answermedium
  556. 556.Finding a peak with binary searchmedium
  557. 557.Search insert positionmedium
  558. 558.Searching a list of unknown lengthmedium
  559. 559.Binary search a fully sorted matrixmedium
  560. 560.Search a row- and column-sorted matrixmedium
  561. 561.Steps git bisect needsmedium
  562. 562.Cost of inserting into a sorted arraymedium
  563. 563.When interpolation search winsmedium
  564. 564.Ternary search on a unimodal functionmedium
  565. 565.Find k closest values in a sorted arraymedium
  566. 566.First log entry after a timestampmedium
  567. 567.lower_bound past the endmedium
  568. 568.Calls needed to find the first bad versionmedium
  569. 569.upper_bound on duplicate valuesmedium
  570. 570.Counting values up to X in a sorted arraymedium
  571. 571.Slowest speed to finish within H hoursmedium
  572. 572.Solving T(n) = 2T(n/2) + 1medium
  573. 573.Solving T(n) = 4T(n/2) + nmedium
  574. 574.Running time of quickselectmedium
  575. 575.Counting inversions with merge sortmedium
  576. 576.Maximum subarray by divide and conquermedium
  577. 577.Merging k sorted lists in pairsmedium
  578. 578.Pair sum with sorting and two pointersmedium
  579. 579.Merging overlapping intervalsmedium
  580. 580.Second largest with quickselectmedium
  581. 581.Evaluating a postfix expressionmedium
  582. 582.Converting infix to postfixmedium
  583. 583.Stack with O(1) getMinmedium
  584. 584.Queue built from two stacksmedium
  585. 585.Stack built from one queuemedium
  586. 586.Capacity of a circular queuemedium
  587. 587.Next write position in a ring buffermedium
  588. 588.Next greater element with a stackmedium
  589. 589.Days until a warmer temperaturemedium
  590. 590.Are interleaved brackets valid?medium
  591. 591.Simplifying a Unix pathmedium
  592. 592.Stock span problemmedium
  593. 593.Asteroid collision simulationmedium
  594. 594.Removing adjacent duplicatesmedium
  595. 595.Promise callback versus setTimeout ordermedium
  596. 596.Which pop order is impossible?medium
  597. 597.Evaluating a prefix expressionmedium
  598. 598.Fewest brackets to add for validitymedium
  599. 599.Next greater element in a circular arraymedium
  600. 600.Detecting a cycle in a linked listmedium
  601. 601.Finding where a cycle beginsmedium
  602. 602.Middle node of an even-length listmedium
  603. 603.Removing the n-th node from the endmedium
  604. 604.Merging two sorted linked listsmedium
  605. 605.Data structures behind an LRU cachemedium
  606. 606.Deleting a node with no access to the headmedium
  607. 607.Adding numbers stored as linked listsmedium
  608. 608.Rotating a linked listmedium
  609. 609.Building a heap from an arraymedium
  610. 610.Top k largest with a small heapmedium
  611. 611.Merging k sorted lists with a heapmedium
  612. 612.Running median with two heapsmedium
  613. 613.Trace an insert into a min-heapmedium
  614. 614.Trace removing the minimum from a heapmedium
  615. 615.Task scheduler with a cooldownmedium
  616. 616.k-th largest value in a live streammedium
  617. 617.Finding an arbitrary value in a heapmedium
  618. 618.Rearranging letters so none repeatmedium
  619. 619.Last stone weight with a max-heapmedium
  620. 620.Grouping odd and even positions in a listmedium
  621. 621.Josephus problem with a queuemedium
  622. 622.Message order guarantee in Kafkamedium
  623. 623.Why an SQS message is delivered twicemedium
  624. 624.Handling at-least-once deliverymedium
  625. 625.Bounded queue between producers and consumersmedium
  626. 626.Preventing starvation in a priority queuemedium
  627. 627.Rate limiter with a queue of timestampsmedium
  628. 628.Average requests in a systemmedium
  629. 629.Write-through caching trade-offmedium
  630. 630.Average latency with a cachemedium
  631. 631.Stale data from a read replicamedium
  632. 632.Paging through a huge feedmedium
  633. 633.Estimating storage for uploadsmedium
  634. 634.How many short URLs fitmedium
  635. 635.IDs across many serversmedium
  636. 636.Quorum reads and writesmedium
  637. 637.Load balancing slow requestsmedium
  638. 638.Routing by URL pathmedium
  639. 639.Building a home feedmedium
  640. 640.What a Bloom filter answersmedium
  641. 641.Search with LIKE is slowmedium
  642. 642.A like counter on a viral postmedium
  643. 643.Where eventual consistency is finemedium
  644. 644.Availability of a call chainmedium
  645. 645.What to autoscale workers onmedium
  646. 646.Why look at p99 latencymedium
  647. 647.Microservices for a team of fourmedium
  648. 648.Finding nearby driversmedium
  649. 649.IP rate limits block real usersmedium
  650. 650.Synchronous or async replicationmedium
  651. 651.Separate models for reads and writesmedium