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
47
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
47
Matrix
3
Memoization
1
Number Theory
3
Performance
2
Permutations
2
Puzzles
2
Recursion
1
Sorting
1
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
47 Kata Found
6 kyu
Last non-zero digit of factorial
474
mauro-1
Mathematics
Algorithms
6 kyu
Sum of Digits / Digital Root
288,477
user578387
3 Issues Reported
Mathematics
Algorithms
4 kyu
Adding Big Numbers
33,961
Becojo
4 Issues Reported
Mathematics
Big Integers
Algorithms
6 kyu
A Fun Way of Finding Pythagorean Triples
292
brodiemark
Geometry
Mathematics
Algorithms
7 kyu
Sort rectangles and circles by area II
2,855
JohanWiltink
Fundamentals
Algorithms
Sorting
Mathematics
Geometry
5 kyu
Sum and Rest the Number with its Reversed and See What Happens
1,374
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Algorithms
Memoization
Dynamic Programming
8 kyu
Points of Reflection
10,876
webtechalex
Mathematics
Geometry
Algorithms
8 kyu
Keep Hydrated!
231,886
paulrichard
Algorithms
Mathematics
Fundamentals
5 kyu
Jump to zero (Subtask 4)
58
TLEojxSunlight
1 Issue Reported
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
6 kyu
Estimating Amounts of Subsets
2,264
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Strings
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
4 kyu
Twice linear
24,227
g964
Mathematics
Algorithms
6 kyu
Tortoise racing
32,525
g964
Fundamentals
Mathematics
Algorithms
4 kyu
Sum by Factors
20,021
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
5 kyu
Perimeter of squares in a rectangle
43,523
g964
3 Issues Reported
Mathematics
Algorithms
5 kyu
Emirps
2,040
raulbc777
5 Issues Reported
Fundamentals
Mathematics
Algorithms
Data Structures
6 kyu
Banker's Plan
5,075
g964
Mathematics
Algorithms
6 kyu
A disguised sequence (I)
4,906
g964
2 Issues Reported
Algorithms
Mathematics
6 kyu
A Rule of Divisibility by 13
16,049
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
5 kyu
PIN Guesser
69
kinotherapy
Mathematics
Arrays
Puzzles
Algorithms
5 kyu
Josephus Permutation
16,626
GiacomoSorbi
1 Issue Reported
Mathematics
Permutations
Algorithms
Combinatorics
5 kyu
Josephus Survivor
16,790
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
5 kyu
Least Common Multiple
4,423
xcthulhu
2 Issues Reported
Mathematics
Algorithms
8 kyu
Heads and Legs
7,715
AcesOfGlory
Algebra
Logic
Mathematics
Algorithms
5 kyu
Operations on sequences
436
g964
Algorithms
Mathematics
5 kyu
Digitwise addition
159
MatttNguyen
Algorithms
Mathematics
5 kyu
Some Egyptian fractions
2,779
g964
1 Issue Reported
Algorithms
Mathematics
5 kyu
John and Ann sign up for Codewars
3,925
g964
Mathematics
Algorithms
6 kyu
Basics 08: Find next higher number with same Bits (1's)
3,867
smile67
1 Issue Reported
Fundamentals
Mathematics
Algorithms
7 kyu
Find the divisors!
89,657
kwy95
1 Issue Reported
Mathematics
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...