Easy Backend Developer questions
494 questions · 5 points each for a correct first answer.
- 1.Status code after creating a resourcehttp, rest-api-designeasy
- 2.The non-idempotent methodhttp, idempotencyeasy
- 3.Stopping SQL injectionsecurity, sqleasy
- 4.How to store passwordssecurity, authenticationeasy
- 5.Purpose of a database indexsql, database-indexingeasy
- 6.What stateless means in RESTrest-api-designeasy
- 7.401 or 403http, authorizationeasy
- 8.Keeping secrets out of codesecurity, configurationeasy
- 9.Updating only one fieldhttp, rest-api-designeasy
- 10.Status code for too many requestshttp, rate-limitingeasy
- 11.Rows returned by a LEFT JOINsql, joinseasy
- 12.What a foreign key enforcessql, data-modellingeasy
- 13.Atomicity in a money transfertransactions, sqleasy
- 14.Browser blocks a call that curl allowshttp, web-securityeasy
- 15.What a 504 from Nginx meanshttp, debuggingeasy
- 16.Docker image versus containerdockereasy
- 17.Redis TTL after SET with EXredis, cachingeasy
- 18.Undoing a bad commit on maingiteasy
- 19.Promise and setTimeout ordernodejs, event-loopeasy
- 20.COUNT and AVG with NULLssql, aggregationeasy
- 21.Filtering grouped resultssql, aggregationeasy
- 22.Naming a test that uses a real DBtestingeasy
- 23.Why structured logs helpobservability, loggingeasy
- 24.What HttpOnly does on a cookieweb-security, authenticationeasy
- 25.Storing times for global usersdata-modelling, best-practiceseasy
- 26.A GET that deletes datahttp, rest-api-designeasy
- 27.Embed or reference in MongoDBmongodb, data-modellingeasy
- 28.Slow email during signupmessage-queues, performanceeasy
- 29.Duplicate emails despite a checksql, concurrencyeasy
- 30.Python default list surprisepython, debuggingeasy
- 31.What EXPLAIN tells yousql, performanceeasy
- 32.Content-Type versus Accepthttpeasy
- 33.What HTTPS leaves visibleweb-security, httpeasy
- 34.Database user for the appsecurity, sqleasy
- 35.Response for a successful DELETEapi-design, http-status-codeseasy
- 36.A product page removed for goodapi-design, http-status-codeseasy
- 37.Signing up with a taken usernameapi-design, http-status-codeseasy
- 38.Calling DELETE on a read-only routeapi-design, http-status-codes, http-methodseasy
- 39.A client posts XML to a JSON APIapi-design, http-status-codes, content-negotiationeasy
- 40.URL for one productapi-design, rest, url-designeasy
- 41.Telling the client where the new item livesapi-design, http-headers, resteasy
- 42.Filtering and sorting a listapi-design, rest, url-designeasy
- 43.fetch treats a 404 as successapi-design, http-client, javascripteasy
- 44.What a HEAD request doesapi-design, http-methodseasy
- 45.4xx or 5xx for bad inputapi-design, http-status-codeseasy
- 46.Route parameter never matches a numberapi-design, express, validationeasy
- 47.Response for a queued report jobapi-design, http-status-codes, async-apiseasy
- 48.Why teams write an OpenAPI specapi-design, openapi, api-docseasy
- 49.How many URLs a GraphQL API usesapi-design, graphqleasy
- 50.Asking for only a few fieldsapi-design, rest, performanceeasy
- 51.Stack traces in production errorsapi-design, error-handling, securityeasy
- 52.Cost of reading arr[i]arrays, time-complexityeasy
- 53.Inserting at the front of an arrayarrays, time-complexityeasy
- 54.Why push is amortized O(1)arrays, time-complexityeasy
- 55.Changing one character of a stringarrays, stringseasy
- 56.Reversing a simple stringarrays, stringseasy
- 57.slice vs splicearrays, javascripteasy
- 58.Index of the last elementarrays, off-by-oneeasy
- 59.indexOf and NaNarrays, javascripteasy
- 60.When two pointers find a pair sumarrays, two-pointerseasy
- 61.new Array(3) then maparrays, javascripteasy
- 62.Building a long string in a looparrays, strings, performanceeasy
- 63.Palindrome check with two pointersarrays, two-pointers, stringseasy
- 64.Value missing from indexOfarrays, javascripteasy
- 65.Precondition for binary searcharrays, binary-searcheasy
- 66.Cleaning a pasted mobile numberarrays, stringseasy
- 67.What a sliding window coversarrays, sliding-windoweasy
- 68.Updating a fixed-size window sumarrays, sliding-windoweasy
- 69.Range sum from a prefix arrayarrays, prefix-sumseasy
- 70.Compute a range sumarrays, prefix-sumseasy
- 71.Best three-day sales windowarrays, sliding-windoweasy
- 72.Sliding window time complexityarrays, sliding-window, time-complexityeasy
- 73.Shape of a variable-size window looparrays, sliding-windoweasy
- 74.Length of a windowarrays, sliding-window, off-by-oneeasy
- 75.Fast rectangle sums on a gridarrays, prefix-sums, matrixeasy
- 76.Many range increments at oncearrays, prefix-sumseasy
- 77.Seven-day moving averagearrays, sliding-windoweasy
- 78.How many subarrays existarrays, combinatoricseasy
- 79.Running wallet balancearrays, prefix-sumseasy
- 80.Cost of prefix sum queriesarrays, prefix-sums, time-complexityeasy
- 81.Sliding window and negative numbersarrays, sliding-windoweasy
- 82.First step in merging intervalsarrays, intervalseasy
- 83.When two intervals overlaparrays, intervalseasy
- 84.Safe midpoint in binary searcharrays, binary-search, overfloweasy
- 85.parseInt on a CSS valuearrays, parsing, javascripteasy
- 86.Number of an empty form fieldarrays, parsing, javascripteasy
- 87.Splitting a line with empty fieldsarrays, parsing, stringseasy
- 88.Where an element goes on transposearrays, matrixeasy
- 89.Letter to array indexarrays, stringseasy
- 90.Anagram check by sortingarrays, strings, sortingeasy
- 91.Steps to find a value by binary searcharrays, binary-searcheasy
- 92.Can one person attend all meetingsarrays, intervalseasy
- 93.Zero-padding an invoice numberarrays, stringseasy
- 94.Spiral order of a 3x3 matrixarrays, matrixeasy
- 95.Checking balanced bracketsarrays, parsing, stackeasy
- 96.Case-insensitive comparison of namesarrays, stringseasy
- 97.Checking whether a value is an arrayarrays, javascripteasy
- 98.Comparing an array with its copyarrays, javascripteasy
- 99.Using shift as a queuearrays, time-complexity, javascripteasy
- 100.join with null valuesarrays, javascript, stringseasy
- 101.Length of an emoji stringarrays, strings, unicodeeasy
- 102.Flattening a nested arrayarrays, javascripteasy
- 103.Authentication versus authorizationauthentication, access-controleasy
- 104.What a password salt is forauthentication, password-hashingeasy
- 105.Is HTTP Basic auth encryptedauthentication, http-autheasy
- 106.Sending an access token to an APIauthentication, tokens, http-autheasy
- 107.What the Secure cookie flag doesauthentication, cookieseasy
- 108.Header that goes with a 401authentication, http-autheasy
- 109.Login error message wordingauthentication, user-enumerationeasy
- 110.What not to write to logsauthentication, logging, secretseasy
- 111.Modern password rulesauthentication, passwordseasy
- 112.Rules for a login OTPauthentication, otp, mfaeasy
- 113.Weak point of SMS OTPauthentication, mfa, otpeasy
- 114.Which pair is really two factorsauthentication, mfaeasy
- 115.Permissions for a reporting serviceauthentication, access-controleasy
- 116.Safe default for new API routesauthentication, access-controleasy
- 117.The three parts of a JWTauthentication, jwteasy
- 118.Encrypting passwords instead of hashingauthentication, password-hashingeasy
- 119.Login form on plain HTTPauthentication, transport-securityeasy
- 120.Session id in the URLauthentication, sessionseasy
- 121.Same email, different capital lettersauthentication, accountseasy
- 122.What the server stores for a passkeyauthentication, passkeyseasy
- 123.Why cookie auth needs CSRF thoughtauthentication, csrf, cookieseasy
- 124.Log out of all devicesauthentication, sessionseasy
- 125.API keys instead of a shared passwordauthentication, api-keyseasy
- 126.What a CAPTCHA protects againstauthentication, bot-protectioneasy
- 127.Which OAuth role issues tokensauthentication, oautheasy
- 128.What an OAuth scope isauthentication, oautheasy
- 129.OAuth flow to avoid in new appsauthentication, oautheasy
- 130.Why apps use refresh tokensauthentication, tokenseasy
- 131.What single sign-on meansauthentication, ssoeasy
- 132.Building SQL from user inputdatabases, sql, securityeasy
- 133.What atomicity guaranteesdatabases, transactionseasy
- 134.WHERE column = NULL finds nothingdatabases, sql, nullseasy
- 135.COUNT(*) versus COUNT(column)databases, sql, nullseasy
- 136.Column type for pricesdatabases, schema-design, moneyeasy
- 137.Storing order times for two countriesdatabases, schema-design, time-zoneseasy
- 138.Students and courses table designdatabases, schema-designeasy
- 139.What a foreign key doesdatabases, schema-design, constraintseasy
- 140.Rows come back in a new orderdatabases, sqleasy
- 141.Search with a leading wildcarddatabases, indexeseasy
- 142.Deleting a customer with ON DELETE CASCADEdatabases, constraintseasy
- 143.Missing numbers in order idsdatabases, schema-designeasy
- 144.Where to keep product photosdatabases, schema-designeasy
- 145.Inserts fail at 2.1 billiondatabases, schema-designeasy
- 146.Checking if any rows existdatabases, sql, performanceeasy
- 147.What is inside a MongoDB ObjectIddatabases, mongodbeasy
- 148.MongoDB's maximum document sizedatabases, mongodb, schema-designeasy
- 149.Updating a counter in MongoDBdatabases, mongodb, concurrencyeasy
- 150.Fields vanish after an updatedatabases, mongodbeasy
- 151.Counting API calls in Redisdatabases, redis, concurrencyeasy
- 152.KEYS * freezes production Redisdatabases, rediseasy
- 153.Storing a user profile in Redisdatabases, rediseasy
- 154.What TTL returns for a keydatabases, redis, ttleasy
- 155.Naming Redis keysdatabases, rediseasy
- 156.Cache empty after a Redis restartdatabases, redis, persistenceeasy
- 157.Deleting old sessions in MongoDBdatabases, mongodb, ttleasy
- 158.Finding products by tagdatabases, mongodb, indexeseasy
- 159.Missed Redis pub/sub messagesdatabases, redis, messagingeasy
- 160.Create the document if it is missingdatabases, mongodbeasy
- 161.A simple job queue in Redisdatabases, redis, queueseasy
- 162.What a 92% cache hit ratio meansdatabases, cachingeasy
- 163.Which key an LRU cache evictsdatabases, cachingeasy
- 164.Why cache entries have a TTLdatabases, caching, ttleasy
- 165.Arabic text shown to English usersdatabases, cachingeasy
- 166.What a write-through cache doesdatabases, cachingeasy
- 167.Slow responses after a cache restartdatabases, cachingeasy
- 168.An address changed in one place onlydatabases, schema-designeasy
- 169.RPO versus RTOdatabases, backups, reliabilityeasy
- 170.Backups that nobody has restoreddatabases, backups, reliabilityeasy
- 171.Database busy with report queriesdatabases, replicationeasy
- 172.SQLite says 'database is locked'databases, sqliteeasy
- 173.Signs that a problem suits DPdynamic-programming, dp-basicseasy
- 174.What memoisation meansdynamic-programming, memoizationeasy
- 175.What tabulation meansdynamic-programming, tabulationeasy
- 176.Cost of plain recursive Fibonaccidynamic-programming, recursion, complexityeasy
- 177.Fibonacci after adding a cachedynamic-programming, memoizationeasy
- 178.Recursion with no base casedynamic-programming, recursioneasy
- 179.Ways to climb five stairsdynamic-programming, dp-basicseasy
- 180.Hidden memory cost of recursiondynamic-programming, recursion, memoizationeasy
- 181.Why merge sort is not DPdynamic-programming, dp-basicseasy
- 182.When the greedy coin choice failsdynamic-programming, greedyeasy
- 183.Built-in memoisation in Pythondynamic-programming, memoization, pythoneasy
- 184.Robbing houses that are not neighboursdynamic-programming, dp-basicseasy
- 185.The first step in designing a DPdynamic-programming, dp-basicseasy
- 186.Fibonacci with two variablesdynamic-programming, tabulation, space-optimizationeasy
- 187.Cheapest way up the stairsdynamic-programming, dp-basicseasy
- 188.Paths across a 3 × 7 griddynamic-programming, grid-dp, countingeasy
- 189.Grid paths with blocked cellsdynamic-programming, grid-dpeasy
- 190.Cheapest path through a cost griddynamic-programming, grid-dpeasy
- 191.What 0/1 knapsack meansdynamic-programming, knapsackeasy
- 192.Unbounded and 0/1 knapsackdynamic-programming, knapsackeasy
- 193.Subsequence and substringdynamic-programming, stringseasy
- 194.Longest common subsequence of two stringsdynamic-programming, lcs, stringseasy
- 195.Operations counted by edit distancedynamic-programming, edit-distance, stringseasy
- 196.Edit distance from kitten to sittingdynamic-programming, edit-distance, stringseasy
- 197.Table size for a two-string DPdynamic-programming, strings, tabulationeasy
- 198.Common substring versus common subsequencedynamic-programming, stringseasy
- 199.Cost of the knapsack DPdynamic-programming, knapsack, complexityeasy
- 200.Order to fill a right-or-down grid tabledynamic-programming, grid-dp, tabulationeasy
- 201.Palindromic substrings in "aaa"dynamic-programming, strings, palindromeseasy
- 202.Can some items add up to exactly Sdynamic-programming, knapsackeasy
- 203.The pattern behind backtrackingdynamic-programming, backtrackingeasy
- 204.Number of subsets of four itemsdynamic-programming, backtracking, combinatoricseasy
- 205.Orderings of four distinct itemsdynamic-programming, backtracking, combinatoricseasy
- 206.What makes a greedy algorithm correctdynamic-programming, greedyeasy
- 207.Booking the most meetings in one roomdynamic-programming, greedy, intervalseasy
- 208.What pruning does in a searchdynamic-programming, backtrackingeasy
- 209.Edges in a tree with n nodesgraphs, treeseasy
- 210.Most nodes in a binary tree of height 3graphs, binary-treeseasy
- 211.What inorder traversal of a BST givesgraphs, binary-search-treeeasy
- 212.Preorder output of a small treegraphs, tree-traversaleasy
- 213.Traversal for freeing a whole treegraphs, tree-traversaleasy
- 214.Data structure for level-order traversalgraphs, tree-traversal, bfseasy
- 215.BST search time, typical and worstgraphs, binary-search-treeeasy
- 216.Leaves in a full binary treegraphs, binary-treeseasy
- 217.Recursive maximum depth of a treegraphs, binary-trees, recursioneasy
- 218.Child positions in an array-based treegraphs, binary-trees, heapseasy
- 219.Inserting sorted keys into a plain BSTgraphs, binary-search-treeeasy
- 220.What makes a graph a treegraphs, treeseasy
- 221.Call stack depth of recursive traversalgraphs, tree-traversal, recursioneasy
- 222.Finding the smallest key in a BSTgraphs, binary-search-treeeasy
- 223.Complete binary tree meaninggraphs, binary-treeseasy
- 224.Space for adjacency list and matrixgraphs, graph-representationeasy
- 225.The structure behind BFSgraphs, bfseasy
- 226.How DFS remembers where to returngraphs, dfseasy
- 227.Fewest hops between two usersgraphs, bfs, shortest-patheasy
- 228.Sum of degrees in an undirected graphgraphs, graph-basicseasy
- 229.Edges in a complete graphgraphs, graph-basicseasy
- 230.Why traversals track visited nodesgraphs, bfs, graph-basicseasy
- 231.Running time of BFS with adjacency listsgraphs, bfseasy
- 232.Counting connected componentsgraphs, dfs, connected-componentseasy
- 233.Neighbours of a cell in a gridgraphs, grid-graphseasy
- 234.Storing a sparse road networkgraphs, graph-representationeasy
- 235.Fast check for one edgegraphs, graph-representationeasy
- 236.Storing weights in an adjacency listgraphs, graph-representationeasy
- 237.In-degree in a follower graphgraphs, graph-basicseasy
- 238.What a DAG isgraphs, graph-basics, dageasy
- 239.The weight rule for Dijkstragraphs, shortest-path, dijkstraeasy
- 240.Data structure inside Dijkstragraphs, shortest-path, dijkstraeasy
- 241.Shortest paths with refunds as negative costsgraphs, shortest-path, bellman-fordeasy
- 242.Cost of Floyd-Warshallgraphs, shortest-path, floyd-warshalleasy
- 243.What a minimum spanning tree isgraphs, minimum-spanning-treeeasy
- 244.How Kruskal’s algorithm worksgraphs, minimum-spanning-tree, union-findeasy
- 245.How Prim’s algorithm worksgraphs, minimum-spanning-treeeasy
- 246.The two operations of union-findgraphs, union-findeasy
- 247.What path compression doesgraphs, union-findeasy
- 248.Why union by size helpsgraphs, union-findeasy
- 249.Dijkstra when every edge costs the samegraphs, shortest-path, bfseasy
- 250.What relaxing an edge meansgraphs, shortest-patheasy
- 251.A cycle with negative total costgraphs, shortest-path, bellman-fordeasy
- 252.Running time of heap-based Dijkstragraphs, shortest-path, dijkstraeasy
- 253.Counting groups after several unionsgraphs, union-find, connected-componentseasy
- 254.Graphs that have a topological ordergraphs, topological-sort, dageasy
- 255.Where Kahn’s algorithm startsgraphs, topological-sorteasy
- 256.A structure for search-box suggestionsgraphs, trieseasy
- 257.Cost of a trie lookupgraphs, trieseasy
- 258.Courses that require each othergraphs, topological-sort, cycle-detectioneasy
- 259.How build tools order their stepsgraphs, topological-sorteasy
- 260.More than one valid ordergraphs, topological-sorteasy
- 261.Storing children in a trie nodegraphs, trieseasy
- 262.Why a trie node needs an end markergraphs, trieseasy
- 263.Which way the dependency edge pointsgraphs, topological-sorteasy
- 264.Kahn’s algorithm finishes earlygraphs, topological-sort, cycle-detectioneasy
- 265.When a trie beats a hash setgraphs, trieseasy
- 266.What a segment tree is forgraphs, segment-tree, treeseasy
- 267.What a Fenwick tree storesgraphs, fenwick-tree, treeseasy
- 268.Nodes in a small triegraphs, trieseasy
- 269.Average cost of a hash map lookuphash-map, time-complexityeasy
- 270.Worst case for a hash map lookuphash-map, collisionseasy
- 271.Removing duplicates with a Sethash-map, sets, javascripteasy
- 272.Number keys in a plain objecthash-map, javascripteasy
- 273.Iteration order of a Maphash-map, javascripteasy
- 274.When to choose Map over a plain objecthash-map, javascripteasy
- 275.Set of look-alike objectshash-map, sets, javascripteasy
- 276.Counting letters in a wordhash-map, countingeasy
- 277.Two Sum with a hash maphash-map, two-sumeasy
- 278.Reading a key that is not in a Maphash-map, javascripteasy
- 279.What load factor meanshash-map, internalseasy
- 280.Safe counting in a Python dicthash-map, pythoneasy
- 281.Checking a key by its valuehash-map, javascript, debuggingeasy
- 282.Intersecting two lists of IDshash-map, setseasy
- 283.Counting entries in a Maphash-map, javascripteasy
- 284.Missing key in a Python Counterhash-map, python, countingeasy
- 285.Adding a value that is already in a Sethash-map, sets, javascripteasy
- 286.Grouping with defaultdicthash-map, python, groupingeasy
- 287.Building a Map from pairshash-map, javascripteasy
- 288.Looping over a Maphash-map, javascripteasy
- 289.Repeated membership checkshash-map, sets, time-complexityeasy
- 290.Does a string have all unique charactershash-map, sets, stringseasy
- 291.Adding stock to an inventory maphash-map, javascript, countingeasy
- 292.Does a sentence use every letterhash-map, sets, stringseasy
- 293.Counting jewels among stoneshash-map, setseasy
- 294.What Map.delete returnshash-map, javascripteasy
- 295.Equal keys and hash valueshash-map, internalseasy
- 296.null keys in Java mapshash-map, javaeasy
- 297.Avoiding loops in graph searchhash-map, sets, graphseasy
- 298.What HashMap.put returnshash-map, javaeasy
- 299.What in checks on a Python dicthash-map, pythoneasy
- 300.Creating an empty set in Pythonhash-map, python, setseasy
- 301.The in operator on a plain objecthash-map, javascripteasy
- 302.Memory used by a hash maphash-map, time-complexityeasy
- 303.Counting with getOrDefault in Javahash-map, java, countingeasy
- 304.Argument order in Map.forEachhash-map, javascripteasy
- 305.Tallying voteshash-map, countingeasy
- 306.Removing duplicates but keeping orderhash-map, pythoneasy
- 307.Choosing a structure for a contact lookuphash-map, designeasy
- 308.Items in exactly one of two setshash-map, setseasy
- 309.What HashSet.add returnshash-map, java, setseasy
- 310.Turning a Map into an object for JSONhash-map, javascript, jsoneasy
- 311.Looping over keys and values in Pythonhash-map, pythoneasy
- 312.String and number keys in a Maphash-map, javascripteasy
- 313.Removing a missing item from a Python sethash-map, python, setseasy
- 314.Set size after a deletehash-map, sets, javascripteasy
- 315.Type of keys from Object.keyshash-map, javascripteasy
- 316.Emptying a Maphash-map, javascripteasy
- 317.What a bucket is in a hash tablehash-map, internalseasy
- 318.Counting words regardless of casehash-map, counting, stringseasy
- 319.Checking a block listhash-map, setseasy
- 320.Inverting a Python dicthash-map, pythoneasy
- 321.Unique letters in a wordhash-map, sets, javascripteasy
- 322.Stopping a coupon from being reusedhash-map, setseasy
- 323.Remainder of a negative numbermath, modular-arithmeticeasy
- 324.Why 0.1 + 0.2 is not 0.3math, floating-pointeasy
- 325.Storing rupee amounts safelymath, floating-point, moneyeasy
- 326.GST inside an inclusive pricemath, percentages, taxeasy
- 327.How many buses are neededmath, integer-arithmeticeasy
- 328.Checking for a power of twomath, bit-manipulationeasy
- 329.Which year is a leap yearmath, dateseasy
- 330.Month number in new Datemath, dateseasy
- 331.Finding the nearest point fastmath, geometry, game-matheasy
- 332.Clamping a value into a rangemath, game-matheasy
- 333.Math.sin(90) is not 1math, geometry, trigonometryeasy
- 334.Sum of 1 to 100math, serieseasy
- 335.Random whole number in a rangemath, probability, randomeasy
- 336.Percent up, then back downmath, percentageseasy
- 337.Reading binary 1011math, number-baseseasy
- 338.Hex colour to RGB valuesmath, number-baseseasy
- 339.Median of four valuesmath, statisticseasy
- 340.Checking for NaNmath, floating-point, javascripteasy
- 341.Dividing by zero in JavaScriptmath, floating-point, javascripteasy
- 342.Interpolating a quarter of the waymath, game-matheasy
- 343.Moving at the same speed on any devicemath, game-math, simulationeasy
- 344.VAT inside a UAE pricemath, percentages, taxeasy
- 345.Compound interest over two yearsmath, finance-matheasy
- 346.Converting Dubai time to India timemath, dates, time-zoneseasy
- 347.parseInt with a radixmath, number-bases, javascripteasy
- 348.Sum of 5, 10, ..., 100math, serieseasy
- 349.Years to double at 8%math, finance-matheasy
- 350.Average roll of a diemath, probabilityeasy
- 351.Binary search steps for 1 millionmath, logarithms, complexityeasy
- 352.Typical salary with one outliermath, statisticseasy
- 353.Turning an ADC reading into voltsmath, embedded-matheasy
- 354.PWM duty cycle and average voltagemath, embedded-matheasy
- 355.First byte of 0x12345678 in memorymath, embedded-math, bit-manipulationeasy
- 356.Queue versus topicmessage-queues, pub-subeasy
- 357.Why put a queue between servicesmessage-queues, decouplingeasy
- 358.What a RabbitMQ exchange doesmessage-queues, rabbitmqeasy
- 359.Direct exchange routingmessage-queues, rabbitmqeasy
- 360.Topic exchange wildcardsmessage-queues, rabbitmqeasy
- 361.Fanout exchange behaviourmessage-queues, rabbitmq, pub-subeasy
- 362.SQS standard versus FIFOmessage-queues, sqseasy
- 363.Purpose of a dead-letter queuemessage-queues, dead-letter-queueeasy
- 364.Surviving a broker restartmessage-queues, rabbitmq, durabilityeasy
- 365.SQS long pollingmessage-queues, sqs, costeasy
- 366.How long SQS keeps messagesmessage-queues, sqseasy
- 367.SNS to SQS fan-outmessage-queues, sqs, snseasy
- 368.At-most-once deliverymessage-queues, delivery-guaranteeseasy
- 369.Kafka message keysmessage-queues, kafka, orderingeasy
- 370.Queue as a shock absorbermessage-queues, load-levelingeasy
- 371.Redis Pub/Sub for jobsmessage-queues, rediseasy
- 372.Delaying an SQS messagemessage-queues, sqs, schedulingeasy
- 373.Message TTL on a queuemessage-queues, rabbitmq, dead-letter-queueeasy
- 374.When to use a priority queuemessage-queues, priorityeasy
- 375.Events versus commandsmessage-queues, event-driveneasy
- 376.Handling incoming webhooksmessage-queues, webhookseasy
- 377.Telling users about a long jobmessage-queues, api-designeasy
- 378.What Kafka does after a readmessage-queues, kafkaeasy
- 379.A queue just for one clientmessage-queues, rabbitmqeasy
- 380.What RabbitMQ vhosts are formessage-queues, rabbitmq, securityeasy
- 381.Matching replies to requestsmessage-queues, patternseasy
- 382.setTimeout as a job queuemessage-queues, background-jobseasy
- 383.Only some events for one subscribermessage-queues, sns, pub-subeasy
- 384.What MessageGroupId doesmessage-queues, sqs, orderingeasy
- 385.Calls with no timeoutreliability, timeoutseasy
- 386.Which errors to retryreliability, retrieseasy
- 387.Recommendations service is downreliability, graceful-degradationeasy
- 388.RTO and RPOreliability, disaster-recoveryeasy
- 389.MTTR and MTBFreliability, availabilityeasy
- 390.Backups nobody has restoredreliability, disaster-recoveryeasy
- 391.Respecting Retry-Afterreliability, retrieseasy
- 392.The bulkhead patternreliability, bulkheadeasy
- 393.Turning off a broken feature fastreliability, feature-flags, incident-responseeasy
- 394.Errors right after a deployreliability, incident-responseeasy
- 395.Why use a canary releasereliability, deploymenteasy
- 396.Heater controller loses its sensorreliability, fail-safe, embeddedeasy
- 397.An outage caused by a certificatereliability, monitoringeasy
- 398.Service dies after weeks of uptimereliability, operationseasy
- 399.Connect timeout versus read timeoutreliability, timeoutseasy
- 400.Why postmortems are blamelessreliability, incident-responseeasy
- 401.N+1 capacityreliability, redundancy, capacity-planningeasy
- 402.An alert at 3 a.m.reliability, incident-response, alertingeasy
- 403.Which request is safe to retryreliability, idempotency, api-designeasy
- 404.Planned database maintenancereliability, graceful-degradationeasy
- 405.Bubble sort best case with early exitsorting-and-searchingeasy
- 406.What a stable sort meanssorting-and-searchingeasy
- 407.Merge sort time in every casesorting-and-searchingeasy
- 408.Best simple sort for nearly sorted datasorting-and-searchingeasy
- 409.Swaps made by selection sortsorting-and-searchingeasy
- 410.What in-place sorting meanssorting-and-searchingeasy
- 411.Quick sort worst-case timesorting-and-searchingeasy
- 412.JavaScript default sort on numberssorting-and-searching, javascripteasy
- 413.Comparator sign for ascending ordersorting-and-searching, javascripteasy
- 414.When counting sort is a good fitsorting-and-searchingeasy
- 415.Python sorted() versus list.sort()sorting-and-searching, pythoneasy
- 416.Lower bound for comparison sortingsorting-and-searchingeasy
- 417.Extra memory used by merge sortsorting-and-searchingeasy
- 418.Is heap sort stable?sorting-and-searchingeasy
- 419.Trace one bubble sort passsorting-and-searchingeasy
- 420.Best case of binary searchsorting-and-searchingeasy
- 421.Time complexity of binary searchsorting-and-searchingeasy
- 422.Binary search steps for a million itemssorting-and-searchingeasy
- 423.Overflow-safe midpoint formulasorting-and-searchingeasy
- 424.Loop condition for a closed search rangesorting-and-searchingeasy
- 425.Trace a binary searchsorting-and-searchingeasy
- 426.One search in unsorted datasorting-and-searchingeasy
- 427.What bisect_left returnssorting-and-searching, pythoneasy
- 428.Java Arrays.binarySearch when not foundsorting-and-searching, javaeasy
- 429.What C++ lower_bound returnssorting-and-searching, cppeasy
- 430.Binary search on a sorted linked listsorting-and-searchingeasy
- 431.Range size after several halvingssorting-and-searchingeasy
- 432.Space used by recursive binary searchsorting-and-searchingeasy
- 433.Which duplicate a plain search findssorting-and-searchingeasy
- 434.The three steps of divide and conquersorting-and-searchingeasy
- 435.Solving T(n) = 2T(n/2) + nsorting-and-searchingeasy
- 436.Solving T(n) = T(n/2) + 1sorting-and-searchingeasy
- 437.Fast exponentiation by squaringsorting-and-searchingeasy
- 438.Solving T(n) = T(n - 1) + nsorting-and-searchingeasy
- 439.Grouping anagrams with a sorted keysorting-and-searchingeasy
- 440.Order rule of a stackstacks-and-queueseasy
- 441.Order rule of a queuestacks-and-queueseasy
- 442.Trace stack push and popstacks-and-queueseasy
- 443.Trace queue operationsstacks-and-queueseasy
- 444.Using a JavaScript array as a stackstacks-and-queues, javascripteasy
- 445.Cost of Array.shift in a queuestacks-and-queues, javascripteasy
- 446.Cause of a stack overflow errorstacks-and-queueseasy
- 447.Serving patients by severitystacks-and-queueseasy
- 448.Data structure behind Undostacks-and-queueseasy
- 449.Browser back and forward buttonsstacks-and-queueseasy
- 450.Structure behind breadth-first searchstacks-and-queueseasy
- 451.Depth-first search without recursionstacks-and-queueseasy
- 452.Python queue: deque or liststacks-and-queues, pythoneasy
- 453.What peek does on a stackstacks-and-queueseasy
- 454.What stack underflow meansstacks-and-queueseasy
- 455.Reversing a string with a stackstacks-and-queueseasy
- 456.Building a stack on a linked liststacks-and-queueseasy
- 457.Inserting at the head of a linked liststacks-and-queueseasy
- 458.Reading the k-th node of a linked liststacks-and-queueseasy
- 459.Deleting a known node in a doubly linked liststacks-and-queueseasy
- 460.How a singly linked list endsstacks-and-queueseasy
- 461.Reversing a linked list in placestacks-and-queueseasy
- 462.Why use a dummy head nodestacks-and-queueseasy
- 463.Why arrays often beat linked listsstacks-and-queueseasy
- 464.Where the smallest value lives in a min-heapstacks-and-queueseasy
- 465.Heap parent and child indicesstacks-and-queueseasy
- 466.Cost of inserting into a binary heapstacks-and-queueseasy
- 467.Cost of reading the top of a heapstacks-and-queueseasy
- 468.Max-heap with Python heapqstacks-and-queues, pythoneasy
- 469.Shape of a binary heapstacks-and-queueseasy
- 470.Default order of Java PriorityQueuestacks-and-queues, javaeasy
- 471.Heap memory versus the heap data structurestacks-and-queueseasy
- 472.What a deque supportsstacks-and-queueseasy
- 473.Checking a palindrome with a dequestacks-and-queueseasy
- 474.Round-robin scheduling with a queuestacks-and-queueseasy
- 475.What a dead-letter queue is forstacks-and-queueseasy
- 476.Keeping only the latest log linesstacks-and-queueseasy
- 477.When arrivals outpace processingstacks-and-queueseasy
- 478.What a load balancer doessystem-design, load-balancingeasy
- 479.Serving images to far-away userssystem-design, cdn, cachingeasy
- 480.The cache-aside patternsystem-design, cachingeasy
- 481.Scaling a read-heavy databasesystem-design, databases, scalingeasy
- 482.Latency versus throughputsystem-design, performanceeasy
- 483.Estimating requests per secondsystem-design, estimationeasy
- 484.How much downtime 99.99% allowssystem-design, availabilityeasy
- 485.Why keep app servers statelesssystem-design, scalingeasy
- 486.How a token bucket limits ratesystem-design, rate-limitingeasy
- 487.What an API gateway handlessystem-design, api-gatewayeasy
- 488.Large file uploadssystem-design, storageeasy
- 489.Spotting a single point of failuresystem-design, availabilityeasy
- 490.DNS failover is slowsystem-design, dns, availabilityeasy
- 491.Cost of adding indexessystem-design, databaseseasy
- 492.Pushing live order statussystem-design, real-timeeasy
- 493.Batch or stream processingsystem-design, data-processingeasy
- 494.A live game leaderboardsystem-design, redis, data-structureseasy