Build a release approval process with states and deadlines.
Add fields to many records at the same time with Tasks.map.
Split records into batches, process them at the same time, and sort the results.
Calculate factorials, Fibonacci numbers, and powers larger than 64 bits.
Limit how many tasks run at once with max:.
Calculate 100 digits of π with the Chudnovsky formula and big integers.
Score many records at the same time with Tasks.map.
Schedule digest jobs from a cadence and a time window.
Route support tickets from their severity and response deadline.
Format RFC3339 timestamps with whole or fractional seconds.
Remove, select, merge, and fetch fields from a hash.
Calculate a late fee from an overdue duration.
Choose a late fee from the account standing and days overdue.
Parse log lines, group them by level, and count each group.
Plan a maintenance window with environment rules, freeze notices, and durations.
Turn rows of daily metrics into totals for each metric.
Read hex, octal, binary, and scientific numbers, then round them.
Build an on-call handoff from the coverage level and shift length.
Run independent functions in one Tasks.run block and combine their results.
Schedule payouts from the amount, cadence, and settlement delay.
Send each quote to the right approval step based on its total.
Use enums, money, and durations to decide whether to refund an order.
Report whether a release is ready from its state, approvals, and schedule.
Schedule reminders from a channel and lead time.
Split a list into pages and rolling windows, then sample values.
Recover from missing hash keys and check float edge cases.
Build an exponential retry schedule with enums, durations, and timestamps.
Set a session expiry time from its risk level.
Calculate delivery dates and prices for each shipping speed.
Start a batch of tasks, wait for all of them, then total the results.
Turn rows of money values into totals for each category.
Price a subscription invoice from the plan and quantity.
Catch a task error by wrapping Tasks.run in begin and rescue.
Split, align, and inspect text with Ruby-style string helpers.
Build a trial offer from the account type and trial length.
Build string and symbol arrays with %w, %i, %W, and %I.
Use array helpers to search, sort, combine, and inspect values.
Queue jobs and publish events through APIs from the Go app.
Define functions, call other functions, and return values.
Work with numbers, strings, arrays, hashes, and common operators.
Filter, group, and reduce data with blocks.
Map, filter, and reduce collections with blocks.
Group donations and total the money in each currency.
Write functions that accept and yield to blocks.
Iterate over records returned by an API from the Go app.
Read the current user from context provided by the Go app.
Query and update data through a database API from the Go app.
Read, build, and update arrays.
Build, update, and read nested hashes.
Use symbols as stable hash keys.
Match values and ranges with case and when.
Choose values with if, elsif, else, and unless.
Skip and stop loop iterations with next and break.
Write factorial and Fibonacci functions with recursion.
Repeat work with an until loop.
Repeat work with a while loop.
Create durations and add them together.
Define enums and inspect their values.
Check inputs with assertions.
Merge, search, and count values in hashes.
Rename, filter, and transform hash keys and values.
Write FizzBuzz with a loop and conditionals.
Nest loops and stop early with break.
Iterate over ranges and arrays with common loop helpers.
Add, subtract, and compare money values.
Write access rules as small functions.
Create ascending and descending ranges, then filter their values.
Parse JSON and time values, then create IDs.
Normalize, split, search, and inspect strings.
Run independent scoring and preparation functions at the same time.
Add durations to times and use duration arithmetic.
Toggle one hundred doors and return the open door numbers.
Generate the full 99 Bottles of Beer song from 99 down to 0.
Compute the shortest unique command prefixes for a fixed command set and resolve sample abbreviations.
Resolve simple command abbreviations by matching unique prefixes from a fixed command list.
Check a few well-known odd abundant numbers by comparing them with their proper divisor sums.
Classify sample integers by comparing them with the sum of their proper divisors.
Align Rosetta Code's dollar-delimited sample text into left, right, and centered columns.
Build short aliquot sequences and classify whether they terminate, loop, or are perfect.
Group a fixed word list into anagram sets using sorted-letter signatures.
Compute the smallest signed turn needed to move from one bearing to another.
Normalize degree angles and convert between degrees and radians for fixed sample values.
Encode and decode short messages with Bacon's five-letter A/B cipher.
Convert small signed integers into balanced ternary using 1, 0, and T digits.
Produce a low-fixed-point shuffle by rotating the sorted characters of a word.
Convert fixed non-negative integers into binary strings.
Generate all binary strings of a fixed length with a simple recursive builder.
Run common bitwise operations with a hand-built 8-bit model.
Map degree headings to the correct 32-point compass names for the Rosetta Code sample bearings.
Find the first Brazilian numbers by searching for bases whose representation uses one repeated digit.
Sort an array of integers using the bubble sort algorithm.
Call functions with positional arguments and combine their results.
Build Cartesian products iteratively for a pair of lists and a three-list input.
Generate the opening Catalan numbers with the standard multiplicative recurrence.
Map sample years to their Chinese zodiac animal and element.
Classify values with if, elsif, and else branches.
Compute weekdays for fixed Gregorian dates with Zeller's congruence.
Recognize simple signed integer and decimal strings.
Collapse repeated adjacent characters and compare the squeezed result with a target string.
Compute the digital root and additive persistence of a non-negative integer.
Convert Gregorian dates into the Discordian calendar.
Compute the dot product of two vectors of equal length.
Multiply two integers by repeated halving, doubling, and summing odd rows.
Compute factorial values both recursively and iteratively, well past the 64-bit range.
Compute all positive factors of a small positive integer with trial division up to its square root.
Generate Farey sequences of small orders with the classic iterative recurrence.
Generate Tribonacci and Tetranacci sequences by summing the previous n terms.
Produce the opening terms of the Fibonacci sequence iteratively.
Build the opening Fibonacci words by concatenating the two previous terms.
Search for numbers whose binary and ternary representations are both palindromes.
Count consonants in a fixed word list and return the words with the highest totals.
Emit the classic FizzBuzz sequence up to a chosen limit.
Generate the opening rows of Floyd's triangle.
Add two four-bit binary values and return the carry with the result bits.
Reduce sample fractions to lowest terms with Euclid's algorithm.
Generate the 4-bit Gray code sequence with the standard reflective construction.
Compute greatest common divisors with the iterative Euclidean algorithm on a fixed sample set.
Decompose sample rational numbers into Egyptian fractions with the standard greedy method, including inputs whose unit-fraction denominators run to 25 digits.
Build a hailstone sequence and report its length.
Generate the opening Hamming numbers with the classic 2-3-5 pointer technique.
Classify happy numbers by iterating the sum-of-squares process and list the first twelve.
Find Harshad (Niven) numbers, which are divisible by the sum of their digits.
Search a small side-length range for Heronian triangles with integer area.
Generate humble numbers with the standard 2-3-5-7 pointer technique.
Check sample words against the classic “i before e except after c” spelling rule.
Sort an array by repeatedly inserting each element into its correct position.
Compute integer square roots with a binary search over fixed sample inputs.
Find the survivor position in the Josephus problem for n people counting every k-th.
Test fixed integers for the Kaprekar split-square property.
Apply the Kaprekar routine to a 4-digit number and watch it converge to 6174.
Build a word chain where each next word starts with the previous word's last letter.
Determine whether a given year is a leap year using the Gregorian calendar rules.
Count alphabetic character frequencies in a sample phrase.
Compute edit distance with insert, delete, and substitute operations using a single rolling row.
Break a multiplication problem into the partial products used by long multiplication.
Generate terms of the look-and-say sequence where each term describes the digits of the previous one.
Validate account numbers with the Luhn checksum.
Check sample numbers for palindrome formation under 200 rounds of the reverse-and-add process, where sums grow far past 64 bits.
Build a 3x3 magic square with the classic Siamese method.
Multiply two small matrices.
Transpose a matrix by swapping its rows and columns with the built-in Array#transpose.
Return the middle three digits of integers that have an odd number of digits.
Search small multiples until the digit sum matches the divisor.
Encode text to Morse code using a fixed A-Z and digit lookup table.
Build a small multiplication table as nested arrays.
Generate the first twenty 5-smooth numbers by stripping allowed small factors.
Identify fixed sample numbers that equal the sum of their digits raised to the digit count.
Sort filenames by comparing embedded digit runs numerically instead of lexicographically.
Spell small whole numbers in English.
Approximate definite integrals with the trapezoidal rule over fixed functions.
Detect palindromes after normalizing letters and digits to lowercase.
Find the first palindromic gapful numbers in a bounded decimal range.
Check whether a sentence contains every letter of the alphabet at least once.
Parse dotted IPv4 strings into four validated octets.
Generate the opening rows of Pascal's triangle iteratively.
Generate every permutation of three items with a simple recursive backtracking routine.
Translate English words into Pig Latin by moving leading consonants and appending ay.
Construct a standard 52-card deck from suit and rank combinations.
Find the prime factors of composite integers with trial division.
Model a simple highest-priority-first queue with sorted insertion over an array-backed store.
Enumerate small Pythagorean triples with bounded hypotenuse.
Compress an ordered list of integers into Rosetta Code's comma-and-range string format.
Convert a Roman numeral string back to its integer value.
Convert an integer to its Roman numeral representation.
Add fixed integer pairs and return the resulting sums.
Return the sum of integer pairs.
Create, index, append to, and total arrays.
Encode and decode text by rotating letters by thirteen positions.
Encode and decode a short sample string with classic run-length encoding.
Sort an array by repeatedly selecting the minimum element from the unsorted portion.
Check primorial minus one and plus one values for primality over a short prime prefix.
Find the union, intersection, and difference of array-backed sets.
Return a compact slice of ASCII rows with code, character, and ordinal data.
Generate the prime numbers up to fifty with the classic sieve.
Detect Smith numbers by comparing the digit sum of a composite integer with the digit sum of its prime factors.
Fill a square matrix in clockwise spiral order.
List the square-free integers up to thirty.
Model a small LIFO stack with push, pop, and peek over an array-backed store.
Compare sample string pairs lexicographically and report the sign of each comparison.
Find every starting index of a pattern inside a fixed string with a naive scan.
Extract substrings from a source string using start offsets and lengths.
Sum the integers below fixed limits that are divisible by three or five.
Search a small cube-sum table for numbers that can be written as two sums of two cubes.
Convert values between Celsius and Fahrenheit.
Build a small truth table for three-valued logic with true, maybe, and false states.
Pick the highest-scoring row from each group with a stable tie-break on name.
Topologically sort a small dependency graph with Kahn's algorithm.
Sum the areas of several circles from their radii.
Solve Towers of Hanoi recursively and return each move in order.
Traverse a small binary tree in preorder, inorder, postorder, and level order.
Enumerate boolean combinations for common logical operators.
Validate sample UPC codes with the standard checksum rule.
Parse a fixed URL into scheme, host, path, and query parameters.
Encode fixed code points into UTF-8 byte arrays and decode them back.
Show variable assignment, reassignment, and derived values.
Compute the dot product and cross product of two fixed three-dimensional vectors.
Encode and decode a short uppercase message with a fixed Vigenère key.
Count the frequency of normalized words in a short sample passage.
Wrap a paragraph with the standard greedy algorithm at two different column widths.
Represent integers as sums of non-consecutive Fibonacci numbers using Zeckendorf's theorem.
Fill a small square matrix with zig-zag diagonal ordering.
Determine whether a word can be formed from a fixed set of two-letter blocks without reusing a block.
Run the Ackermann function on small inputs to show deep recursion.
Check whether bracket pairs are properly nested and closed by scanning the text with a stack.
Locate values in a sorted array by repeatedly halving the remaining search interval.
Encode and decode text by rotating alphabetic characters through a fixed shift.