Kata Library: Python 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
Algorithms
15
Arrays
2
Binary
1
Binary Search Trees
2
Binary Trees
6
Combinatorics
1
Data Structures
9
Fundamentals
2
Graph Theory
4
Graphs
1
Interpreters
1
Lists
1
Mathematics
2
Performance
2
Recursion
12
Sorting
1
Trees
25
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
25 Kata Found
Beta
Clean Nesting Tree
30
DrillToHeaven
Status:
Awaiting approval
Estimated Rank:
7 kyu
Lists
Arrays
Recursion
Trees
7 kyu
Family Relations
279
fatherof4
Trees
Algorithms
Data Structures
5 kyu
Tree Reconstruction
316
benmathes
1 Issue Reported
Algorithms
Trees
Recursion
5 kyu
Fun with trees: is perfect
1,654
janitormeir
3 Issues Reported
Trees
Recursion
Binary Trees
Binary Search Trees
Data Structures
Algorithms
5 kyu
Fun with trees: array to tree
3,688
janitormeir
Trees
Arrays
Binary Trees
Data Structures
Algorithms
6 kyu
Fun with trees: max sum
4,625
janitormeir
Trees
Recursion
Binary Trees
Binary Search Trees
Data Structures
Algorithms
4 kyu
Sort binary tree by levels
14,321
kars7e
1 Issue Reported
Trees
Binary Trees
Performance
Algorithms
Sorting
5 kyu
From Traversals to Tree
91
brodiemark
Trees
Recursion
Performance
Beta
Cousin marriage: path analysis
5
jpssj
Status:
Testing & feedback needed
Graph Theory
Trees
Recursion
Beta
The builder of trees
6
jpssj
Status:
Testing & feedback needed
Trees
Interpreters
5 kyu
Your family tree
31
jpssj
Trees
Recursion
5 kyu
Teknonymy
188
jpssj
Trees
Recursion
Beta
All absolute paths lead to Root
9
jpssj
1 Issue Reported
Status:
Waiting for issues to be resolved
Trees
Recursion
Beta
Shuffled N-Ary Tree
25
F.X.
Status:
Testing & feedback needed
Estimated Rank:
4 kyu
Trees
5 kyu
Perfect Binary Tree Traversal: BFS to DFS
119
LanXnHn
Algorithms
Binary
Data Structures
Mathematics
Trees
5 kyu
Binary Tree Traversal
2,267
Ban-Ath
1 Issue Reported
Binary Trees
Trees
Recursion
Data Structures
Algorithms
6 kyu
The Binary Tree, or There and Back Again
366
dmitvitalii
1 Issue Reported
Algorithms
Data Structures
Trees
5 kyu
Trees to Parentheses, and Back
129
oisdk
Trees
Fundamentals
6 kyu
Skills Master
388
el-f
Algorithms
Data Structures
Graph Theory
Trees
6 kyu
Prüfer sequences and labeled trees
47
benjaminzwhite
Algorithms
Mathematics
Graphs
Graph Theory
Trees
Combinatorics
5 kyu
Binary Tree Serpentine Traversal
537
Ban-Ath
Binary Trees
Trees
Recursion
Algorithms
5 kyu
Tree to list
990
mlyundin
2 Issues Reported
Trees
Fundamentals
6 kyu
Make a spanning tree
120
FArekkusu
Algorithms
Trees
Graph Theory
5 kyu
Binary search tree validation
999
plastic
1 Issue Reported
Trees
Recursion
Data Structures
Algorithms
Beta
Leaves
33
32bits
2 Issues Reported
Status:
Waiting for issues to be resolved
Trees
Algorithms
Confirm
Collect:
undefined
Loading collection data...