Kata Library: Lua Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
Algebra
2
Algorithms
49
Arrays
3
Big Integers
1
Combinatorics
2
Data Structures
4
Date Time
1
Dynamic Programming
2
Fundamentals
12
Geometry
4
Linear Algebra
1
Lists
1
Logic
3
Mathematics
49
Matrix
3
Memoization
1
Number Theory
3
Performance
2
Permutations
2
Probability
1
Puzzles
2
Recursion
1
Sorting
1
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
49 Kata Found
5 kyu
Fibonacci Factory Function
1,216
x-way
Mathematics
Algorithms
8 kyu
Keep Hydrated!
237,021
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
4 kyu
Adding Big Numbers
34,660
Becojo
4 Issues Reported
Mathematics
Big Integers
Algorithms
5 kyu
Catch the Bus - Continuous Edition
80
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,822
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
6 kyu
Last non-zero digit of factorial
492
mauro-1
Mathematics
Algorithms
6 kyu
Sum of Digits / Digital Root
292,707
user578387
3 Issues Reported
Mathematics
Algorithms
6 kyu
A Fun Way of Finding Pythagorean Triples
312
brodiemark
Geometry
Mathematics
Algorithms
7 kyu
Sort rectangles and circles by area II
2,895
JohanWiltink
Fundamentals
Algorithms
Sorting
Mathematics
Geometry
5 kyu
Sum and Rest the Number with its Reversed and See What Happens
1,399
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Algorithms
Memoization
Dynamic Programming
8 kyu
Points of Reflection
11,067
webtechalex
Mathematics
Geometry
Algorithms
5 kyu
Jump to zero (Subtask 4)
63
TLEojxSunlight
1 Issue Reported
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
6 kyu
Estimating Amounts of Subsets
2,283
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Strings
5 kyu
k-Primes
3,135
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
4 kyu
Twice linear
24,564
g964
Mathematics
Algorithms
6 kyu
Tortoise racing
32,744
g964
Fundamentals
Mathematics
Algorithms
4 kyu
Sum by Factors
20,289
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
5 kyu
Perimeter of squares in a rectangle
44,063
g964
3 Issues Reported
Mathematics
Algorithms
5 kyu
Emirps
2,058
raulbc777
5 Issues Reported
Fundamentals
Mathematics
Algorithms
Data Structures
6 kyu
Banker's Plan
5,127
g964
Mathematics
Algorithms
6 kyu
A disguised sequence (I)
4,928
g964
2 Issues Reported
Algorithms
Mathematics
6 kyu
A Rule of Divisibility by 13
16,190
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
5 kyu
PIN Guesser
72
kinotherapy
Mathematics
Arrays
Puzzles
Algorithms
5 kyu
Josephus Permutation
16,870
GiacomoSorbi
1 Issue Reported
Mathematics
Permutations
Algorithms
Combinatorics
5 kyu
Josephus Survivor
17,020
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
5 kyu
Least Common Multiple
4,459
xcthulhu
2 Issues Reported
Mathematics
Algorithms
8 kyu
Heads and Legs
7,808
AcesOfGlory
Algebra
Logic
Mathematics
Algorithms
5 kyu
Operations on sequences
441
g964
Algorithms
Mathematics
5 kyu
Digitwise addition
169
MatttNguyen
Algorithms
Mathematics
5 kyu
Some Egyptian fractions
2,802
g964
1 Issue Reported
Algorithms
Mathematics
Loading...
Confirm
Collect:
undefined
Loading collection data...