{ }codelper

Problems

Every problem has reference solutions in every language it accepts (usually all 8; language-specific topics like pointers or classes take only those languages), machine-checked to produce identical answers.

  1. Copying a guestbook linereading a line8P0311
  2. Sum of two numbersreading numbersaddition64-bit integers8P0001
  3. Bonus-added scores joined with commasjoined output8P0373
  4. Marbles passed in turndeclaring variables8P0251
  5. The shorter one stands in frontswapping values8P0344
  6. Four lines of true and falsebooleans8P0217
  7. Ticket number from a seat codecharacters8P0226
  8. Sale price, or list price if there is nonenull values8P0281
  9. Distance per literfloat division8P0216
  10. Sum of digitsremainderinteger divisionwhile loop8P0006
  11. Grid distanceabsolute value8P0017
  12. A photo fitted to a square frameif / else8P0254
  13. Letter gradeselse-if chainfor-each loop8P0011
  14. Leap yearlogical operators8P0019
  15. Locker extra feeternary operator8P0372
  16. Three-day temperature trendcomparisons8P0227
  17. Clap gamefor loopelse-if chainremainder8P0002
  18. Star trianglefor looprepeating stringsnested loops8P0007
  19. One row of the times tablefor loopformatted output8P0022
  20. One more throw for yut or modo-while loop8P0255
  21. First multiplebreak / continue8P0023
  22. Street lamps, with one at the very endstepping loops8P0371
  23. A reading marathon that grows every dayaccumulating8P0282
  24. Count the vowelsiterating stringsmembership test8P0009
  25. First and last position of a characterstring indexingcharacters8P0053
  26. Letters picked along the diagonalstring indexing8P0283
  27. Count the wordssplitting stringsreading a line8P0012
  28. Palindrome checkreversing stringsif / else8P0004
  29. Reverse it, keep the signreversing strings8P0252
  30. Swap the caseupper / lower caseiterating strings8P0025
  31. Largest number and its positioniterating listsmax / minlist indexing8P0005
  32. Numbers of the students who retakeappending8P0374
  33. Showing one page of a boardslicing lists8P0284
  34. Sort the numberssorting lists8P0036
  35. Sorting sign letterssorting lists8P0253
  36. Is it on the list?list membership8P0059
  37. Swapping places in pairsswapping elements8P0312
  38. Dart scores thrown in turnssum8P0342
  39. Mornings at or above averagecountingaverage8P0343
  40. A thermometer that cannot leave its scalereturn valuesdefining functions8P0402
  41. Balls that landed in the sandboxpredicate functions8P0285
  42. Numbering the lines of a songreading a line8P0347
  43. Score statisticsreading numbersiterating listsmax / mininteger division8P0003
  44. Exactly the money you havereading n linesfloating-point precisiontype conversion8P0043
  45. Sum to the endreading until EOFsum8P0018
  46. Weight on the scaleprinting decimals8P0221
  47. Swap the cardsswapping valuesreading n lines8P0046
  48. Big sum64-bit integersoverflowsum8P0015
  49. Truncate, floor, roundtype conversionreading n lines8P0044
  50. A siren that keeps sounding until switched offbooleans8P0289
  51. Letter chaincharactersprinting without newline8P0045
  52. Ride capacityconstantsscopedeclaring variables8P0086
  53. Three hops to the power box contactnull values8P0286
  54. Grading addition homeworkaddition8P0222
  55. Seconds to H:MM:SSinteger divisionremainderformatted output8P0013
  56. Free-throw success rate sheetfloat division8P0314
  57. Weekday after k daysnegative remainder8P0016
  58. Round half to evenrounding8P0048
  59. Powers that fitpowersaccumulating8P0050
  60. Closest to the targetabsolute valueoverflow8P0218
  61. Where is the square rootsquare rootternary operator8P0049
  62. Member discount and delivery feeif / elsenested conditions8P0191
  63. Kite-flying notice boardelse-if chain8P0315
  64. Middle of threenested conditionscomparisons8P0020
  65. Four-operation calculatorswitchinteger division8P0021
  66. Password rule checkermembership testlogical operators8P0098
  67. Fibonacci numberfor loop64-bit integersrecursion8P0010
  68. Counting temperature recordsfor-each loop8P0219
  69. Count the digitsdo-while loopcounting8P0052
  70. Loading a delivery truck in orderbreak / continue8P0223
  71. Count down by stepscounting downstepping loopsjoined output8P0024
  72. Running total until zerosentinel looprunning totals8P0051
  73. Characters left in a message with Korean textstring length8P0341
  74. Letter numbers in a notestring indexing8P0192
  75. Cut from the a-th to the b-th charactersubstrings8P0054
  76. Reverse the word ordersplitting stringsjoining stringsreversing lists8P0028
  77. A note cipher that reverses each halfreversing strings8P0316
  78. Letter pyramidrepeating stringscharacter codes8P0097
  79. Caesar ciphercharacter codesremainder8P0026
  80. Stamp a case patternupper / lower case8P0230
  81. Find and replace allreplacing text8P0055
  82. Count overlapping occurrencesfinding text8P0030
  83. Compare two words in dictionary ordercomparing strings8P0056
  84. Right-align the namespaddingstring length8P0029
  85. Trim whitespace from each linetrimming8P0057
  86. Run-length compressionbuilding stringsiterating strings8P0027
  87. Digit ribbon piecesbuilding strings8P0095
  88. Travel time on a one-way bus routelist indexing8P0224
  89. Remove every matchremoving8P0058
  90. Rotate a list rightslicing listsremainder8P0032
  91. Row and column sums2D listsnested loops8P0033
  92. Number order and dictionary ordersorting lists8P0320
  93. Masking banned words in chatlist membershiprepeating strings8P0194
  94. Edit only the copycopying lists8P0060
  95. Stamping a gridfilled lists2D lists8P0061
  96. Shortest to the front, tallest to the backswapping elementslist indexing8P0317
  97. Second largestmax / mincomparisons8P0031
  98. Class averages and the year averageaverage8P0225
  99. Tally scans in ordercounting with a map8P0220
  100. Phone book lookupmap lookupkey exists8P0063
  101. Only the last vote countsupdating a mapcounting with a map8P0228
  102. Find mutual picksiterating a map8P0256
  103. Find stock by part-code rangesorted keyssum8P0229
  104. Remove duplicatessetsappending8P0035
  105. Booths that start when k students gathergrouping8P0349
  106. Prime checkdefining functionsreturn valueswhile loopremainder8P0008
  107. A box-count function with defaultsparameters8P0257
  108. Tidy locker numberspredicate functions8P0196
  109. Pick the top word with a key function passed infunctions as values8P0318
  110. A balance with unequal armsbrute forcenested loopsbreak / continue8P0345
  111. Fireflies sitting in a rowsimulation8P0350
  112. Candies placed every k seats around a round tableGCD8P0313
  113. Count primes that stay prime reversedprime sieve8P0258
  114. To binarybase conversionwhile loop8P0038
  115. The busiest stretch of the busprefix sums8P0259
  116. Merge the logs of two entrancestwo pointers8P0260
  117. The books the librarian pulled outbinary search8P0375
  118. Whose birthday comes nextcustom sorting8P0376
  119. Fewest coinsgreedyinteger division8P0041
  120. Ways to climb stairsdynamic programming64-bit integers8P0042
  121. The pile of lunch traysstack8P0348
  122. Umbrella stand: first come, first servedqueue8P0351
  123. Stove warmth spreading through a classroomBFS8P0378
  124. The seeker's walk in hide-and-seekDFS8P0377
  125. Following the crossroad notesgraphs (adjacency lists)8P0380
  126. Ranks fixed by the clues alonetopological sort8P0381
  127. Cutting the longest rice cake firstpriority queue (heap)8P0379
  128. Café stamp cardsclasses6P0261
  129. A game character that reports its own statusmethods6P0346
  130. Weekend farm plot recordslists of records8P0319
  131. Which way the turtle facesenumsswitch6P0077
  132. Coupons used in orderinterfaces5P0199
  133. Min, max and sum through pointerspointersreturning several values2P0073
  134. Walking to the longest run with pointerspointers2P0074
  135. Keeping the wordsdynamic memory2P0075
  136. Name tags pointing at the same listreferences8P0262
  137. The robot that bounces backvalue vs reference typesrecords3P0203
  138. Flip and filter a gridcomprehensions2D lists1P0083
  139. One recent list, used twicegenerics4P0204
  140. Second-hand market search boxquery pipelines (LINQ, streams)6P0263
  141. Checking lock recordsequality and coercion8P0287
  142. Neighbors of a new lockerstandard containers8P0288
  143. Shelf label check characterreading a linecharacters8P0161
  144. Unfolding lines continued with a backslashreading a linereading until EOF8P0325
  145. Scale log that wraps anywherereading numbers64-bit integers8P0231
  146. Sales log totalsreading until EOFprinting decimalstrimming8P0102
  147. Temperature strip chartprinting without newlinetype conversion8P0164
  148. Blocks and shadowed variablesdeclaring variablesscopeconstants8P0087
  149. Dart scoreboard: values with different lifetimesdeclaring variablesrunning totals8P0328
  150. Running a sorting networkswapping valuesprinting without newline8P0133
  151. Does it end in binary?floating-point precision8P0359
  152. Permission bit checkerbooleanspowers8P0132
  153. Checking school trip formsbooleanslogical operators8P0324
  154. Building a shuttle bus timetableconstantsdeclaring variablesjoined output8P0163
  155. Overage Charge on a Data Planconstantsoverflowinteger division8P0387
  156. Fill blanks with the last valuenull valuesbooleansreading n lines8P0047
  157. A counter whose wheels have different sizesremaindernegative remainder64-bit integers8P0266
  158. Meeting time in cities around the worldnegative remainderaddition8P0166
  159. Scaling a recipe to the head countroundingprinting decimals8P0232
  160. Part size tolerance checkabsolute valuefloating-point precision8P0134
  161. How far the delivery drone flewsquare rootoverflowprinting decimals8P0233
  162. Streetlamps Along a Pathsquare rootoverflow8P0389
  163. Parcel rate tableelse-if chainmembership testlogical operators8P0167
  164. Parking fee calculatornested conditionsfor-each loop8P0136
  165. Transposing a melody by k semitonesswitchremainder8P0401
  166. Admission by completed years of agecomparisonslogical operators8P0169
  167. Counting places for billboards on a tile wallfor loopnested loops64-bit integers8P0270
  168. Dice game: roll again on a 6do-while loopsimulationoverflow8P0264
  169. Table of shared free daysnested loops2D lists8P0234
  170. Multi-month calendarstepping loopsternary operatorpadding8P0126
  171. Vending machine changecounting downnested conditionsbooleans8P0127
  172. A bank ledger with commascounting downaccumulating64-bit integers8P0173
  173. Progressive income taxaccumulatingif / else64-bit integers8P0137
  174. Elevator log with no floor 0sentinel loopabsolute value8P0235
  175. The longest stretch typed with one handiterating stringsupper / lower casemembership test8P0269
  176. Mark where two lines differstring lengthreversing strings8P0143
  177. Normalize a web address pathstring indexingjoining strings8P0144
  178. Wrap to a widthsubstringsjoining strings8P0104
  179. Read the settings after the addresssplitting stringsmap lookup8P0236
  180. Mirror lettering for a windowreversing stringsreplacing textpadding8P0174
  181. A horizontal bar reportrepeating stringsstring lengthoverflow8P0175
  182. Title case with exception wordsupper / lower casetrimmingjoining strings8P0145
  183. Template fillerfinding textreplacing textsubstrings8P0101
  184. Find next and find previousfinding text8P0356
  185. Case-insensitive sortcomparing stringsupper / lower casejoined output8P0103
  186. Guide Words on Dictionary Pagescomparing stringsmax / min8P0386
  187. Score tablepaddingformatted output8P0096
  188. Finish a link by attaching search filtersbuilding stringscharacter codes8P0290
  189. A tournament where winning tires youiterating listsappendingsimulation8P0180
  190. A frog on stepping stoneslist indexingwhile loopfilled lists8P0193
  191. Edit a playlistremovingreversing listsbreak / continue8P0110
  192. Best window averageslicing listsrunning totalsaverage8P0106
  193. Folding a paper stripreversing lists2D lists8P0354
  194. What the recipes are missinglist membershipappending8P0237
  195. Save slots for a listcopying listsremovingmap lookup8P0107
  196. Spiral fillfilled listsswapping values2D lists8P0128
  197. Vertical survey histogramfilled listscounting8P0150
  198. A function that reverses rangesswapping elementsparameters8P0062
  199. Who moved after the seat swapsswapping elementscopying listsiterating lists8P0176
  200. Tidying ranges of a warehouse shelfswapping elementssorting listsslicing lists8P0177
  201. The day with the widest swingmax / minnested loops8P0238
  202. Checking a receipt with subtotalssum64-bit integerssplitting strings8P0268
  203. Average to two decimalsaveragefloat divisionprinting decimals8P0014
  204. Word frequency rankingcounting with a mapcustom sorting8P0034
  205. Warehouse reorder reportmap lookupparametersreturn values8P0147
  206. Shop inventoryupdating a mapkey exists8P0064
  207. Live top threeupdating a mapiterating a mapcustom sorting8P0109
  208. Merging Photo Album Tagsupdating a mapkey exists8P0388
  209. Roster by numberiterating a mapsorted keys8P0065
  210. Union, intersection, differencesetssorting lists8P0099
  211. Tiles that flip when stepped onsetssimulation8P0352
  212. Group by first lettergroupingsorted keys8P0066
  213. The abacus that needs the fewest beadsdefining functionsparameters64-bit integers8P0355
  214. A function that takes any number of judge scoresparameterscopying listssorting lists8P0333
  215. Meeting room slot checkerpredicate functionsparametersreturn values8P0149
  216. A child's share passes to the grandchildrenrecursioninteger division8P0265
  217. Shaping a list by passing rule functionsfunctions as valuesiterating listsnegative remainder8P0239
  218. Fold left, fold rightfunctions as values8P0329
  219. Narrowing down a PIN from worn keysbrute forcepadding8P0321
  220. GCD and LCMGCDdefining functionsoverflow8P0037
  221. Add fractions and simplifyGCDnegative remainder64-bit integers8P0094
  222. Counting when three lighthouses flash togetherGCDoverflow64-bit integers8P0322
  223. Split into two primesprime sievebrute force8P0068
  224. From base a to base bbase conversioncharacter codes8P0093
  225. Labels without the avoided digitsbase conversion8P0358
  226. Fast range sumsprefix sums64-bit integers8P0039
  227. Two numbers summing to S in a sorted listtwo pointersreturning several values8P0069
  228. When is the room free?binary searchcounting down8P0240
  229. Height between the markersbinary searchinteger division8P0327
  230. Most meetings in one roomgreedycustom sorting8P0090
  231. A rhythm game where combos build updynamic programming8P0267
  232. Balanced bracketsstackpredicate functions8P0040
  233. Ticket linequeuesimulation8P0071
  234. The museum whose doors lock one by oneBFSqueue8P0291
  235. Line numbers in a folded reply threadDFSstack8P0292
  236. The person with the most friends in commongraphs (adjacency lists)max / min8P0293
  237. A semester plan that keeps prerequisitestopological sortqueue8P0197
  238. Rebuild only the stale filestopological sortDFS8P0326
  239. Lend the least-ridden bike firstpriority queue (heap)64-bit integers8P0294
  240. Bank account objectsclassesmethods6P0078
  241. Shared ticket numbersclassesmethods6P0079
  242. A different salary for each kind of employeeclassesmethods6P0157
  243. Score rankingrecordslists of recordscustom sorting8P0067
  244. League tablemethodslists of records6P0080
  245. Hourglasses that run togethermethodsclasses6P0323
  246. Order state machineenumsswitch6P0156
  247. Filter logs by levelenumscounting6P0357
  248. One max for everythinginterfacesgenerics3P0081
  249. Smart-home devices grouped by what they can dointerfaces5P0383
  250. Detaching train cars with a pointer to a pointerpointers2P0201
  251. An array that doublesdynamic memory2P0158
  252. Copied robotsvalue vs reference typesrecords3P0076
  253. The all-or-nothing vending machinevalue vs reference types3P0382
  254. Flip the class rostercomprehensionsgrouping1P0123
  255. Notebook and pen gift setscomprehensionsnested loops8P0353
  256. A pair ledger you can search from both sidesgenericsupdating a map4P0384
  257. Orders by cityquery pipelines (LINQ, streams)lists of records2P0082
  258. Sorting out the cells dug in a treasure huntquery pipelines (LINQ, streams)sets6P0385
  259. Loose or strict equalityequality and coercionnull values2P0084
  260. Four ways to be the sameequality and coercionnull values2P0124
  261. A stock ledger passed by referencestandard containersreferences1P0085
  262. Coupling trains at the yardstandard containersqueue4P0207
  263. Human-readable file sizesreading a linepowersrounding8P0135
  264. Filtering and grouping a server logreading a lineconstantsjoined output8P0165
  265. Tidying a bike ride logreading numbersprinting decimalstype conversion8P0162
  266. Reading measurement rows mixed with commas and commentsreading numbersreading until EOF64-bit integers8P0392
  267. Summarising a bundle of lettersreading n linesreading a linesplitting strings8P0295
  268. Receipt printer format stringsformatted outputpadding8P0241
  269. Printing a byte dump tableformatted output8P0396
  270. What the progress bar left behindprinting without newlinesimulation8P0271
  271. A banner printed with a digit fontprinting without newline8P0404
  272. Used before a value was put indeclaring variablesscopecopying lists8P0360
  273. Calculator cells assigned all at onceswapping valuessplitting strings8P0272
  274. Compound interest tablefloating-point precisionrounding8P0131
  275. Moving a value into smaller typestype conversion8P0397
  276. Broken Sensors and the Alarmbooleansnull valuesbrute force8P0362
  277. Decoding control-character notationcharacterscharacter codes8P0300
  278. The date some days later or earlieradditionlogical operators8P0170
  279. Split by Stake and the Leftover Woninteger divisionnegative remaindercustom sorting8P0363
  280. Mean and standard deviation of sensor readingsfloat divisionsquare root8P0168
  281. Sprinkler reachpowerssquare rootoverflow8P0129
  282. Trading robot: one action a dayif / elsenested conditions8P0330
  283. TV remote keysswitchnested conditions8P0242
  284. Checking product codes against a templatemembership testiterating strings8P0273
  285. Comparing products rule by rulecomparisonsnested conditionsnull values8P0301
  286. Taking every few diagonal stripes of a patchworkfor loopstepping loops2D lists8P0335
  287. Darts countdown gamefor-each loopternary operatorbreak / continue8P0140
  288. Slime Hunting Logfor-each loopremovingappending8P0390
  289. Sort the digits and subtract, again and againwhile loopmap lookup64-bit integers8P0209
  290. Babylonian square rootdo-while loopfloat divisionabsolute value8P0130
  291. Retry with backoffdo-while loopternary operatoroverflow8P0138
  292. A ruler made of charactersstepping loopsbuilding stringsstring length8P0172
  293. Rewinding a work log to find the first rowcounting downsimulation8P0331
  294. The next level keeps moving awayaccumulatingwhile loop64-bit integers8P0296
  295. Following an ATM's statesentinel loopnested conditions8P0139
  296. A letter tape that turns and flipsstring indexingnegative remainder8P0297
  297. Imitating Python's a:b:c slicingsubstringsnested conditions8P0274
  298. Shortening long file names in the middlesubstringsfinding text8P0395
  299. Split CSV with quotessplitting stringsiterating stringsreading until EOF8P0105
  300. Building a back-of-the-book indexjoining stringsgroupingsorting lists8P0302
  301. Reading a knitting row from the backreversing stringsbuilding strings64-bit integers8P0332
  302. Script rewrite in one passreplacing textmap lookup8P0243
  303. Redact secrets in a logfinding textrepeating stringssentinel loop8P0171
  304. Natural sort of file namescomparing stringscharacter codescustom sorting8P0142
  305. Markdown table of contentstrimmingupper / lower casesets8P0141
  306. Trimming values in a config filetrimmingfinding textsubstrings8P0393
  307. Card row clean-up commandsremovingiterating lists8P0244
  308. Copy, cut and pasteslicing listscopying listsremoving8P0298
  309. Flipping through class-photo lineupsreversing listsswapping elements8P0208
  310. Filtering chat spam by what is still on screenlist membershipremovingupper / lower case8P0391
  311. Theater seats and a waiting linefilled listslist indexingappending8P0146
  312. Picking the restaurant that disappoints no one muchmax / min2D listscomparisons8P0334
  313. Ranking stations by average temperatureaveragegroupingcustom sorting8P0195
  314. Budget ledger by categoryrunning totalsupdating a mapsorted keys8P0178
  315. Runoff with ranked ballotscounting with a mapcountinglist membership8P0148
  316. A small library's loan ledgerkey existscounting with a mapsum8P0179
  317. Laying Wires on an Endless Boardkey existsmap lookupsimulation8P0364
  318. Ordering a warehouse stock ledger by cellsorted keyscustom sortingupdating a map8P0394
  319. Anagram groupsgroupingiterating a mapcustom sorting8P0108
  320. Grouping recipes with the same ratiogroupingGCDsplitting strings8P0280
  321. Reading numbers in Koreandefining functionsbuilding strings64-bit integers8P0200
  322. A calculation tree that evaluates only the chosen sidereturn valuesrecursion8P0275
  323. Binding Named Argumentsparameters8P0361
  324. Pieces nobody attackspredicate functions2D lists8P0299
  325. Letter arrangementsrecursionbrute force8P0100
  326. Reading duration notationreturning several valuesiterating strings64-bit integers8P0366
  327. Run twice: lexical and dynamic scopescopemap lookuprecursion8P0245
  328. Cars at a traffic lightsimulationremainder8P0114
  329. An elevator with two buttonsGCDreturning several values8P0181
  330. Building a gear trainGCDbrute forcerecursion8P0185
  331. Count numbers with k prime factorsprime sieveprefix sums8P0113
  332. Primes in a smudged ledgerprime sievebase conversionbrute force8P0182
  333. Fast rectangle sums on a gridprefix sums2D lists64-bit integers8P0092
  334. Pairs within ktwo pointersfunctions as values8P0112
  335. Cutting the shortest piece from a necklacetwo pointerscharacter codes8P0155
  336. Cut ribbons evenlybinary searchfunctions as values8P0070
  337. Backup disk sizebinary searchgreedy8P0111
  338. Transfers on a timetable where expresses overtakebinary searchrunning totals64-bit integers8P0304
  339. Ways to make an amount with coinsdynamic programmingremainder8P0088
  340. Longest increasing subsequencedynamic programmingnested loops8P0089
  341. Packing a knapsackdynamic programming8P0116
  342. Longest common subsequencedynamic programming8P0117
  343. The cheapest way to fix a captiondynamic programming8P0153
  344. First greater number to the rightstack8P0091
  345. A notepad with undo and redostack8P0187
  346. Round-robin CPUqueuesimulation8P0115
  347. The order of moves to measure with two jugsBFSqueue8P0210
  348. Exploring a cave by feel, picking up keysDFSstack8P0190
  349. Friend groupsgraphs (adjacency lists)DFS8P0118
  350. Slack time of festival taskstopological sortgraphs (adjacency lists)64-bit integers8P0303
  351. Editing a floor plan with chained methodsmethodsclasses64-bit integers6P0276
  352. Parcel trucks that leave when fulllists of recordsrecordsremoving8P0247
  353. Hands of five diceenumselse-if chaincounting6P0198
  354. Task queue and medianinterfacesgenericspriority queue (heap)3P0121
  355. A box ranking built from an array of pointerspointers2P0246
  356. A table whose rows have different lengthsdynamic memory2P0202
  357. A Tiny Heap Managerdynamic memorysimulation8P0365
  358. Fix by reference, find with lower_boundreferencesstandard containersbinary search1P0125
  359. Cloned adventurers and a shared vaultvalue vs reference typesreferencesrecords3P0159
  360. Build an answer-sheet score tablecomprehensionsgrouping1P0206
  361. Top k per stagequery pipelines (LINQ, streams)recordsgrouping2P0122
  362. Matching the product table and the order tablequery pipelines (LINQ, streams)recordsgrouping2P0160
  363. Identical parcels and parcels with the same contentsequality and coerciongroupingcopying lists8P0205
  364. Drawing a folder treebuilding stringsrecursioncustom sorting8P0248
  365. Finding names in nested blocksrecursionscope8P0183
  366. Round table seating rulesbrute forcefunctions as values8P0184
  367. Tile wall and corner numbersbrute force8P0399
  368. An elevator that turns when there is no more worksimulationqueue8P0250
  369. Cutting grid paper into squares with nothing leftGCD64-bit integers8P0367
  370. Longest piece of three ribbon colorsGCDprime sieve64-bit integers8P0398
  371. Numbers that split into small primes onlyprime sieveinteger division8P0340
  372. Repeating fractions in another basebase conversionremainder64-bit integers8P0403
  373. Campfires that cool with distance and the warmth of the campsiteprefix sums64-bit integers8P0307
  374. Serving a round tableprefix sums64-bit integers8P0369
  375. A ridge walk that takes the cable car over the hardest sectiontwo pointersqueue64-bit integers8P0306
  376. Choosing days to dry persimmonstwo pointers64-bit integers8P0368
  377. Stretching every streetlight equallybinary searchgreedy64-bit integers8P0213
  378. A delayed line and the k-th trainbinary search64-bit integers8P0370
  379. Sorting a table by column keys given in the inputcustom sortingcomparing stringsnull values8P0308
  380. Choosing 3D printer orders that meet their deadlinesgreedypriority queue (heap)8P0152
  381. The night watch that needs k people in every slotgreedypriority queue (heap)custom sorting8P0310
  382. Ways the water can flowdynamic programminggraphs (adjacency lists)topological sort8P0154
  383. How many snacks to stock in the fridgedynamic programming64-bit integers8P0214
  384. Numbers that light S barsdynamic programming64-bit integers8P0279
  385. Taking marbles without copyingdynamic programming2D lists8P0339
  386. A remainder calculator where adding comes firststack8P0186
  387. A ledger rolled back to named savepointsstackmap lookup64-bit integers8P0305
  388. Counting two neighboring colors in a grouped bead designstack64-bit integers8P0400
  389. The kiln line where cracked pots cool and queue againqueuesimulation64-bit integers8P0309
  390. A shortcut through up to K wallsBFS8P0119
  391. Paint drops where the most neighbors winBFSqueue8P0188
  392. Doors that flip every time you stepBFS8P0249
  393. Bridges that open only on odd or even minutesBFSgraphs (adjacency lists)8P0336
  394. Island mapDFSBFS8P0072
  395. A package installer that matches version rangesDFSgraphs (adjacency lists)8P0189
  396. Breakers that trip from the bottom upDFSrecursion64-bit integers8P0337
  397. A drone that swaps batteriesgraphs (adjacency lists)priority queue (heap)8P0151
  398. Pipes that cut off water on their owngraphs (adjacency lists)DFSrecursion8P0212
  399. A group chat you leave when the people you watch are gonegraphs (adjacency lists)queue8P0278
  400. Ordering taskstopological sortpriority queue (heap)8P0120
  401. A sheet whose cells may call each othertopological sortmap lookup64-bit integers8P0215
  402. Removing packages nobody needs any moretopological sortqueue64-bit integers8P0338
  403. A bakery that sells the earliest expiry firstpriority queue (heap)simulation64-bit integers8P0211
  404. A treatment order that grows more urgent with waitingpriority queue (heap)simulation64-bit integers8P0277