Kata Library: Scala 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
8
Arrays
19
Combinatorics
1
Data Structures
4
Dynamic Programming
1
Filtering
1
Functional Programming
2
Fundamentals
23
Lists
31
Mathematics
3
Number Theory
1
Performance
1
Queues
1
Recursion
1
Refactoring
1
Sorting
1
Strings
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
31 Kata Found
8 kyu
Count of positives / sum of negatives
161,226
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Removing Elements
81,883
MorgzC41
1 Issue Reported
Lists
Arrays
Fundamentals
8 kyu
Count the Monkeys!
72,743
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
8 kyu
Remove duplicates from list
39,476
wichu
2 Issues Reported
Fundamentals
Arrays
Lists
6 kyu
zipWith
7,238
JohanWiltink
Lists
Arrays
Functional Programming
Algorithms
8 kyu
Add Length
37,742
debri
Arrays
Lists
Fundamentals
6 kyu
Reducing by steps
4,508
g964
3 Issues Reported
Mathematics
Arrays
Functional Programming
Lists
Data Structures
7 kyu
Parts of a list
17,863
g964
1 Issue Reported
Arrays
Lists
Data Structures
Algorithms
6 kyu
English beggars
9,585
GiacomoSorbi
1 Issue Reported
Queues
Arrays
Lists
Recursion
Fundamentals
5 kyu
Josephus Survivor
16,795
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
6 kyu
Tribonacci Sequence
160,633
GiacomoSorbi
7 Issues Reported
Number Theory
Arrays
Lists
Fundamentals
5 kyu
Maximum subarray sum
83,543
knotman90
3 Issues Reported
Algorithms
Lists
Dynamic Programming
Fundamentals
Performance
7 kyu
Reverse list
7,179
wichu
3 Issues Reported
Fundamentals
Lists
7 kyu
Candy problem
5,510
JustyFY
Lists
Algorithms
6 kyu
Delete occurrences of an element if it occurs more than n times
100,309
JustyFY
3 Issues Reported
Lists
Fundamentals
8 kyu
Enumerable Magic #20 - Cascading Subsets
8,929
bellmyer
2 Issues Reported
Fundamentals
Lists
Data Structures
Arrays
Algorithms
8 kyu
Duck Duck Goose
14,566
10XL
2 Issues Reported
Arrays
Lists
Fundamentals
8 kyu
Lario and Muigi Pipe Problem
43,493
LiamSorta
Lists
Fundamentals
8 kyu
My head is at the wrong end!
49,360
PG1
1 Issue Reported
Arrays
Lists
Algorithms
8 kyu
Reverse List Order
56,327
cmgerber
Lists
Fundamentals
6 kyu
Which are in?
82,453
g964
7 Issues Reported
Arrays
Lists
Strings
Refactoring
7 kyu
Sum of odd numbers
172,209
hhelwich
Arrays
Lists
Mathematics
Fundamentals
8 kyu
Invert values
177,680
user7657844
1 Issue Reported
Lists
Fundamentals
Arrays
7 kyu
List Filtering
300,524
cmgerber
2 Issues Reported
Lists
Filtering
Data Structures
Fundamentals
8 kyu
Square(n) Sum
302,928
jhoffner
1 Issue Reported
Arrays
Lists
Fundamentals
7 kyu
Gould's sequence
136
JohanWiltink
Lists
7 kyu
Some (but not all)
1,185
albertogcmr
Lists
Strings
Fundamentals
8 kyu
Sort My Textbooks
8,333
Heated
1 Issue Reported
Lists
Sorting
Fundamentals
Arrays
7 kyu
Thinkful - List and Loop Drills: Inverse Slicer
4,455
Grae-Drake
Fundamentals
Lists
8 kyu
Flick Switch
14,591
saudiGuy
Fundamentals
Lists
Loading...
Confirm
Collect:
undefined
Loading collection data...