Category:Solutions by Programming Task
From Rosetta Code
Click on a programming task, and you can see solutions to that task in a variety of programming languages. If you want to see an unsorted list of all tasks on Rosetta Code, see Programming Tasks.
If you have an idea for a programming task not listed here, you may request it or add it yourself.
Subcategories
This category has the following 62 subcategories, out of 62 total.
3
C
J
L
S
X
Pages in category "Solutions by Programming Task"
The following 545 pages are in this category, out of 545 total.
A
- A+B
- Abbreviations, automatic
- Abbreviations, easy
- Abbreviations, simple
- ABC problem
- Abelian sandpile model
- Abelian sandpile model/Identity
- Abundant odd numbers
- Accumulator factory
- Achilles numbers
- Aliquot sequence classifications
- Almkvist-Giullera formula for pi
- Amb
- Anagrams/Deranged anagrams
- Angle difference between two bearings
- Anti-primes
- Apply a digital filter (direct form II transposed)
- Approximate equality
- Archimedean spiral
- Arena storage pool
- Arithmetic evaluation
- Arithmetic numbers
- Arithmetic-geometric mean
- Arithmetic-geometric mean/Calculate Pi
- Array length
- Ascending primes
- ASCII art diagram converter
- Associative array/Merging
- Attractive numbers
- Average loop length
- Averages/Mean angle
- Averages/Pythagorean means
- Averages/Root mean square
- AVL tree
B
- Babbage problem
- Balanced brackets
- Balanced ternary
- Barnsley fern
- Base64 decode data
- Bell numbers
- Benford's law
- Best shuffle
- Bin given limits
- Bioinformatics/base count
- Bioinformatics/Sequence mutation
- Biorhythms
- Bitcoin/address validation
- Bitcoin/public point to address
- Bitwise IO
- Box the compass
- Brazilian numbers
- Break OO privacy
- Brilliant numbers
- Burrows–Wheeler transform
C
- Calculating the value of e
- Calkin-Wilf sequence
- Call a function
- Canonicalize CIDR
- Cantor set
- Cartesian product of two or more lists
- Casting out nines
- Catalan numbers/Pascal's triangle
- Catamorphism
- Chaocipher
- Chaos game
- Check input device is a terminal
- Check Machin-like formulas
- Check output device is a terminal
- Cheryl's birthday
- Chinese remainder theorem
- Chinese zodiac
- Church numerals
- Circles of given radius through two points
- Cistercian numerals
- Closures/Value capture
- Colorful numbers
- Colour bars/Display
- Colour pinstripe/Printer
- Comma quibbling
- Command-line arguments
- Compare a list of strings
- Compile-time calculation
- Compiler/AST interpreter
- Compiler/code generator
- Compiler/lexical analyzer
- Compiler/syntax analyzer
- Compiler/virtual machine interpreter
- Composite numbers k with no single digit factors whose factors are all substrings of k
- Conjugate transpose
- Continued fraction
- Continued fraction/Arithmetic/Construct from rational number
- Convert decimal number to rational
- Convert seconds to compound duration
- Copy stdin to stdout
- Count the coins
- Create an HTML table
- CSV data manipulation
- CSV to HTML translation
- Cullen and Woodall numbers
- Currency
- Currying
- Curzon numbers
- Cut a rectangle
- Cyclotomic polynomial
D
- Damm algorithm
- De Bruijn sequences
- Deceptive numbers
- Deepcopy
- Deming's Funnel
- Department numbers
- Descending primes
- Detect division by zero
- Determinant and permanent
- Determine if a string has all the same characters
- Determine if a string has all unique characters
- Determine if a string is collapsible
- Determine if a string is squeezable
- Determine if two triangles overlap
- Dice game probabilities
- Digital root
- Disarium numbers
- Display a linear combination
- Display an outline as a nested table
- Diversity prediction theorem
- Dot product
- Draw a clock
- Draw a rotating cube
- Draw a sphere
- Duffinian numbers
- Dutch national flag problem
E
- Earliest difference between prime gaps
- Eban numbers
- Eertree
- Egyptian division
- Egyptian fractions
- EKG sequence convergence
- Elementary cellular automaton
- Elementary cellular automaton/Infinite length
- Elementary cellular automaton/Random Number Generator
- Elliptic curve arithmetic
- Empty directory
- Empty string
- Entropy/Narcissist
- Equal prime and composite sums
- Equilibrium index
- Erdös-Selfridge categorization of primes
- Esthetic numbers
- Euler's identity
- Euler's sum of powers conjecture
- Even or odd
- Evolutionary algorithm
- Executable library
- Execute Brain****
- Execute Computer/Zero
- Execute HQ9+
- Execute SNUSP
- Exponentiation order
- Exponentiation with infix operators in (or operating on) the base
- Extend your language
- Extreme floating point values
F
- Faces from a mesh
- Factorial base numbers indexing permutations of a collection
- Factorions
- Fairshare between two and more
- Farey sequence
- Fast Fourier transform
- FASTA format
- Feigenbaum constant calculation
- Fibonacci n-step number sequences
- Fibonacci word
- File extension is in extensions list
- File size distribution
- Find Chess960 starting position identifier
- Find duplicate files
- Find if a point is within a triangle
- Find limit of recursion
- Find palindromic numbers in both binary and ternary bases
- Find the intersection of a line with a plane
- Find the intersection of two lines
- Find the last Sunday of each month
- Find the missing permutation
- First perfect square in base n with n unique digits
- First power of 2 that has leading decimal digits of 12
- First-class functions/Use numbers analogously
- Fivenum
- Fixed length records
- Talk:FizzBuzz
- Flatten a list
- Flipping bits game
- Floyd's triangle
- Four bit adder
- Four is magic
- Four is the number of letters in the ...
- French Republican calendar
- Function prototype
- Functional coverage tree
- Fusc sequence
G
H
- Hailstone sequence
- Halt and catch fire
- Harmonic series
- Harshad or Niven series
- Hash join
- Haversine formula
- Hello world/Line printer
- Hello world/Newbie
- Here document
- Heronian triangles
- Hickerson series of almost integers
- History variables
- Hofstadter Figure-Figure sequences
- Hofstadter Q sequence
- Hofstadter-Conway $10,000 sequence
- Honeycombs
- Horner's rule for polynomial evaluation
I
- I before E except after C
- Identity matrix
- Idiomatically determine all the characters that can be used for symbols
- Idiomatically determine all the lowercase and uppercase letters
- Imaginary base numbers
- Include a file
- Increasing gaps between consecutive Niven numbers
- Index finite lists of positive integers
- Integer overflow
- Integer sequence
- Intersecting number wheels
- Inverted syntax
- ISBN13 check digit
- Isqrt (integer square root) of X
- Iterated digits squaring
J
K
L
- Lah numbers
- Largest int from concatenated ints
- Largest number divisible by its digits
- Largest proper divisor of n
- Last Friday of each month
- Last letter-first letter
- Latin Squares in reduced form
- Latin Squares in reduced form/Randomizing using Jacobson and Matthews’ Technique
- Law of cosines - triples
- Least common multiple
- Left factorials
- Levenshtein distance
- Levenshtein distance/Alignment
- List rooted trees
- Long literals, with continuations
- Long year
- Longest common subsequence
- Longest common substring
- Longest increasing subsequence
- Lucky and even lucky numbers
- Lychrel numbers
M
- MAC Vendor Lookup
- Machine code
- Mad Libs
- Magic 8-ball
- Magic constant
- Magic squares of doubly even order
- Magic squares of odd order
- Magic squares of singly even order
- Map range
- Matrix digital rain
- Maximum triangle path sum
- Mayan calendar
- McNuggets problem
- MD4
- Memory layout of a data structure
- Metallic ratios
- Metaprogramming
- Metronome
- Mian-Chowla sequence
- Middle three digits
- Mind boggling card trick
- Minimal steps down to 1
- Minimum multiple of m where digital sum equals m
- Minimum positive multiple in base 10 using only 0 and 1
- Minkowski question-mark function
- Modified random distribution
- Modular arithmetic
- Modular exponentiation
- Modular inverse
- Monads/List monad
- Monads/Maybe monad
- Monads/Writer monad
- Move-to-front algorithm
- Multi-dimensional array
- Multifactorial
- Multiple distinct objects
- Multisplit
- Munchausen numbers
- Musical scale
- Mutex
N
- N-queens problem
- Narcissist
- Narcissistic decimal number
- Nautical bell
- Negative base numbers
- Nested function
- Nested templated data
- Next highest int from digits
- Nim game
- Non-transitive dice
- Nonoblock
- Nonogram solver
- Numbers which are not the sum of distinct squares
- Numbers with equal rises and falls
- Numeric error propagation
- Numerical and alphabetical suffixes
O
P
- Padovan n-step number sequences
- Padovan sequence
- Palindrome dates
- Palindromic gapful numbers
- Pancake numbers
- Pangram checker
- Paraffins
- Parse an IP Address
- Parsing/RPN calculator algorithm
- Parsing/RPN to infix conversion
- Parsing/Shunting-yard algorithm
- Particle fountain
- Pascal matrix generation
- Pascal's triangle/Puzzle
- Password generator
- Pathological floating point problems
- Peaceful chess queen armies
- Pell numbers
- Pentagram
- Pentomino tiling
- Perfect shuffle
- Perfect totient numbers
- Periodic table
- Peripheral drift illusion
- Perlin noise
- Permutations by swapping
- Permutations/Derangements
- Permutations/Rank of a permutation
- Phrase reversals
- Pig the dice game
- Pig the dice game/Player
- Pinstripe/Printer
- Plasma effect
- Playfair cipher
- Plot coordinate pairs
- Poker hand analyser
- Polyspiral
- Population count
- Pragmatic directives
- Prime triangle
- Priority queue
- Pseudo-random numbers/Combined recursive generator MRG32k3a
- Pseudo-random numbers/Middle-square method
- Pseudo-random numbers/PCG32
- Pseudo-random numbers/Xorshift star
- Pythagoras tree
- Pythagorean quadruples
- Pythagorean triples
R
- Ramanujan's constant
- Ramer-Douglas-Peucker line simplification
- Random Latin squares
- Random number generator (device)
- Random number generator (included)
- Random sentence from book
- Range consolidation
- Range expansion
- Range extraction
- Rate counter
- Read a specific line from a file
- Recaman's sequence
- Remove lines from a file
- Rep-string
- Repeat
- Repunit primes
- Resistor mesh
- Reverse words in a string
- Rhonda numbers
- RIPEMD-160
- Roman numerals/Decode
- Roman numerals/Encode
- Rosetta Code/Rank languages by number of users
- RPG attributes generator
- Runge-Kutta method
- Runtime evaluation
- Runtime evaluation/In an environment
- Ruth-Aaron numbers
S
- Sailors, coconuts and a monkey problem
- Same fringe
- Search in paragraph's text
- Selectively replace multiple instances of a character within a string
- Self numbers
- Self-describing numbers
- Semordnilap
- Sequence: nth number with exactly n divisors
- Sequence: smallest number greater than previous term with exactly n divisors
- Sequence: smallest number with exactly n divisors
- Set consolidation
- Set of real numbers
- Set right-adjacent bits
- SHA-1
- Shoelace formula for polygonal area
- Shortest common supersequence
- Show ASCII table
- Show the epoch
- Sierpinski pentagon
- Sierpinski triangle/Graphical
- Simple turtle graphics
- Smallest number k such that k+2^m is composite for all m less than k
- Smith numbers
- Solve a Hidato puzzle
- Solve a Holy Knight's tour
- Solve a Hopido puzzle
- Solve a Numbrix puzzle
- Sort an outline at every level
- Sparkline in unicode
- Spelling of ordinal numbers
- Split a character string based on change of character
- Square but not cube
- Square-free integers
- Stair-climbing puzzle
- Start from a main routine
- Statistics/Normal distribution
- Stern-Brocot sequence
- Stirling numbers of the first kind
- Stirling numbers of the second kind
- Strassen's algorithm
- Stream merge
- Strip control codes and extended characters from a string
- Subleq
- Substring/Top and tail
- Suffixation of decimal numbers
- Sum and product puzzle
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of elements below main diagonal of matrix
- Sum to 100
- Summarize and say sequence
- Summarize primes
- Super-d numbers
- Superellipse
- Superpermutation minimisation
- Sylvester's sequence
T
- Tarjan
- Tau function
- Teacup rim text
- Temperature conversion
- Terminal control/Coloured text
- Terminal control/Unicode output
- Test integerness
- Textonyms
- The Name Game
- The Twelve Days of Christmas
- Thue-Morse
- Tonelli-Shanks algorithm
- Top rank per group
- Topic variable
- Topswops
- Total circles area
- Trabb Pardo–Knuth algorithm
- Tree datastructures
- Tree from nesting levels
- Truncate a file
- Truth table
- Two bullet roulette