36
U.V
15 40 50
8049/ 8195
Last seen 10 hours ago
Member for 2 years, 1 month, 27 days
Difficulty Easy
Missions (475) / Solutions (259)
Best solutions / Newest solutions
Strings and Integers
1-line B-)
Rectangle Perimeter
lambda
1
Use prod
Number With Exclamation
range
int
1
The Fastest
Maximum Among Three
max
2
1
int->str->int
Armstrong Number Checking
bool
sum
comprehension
int
str
3
1
Use reduce
Number With Exclamation
lambda
range
int
3
String Funcs
Goes Right After (simplified)
bool
print
in
False
True
3
Bool + array
Just Fizz!
bool
lambda
print
str
4
Fignija
Rectangle Perimeter
print
int
4
1 line lambda
Goes Right After (simplified)
lambda
in
4
Use time.strptime & time.strftime
Convert Date
time.strftime
time.strptime
strftime
time
strptime
5
Zip_longest
Fuzzy String Matching
itertools.zip_longest
zip_longest
itertools
bool
sum
5
Second
Middle Characters
print
str
len
5
2
First
Reverse Integer
abs
int
str
7
Replace
Replace All Occurrences
replace
str
7
itertools.groupby
End Zeros
groupby
itertools.groupby
rstrip
itertools
count
9
1
First
The Longest Word
index
max
inline-if
list-comp
split
9
1
Case 1
Perfect Number Checking
bool
sum
if-comprehension
range
comprehension
9
Fastest
Convert To Title Case
title
str
12
1liner
Integer Sign Determination
inline-if
int
str
15
1
First
Longest Common Prefix
any
min
while
list
comprehension
16
Too simple
Quadratic Equation Roots
collections.abc.Iterable
collections
Iterable
sorted
int
18
SIMPLE
Leap Year Checking
bool
False
True
int
if
20
Case 2
Perfect Number Checking
bool
sum
range
comprehension
int
First
Longest Substring of Unique Characters
enumerate
max
while
in
int
Use Startswith
Count Substring Occurrences
startswith
lower
sum
range
comprehension
sum(text.upper().count(c) for c in 'AEOUI')
Count Vowels
upper
count
sum
comprehension
int
2
First
Cut Sentence
rfind
max
else
int
str
First
End Zeros
rstrip
int
str
len
1
List but not the least
First
The Most Frequent
collections.Counter
Counter
collections
list
str
10
Use set
Missing Number
min
set
max
range
list
11
1
First
Sort by Extension
rpartition
List
typing.List
typing
lambda
11
1
Dup Zero
Duplicate Zeros
print
append
list
for
if
1-line
Chunk
list-comp
range
comprehension
len
Iinear fill + reverse odd
Zigzag Array
print
list-comp
range
list
comprehension
2
Brute Force
Stock Profit
max
range
list
int
len
Look up in the Dict()
First
Blood distribution
dict-comp
items
min
split
comprehension
1
First
The Flat Dictionary
dumps
json.dumps
json
type
dict
5
1
Eval
Aggregate by Operation
eval
f-string
pass
dict
tuple
5
SET+UNION
Switch Keys to Values
union
values
dict-comp
dict
items
10
1
POP-APPEND
Move Zeros
pop
not
append
range
list
1
Golden Pyramid
Golden Pyramid
zip
enumerate
max
print
append
1 line lambda
Verify Anagrams
upper
replace
lambda
sorted
1
Recursive
How Deep
type
tuple
max
comprehension
int
First
What Is Wrong With This Family?
extend
f-string
values
dict-comp
all
Strings Theory
Second.
Huffman Encode
translate
collections.defaultdict
defaultdict
collections.Counter
Counter
1
Watch + case
Text Formatting
center
rindex
case
match-case
rjust
2
1
First
Sum of Digits
map
sum
while
list
int
2
list+pop
Adjacent Letters
pop
max
print
join
while
2
Nothing interesting
Reveal the Number
eval
rstrip
re.sub
sub
is
2
First
Working Hours Calculator
datetime.strptime
strptime
datetime.timedelta
timedelta
datetime.datetime
2
Using zip_longest
One Switch Strings
itertools.zip_longest
zip_longest
itertools
bool
or
3
3
First
Tricky String
zip
index
max
sum
list-comp
3
1
Use mask for available chars
Reveal the Number
discard
float
continue
None
isdigit
4
1
First - Simulate Priority Queue
Huffman Encode
PriorityQueue
queue.PriorityQueue
queue
class
Exception
4
2
Only String Funcs
Correct Capital
title
upper
bool
lower
or
4
Something
Is String a Number? (Part II)
float
bool
except
try
print
8
5
Use Hints B-)
Remove Brackets
print
11
I want to use Fibonacci-iterator
Fibonacci Poem
next
yield
pop
lambda
inline-if
13
Use Hints1 B-)
Remove Brackets
print
First
Revorse the vewels
upper
isupper
enumerate
pop
lower
Recursive + parse
Chemical Analysis
type
extend
islower
r-string
isupper
First
The Nearest Square Number
inline-if
print
int
1
Try
Is String a Number?
bool
except
try
print
False
First
The Longest Palindromic
rfind
enumerate
break
print
while
First
Double Substring
enumerate
max
while
in
for
First
Morse Clock
zfill
f-string
replace
list-comp
split
First
Speech Module
divmod
join
elif
append
if
1
try RE
Stressful Subject
re.sub
sub
endswith
re.search
search
Use Stack
Brackets
r-string
continue
pop
bool
not
List, list and list again
1liner
Not in Order
zip
sum
print
sorted
list-comp
1
3
Numpy
Matrix "Hatching"
numpy.array
array
numpy
yield
as
1
Simple counter
Overlapping Disks
tuple
enumerate
sum
range
list
1
1
Yield
Replace with Biggest
yield
typing.Iterable
Iterable
max
typing
1
1
Yield
When "k" is Enough!
yield
get
typing.Iterable
Iterable
typing
2
2
Joke
Ulam-Warburton Automaton Hex
lambda
2
Numpy
Nonogram Encode
pprint.pprint
pprint
numpy.array
array
chain
3
First
Beat The Previous
reversed
map
pop
while
append
6
Eval+Stack
Postfix Evaluation
ZeroDivisionError
typing.Union
Union
eval
type
6
Numpy.diagonal
Matrix "Hatching"
numpy.array
array
numpy
yield
as
6
Steps
Close Enough
tuple
min
abs
print
while
10
Bad, but works
Flatten a List (generator version)
collections.abc.Iterable
yield
isinstance
collections
Iterable
10
First
Split Pairs
operator.add
chain
itertools.chain
operator
add
13
1
Clear
Integer Palindrome
bool
while
append
int
15
Convert to str + transpose & calc columns len + format output
List Beautify
rjust
zip
map
max
print
19
Sublists + chain
Sort Sorted Groups
chain
itertools.chain
insert
itertools
pop
1 line lambda
Not in Order
zip
lambda
sum
print
sorted
Example "with"
Replace Last
with
class
False
list
if
Pythonic ?
Convert and Aggregate
get
dict
items
tuple
pop
First
Replace Last
pop
list
if
1
Different kind of sets
Sets + DFS
Hexagonal Islands
typing.Set
Set
discard
update
set-comp
2
Yield
Merge Intervals (iterator version)
next
yield
None
except
try
6
1
First
Merge Intervals (generator version)
is
None
print
elif
append
9
First
Shorter Set
set
inline-if
print
sorted
int
17
1
First
Square Board
int
if
Clear
Berserk Rook
class
discard
copy
pop
index
Use Dijxtra algoritm
Power Plants
difference_update
issubset
set-comp
is
f-string
First
Power Supply
discard
add
dict
items
continue
1
First
Friends
class
discard
staticmethod
update
decorator
First
Seven Segment
union
combinations
itertools.combinations
islower
itertools
Mine
MAX
Latest ISO datetime
max
print
1
2
dynamic programming
All Roads Lead to Rome!
numpy.zeros
zeros
numpy
as
tuple
1
Lambda
Latest ISO datetime
max
lambda
print
2
1
Speedy
Latest ISO datetime
max
print
3
Clear & Educatinal
Latest ISO datetime
max
print
7
7
One line
Interesting, intersecting
tuple
bool
or
inline-if
False
Use operator
Multiplication Table
ior
ixor
operator.ior
operator.ixor
iand
Clear
Latest ISO datetime
max
print
str
4
Readable
Latest ISO datetime
max
print
1
zip
Common Tail
reversed
zip
None
break
print
List-comp
Count Consecutive Summers
if-comprehension
list-comp
range
comprehension
len
Operator
Multiplication Table
ior
ixor
operator.ior
operator.ixor
iand
Property table
The Einstein Problem-Lite
discard
insert
dict-comp
keys
any
re
Unix Match. Part 2
match
re.match
re
replace
bool
1
First
Inside Block
tuple
bool
in
True
list-comp
First
Express Delivery
List
typing.List
typing
str
if
1
First
Auto Painting
min
join
list-comp
range
comprehension
D = D/2
Super Root
abs
break
while
range
else
Ice Base
First
Bridge Routine
values
dict-comp
items
upper
zip
1
First
Bishop vs Aliens
tuple
min
break
bool
inline-if
1
Fib-iterator + Complex
Fibonacci Spiral's End
next
yield
sum
while
range
1
Simple task - simple solution.
Count Divisibles in Range
lambda
2
First
15-puzzle Solvability
insert
pop
index
bool
not
3
Strings
"Lunar" Multiply
rjust
add
zip
enumerate
min
10
Landing
Spaceship Landing Strip
max
in
False
True
range
12
Zip_longest
Count And Say
itertools.zip_longest
zip_longest
itertools
str
for
17
Simple Geometry
Three Points Circle
rstrip
f-string
round
map
replace
19
Use Numpy matrixes
Transposed Matrix
numpy.array
array
numpy
as
Np + lambda
Transposed Matrix
numpy.array
array
numpy
as
lambda
First
Caesar Cipher (encryptor)
string.index
ascii_lowercase
string.ascii_lowercase
as
string
Use Set + BFS/DFS
Calculate Islands
difference_update
complex
intersection
update
List
gcd
The Greatest Common Divisor
math.gcd
gcd
math
min
int
First
Radiation Search
popitem
dict-comp
get
pop
print
Classic Transpose
Transposed Matrix
List
typing.List
typing
append
list-comp
The Game is Worth it!
First
Knapsack Problem
itertools.accumulate
accumulate
extend
itertools
tuple
1
First
Reversi: Othello Moves
complex
itertools.product
product
intersection
update
1
NUMPY sign B-(
Unfair Dice
numpy.sign
sign
numpy.array
array
numpy
2
Use Rotation Matrix
Rolling 🎲!
numpy.array
array
numpy
as
max
3
DFS + SET
Checkers Capture
complex
difference
update
set-comp
copy
3
First
Magic with 5 cards
copy.deepcopy
deepcopy
copy
insert
tuple
6
Convert to Known Solution
Wall Keeper
case
match-case
chain
itertools.chain
divmod
6
BFS
Digits Doublets
collections.deque
deque
update
insert
extend
8
1
BFS
The Territory of Go
complex
discard
itertools.product
product
set-comp
8
Numpy
Paper Dice
numpy.sum
numpy.array
array
numpy
type
8
1
Fast
The Final Stone
abs
sorted
list
int
for
8
2D-correlation
Bacteria Colonies
scipy.correlate2d
correlate2d
scipy.signal
signal
amax
9
First
Nonogram Row
itertools.permutations
permutations
update
filter
itertools
13
Let It Be
Texas Referee
collections.Counter
Counter
collections
pop
index
16
Hexagon grid tools + recursive check targets
Fortress Cannons
issuperset
discard
collections.defaultdict
defaultdict
update
18
BFS
Eaten Go Stones
complex
discard
itertools.product
product
set-comp
Dice?
Probably Dice
break
or
append
list-comp
range
1
patterns as subset of figure
The Square Chest
issubset
itertools.product
product
update
itertools
GitHub
BFS
City's Happiness
copy
values
dict-comp
items
remove
3
Select from Table
Ghosts Age
inline-if
in
append
range
for
Triangle as array
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
1
First
New Cities
discard
dict-comp
add
remove
pop
First
Open Labyrinth
class
Exception
reverse
raise
any
1
Product
Moore Neighbourhood
itertools.product
product
itertools
min
max
Use Len()
Min and Max
get
None
inline-if
sorted
len
Recursion vs Summing
Restricted Sum
else
len
if
1
Short
Monkey Typing
set
lower
lambda
sum
sorted
First
Number Base
re.compile
compile
r-string
re
except
1
Dropbox
Use Numpy matrixes
Count Squares
numpy.array
array
itertools.product
product
numpy
2
2
Use Complex as Vector
Count Squares
complex
itertools.product
product
itertools
tuple
7
First
ADFGVX Cipher
itertools.zip_longest
zip_longest
isalnum
chain
itertools.chain
12
Some optimization
Numbered Triangles
itertools.permutations
permutations
copy
itertools
continue
13
Something else
Playfair Cipher
divmod
index
lower
inline-if
join
15
Full Modelling + Random choice
Colder-Warmer
difference_update
math.hypot
hypot
difference
itertools.product
19
1
checkio = lambda data: round(__import__("numpy").linalg.det(data),0)
Determinant
round
lambda
sympy.expand
Simplification
Symbol
sympy.Symbol
expand
sympy.expand
sympy
Sympy Second
Simplification
expand
sympy.expand
sympy
replace
lambda
First
Count Chains
add
remove
enumerate
pop
set
numpy.linalg.det
Determinant
numpy.linalg
linalg
numpy
as
round
Gauss
How Much Gold
Fraction
fractions.Fraction
fractions
items
index
True+False
Restricted Prime
while
False
True
if
Something
IP Network: Route Summarization
f-string
any
map
break
lambda
First
Clock Angle
map
min
abs
split
int
Nothing interesting
Humpty Dumpty Form
math.log
log
math.asin
asin
round
Everything is Object
First
Capital City
class
hasattr
object
super
None
3
First
Geometry Figures
class
round
First
Microwave Ovens
class
staticmethod
super
decorator
f-string
Clear
Dialogues
class
super
f-string
None
lower
First
3 Chefs
class
super
f-string
None
First
Building Base
class
f-string
Master of the Time Stone
First
Next Birthday
Dict
typing.Dict
Tuple
typing.Tuple
datetime.datetime
6
1 liner
Unlucky Days
lambda
sum
range
comprehension
19
First
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
First
Weekly Calendar
datetime.timedelta
timedelta
datetime.datetime
datetime
elif
First
Lightbulb End Watching
Optional
typing.Optional
datetime.datetime
datetime
List
Using datetime
When is Friday?
datetime.datetime
datetime
map
print
split
1
Simple LOOP
Weekend Counter
sum
range
comprehension
int
2
First
Bigger Together
List
typing.List
replace
typing
lambda
All to seconds
Broken Clock
f-string
map
split
int
Use datetime
The First Working Day
datetime.strftime
strftime
datetime.timedelta
timedelta
datetime.datetime
1
Educational: Using namedtuple
When is Friday?
collections.namedtuple
namedtuple
datetime.datetime
collections
datetime
3
HubSpot
Calc neighb
Landing Site
typing.Set
Set
itertools.product
product
update
6
First
Team Play
List
typing.List
zip
typing
lambda
7
Reversed Permut.Index
Reversed Permutation Index
math.factorial
factorial
math
continue
None
8
BruteForce
Bulls and Cows
random.choice
choice
random
f-string
zip
17
Clear
Black Holes
math.hypot
hypot
math.sin
sin
combinations
First
Parity Bit Generator
f-string
chr
continue
count
join
First
Repeating Decimals
get
break
while
False
True
Use Random with random success
Ore In The Desert
random.choice
choice
random
itertools.product
product
Use fractions!
Oil Pie
Fraction
fractions.Fraction
fractions
as
map
Try & solve
The Good Radix
pass
except
try
range
int
Blizzard
First
Can Balance
enumerate
typing.Iterable
Iterable
typing
sum
11
Np.array
Pattern Recognition
ndarray
numpy.ndarray
numpy.all
numpy.array
array
First
Word Pattern
bin
isalpha
join
list-comp
comprehension
Nothing special
Flood Area
all
pop
index
min
typing.Iterable
First
English to Braille Translator
zfill
yield
extend
bin
isupper
from itertools import cycle
Vigenere Cipher
cycle
itertools.cycle
chr
all
itertools
First
The Rows of Cakes
issubset
union
collections.Counter
Counter
any
Hashlib
Simple Hashlib
bytearray
hashlib.new
new
hashlib
update
Simple
Worth of Words
lambda
sum
sorted
comprehension
Rock
Use HASHLIB B-)
Climbing Route
hashlib.md5
md5
hashlib
print
join
1
First
Triangular Islands
typing.Set
Set
math.sqrt
sqrt
dict-comp
6
First
Tree Walker
isinstance
values
dict
tuple
sum
8
2
Use set for intersect
Mountain Scape
Tuple
typing.Tuple
add
List
typing.List
8
2
Build tree
On the same path
remove
pop
None
while
in
10
1
Someth else
Greedy Number
pop
break
join
while
range
10
First
Caesar Cipher (decryptor)
string.index
ascii_lowercase
string.ascii_lowercase
as
string
10
Ha-Ha
Rectangles Union
itertools.product
product
update
Tuple
typing.Tuple
10
1
Use set for intersect
Fused Cubes
itertools.product
product
combinations
itertools.combinations
update
Brute Force
Hubspot Amulet
numpy.array
array
itertools.product
product
numpy
Djixtra algorithm
Supply Line
difference_update
collections.deque
deque
collections.defaultdict
defaultdict
First
Find Quotes
find
break
while
append
if
Shelter
Recurse
Stacking Cubes
itertools.product
product
intersection
dict-comp
itertools
1
Use ast package
Count Comprehensions
collections.defaultdict
defaultdict
type
collections
in
2
Use Fraction
Fractions Addition
Fraction
fractions.Fraction
fractions
f-string
inline-if
9
normpath.py
Simplify Unix Path
bytes
AttributeError
hasattr
TypeError
startswith
10
AsT
Count Comprehensions
ast.walk
walk
ast.parse
parse
ast
Simple and direct
Scytale Encryption
Optional
typing.Optional
enumerate
None
typing
Cruscal
Connect Stars
math.hypot
class
hypot
math
lambda
First
Escape
f-string
List
typing.List
min
abs
First
Chess Knight
add
continue
pop
index
set
First
Remove Accents
category
unicodedata.category
normalize
unicodedata.normalize
unicodedata
Codeship
LRU_CACHE
Ugly Numbers
functools.lru_cache
lru_cache
decorator
extend
functools
1
3
Use Bretschneider's_Formula
Strawberry Fields
math.degrees
degrees
math.acos
acos
round
9
Teletype B-)
Backspace Apply
pop
print
join
elif
append
10
1
Normalize mail
Unique Email Addresses
replace
set
lower
lambda
in
10
gcd
Water Jars
math.gcd
gcd
f-string
math
inline-if
First
Web Log Sessions
rsplit
splitlines
collections.defaultdict
defaultdict
datetime.datetime
Hermit
First
CheckSum
reversed
re.sub
sub
chr
r-string
Watchtower
Use Dijxtra algo
Useless Flights
math.inf
inf
class
discard
object
6
Numpy for rotate
Rotating Grille Cipher
numpy.rot90
rot90
Optional
typing.Optional
numpy.array
14
Escher
First
Keys and Locks
numpy.all
numpy.rot90
rot90
numpy.array
array
Hypercube
Hypercube
divmod
copy
get
upper
enumerate
"Card Game"
Card Game
remove
zip
break
sorted
in
Treasure
Treasures
f-string
index
min
lambda
sorted
First
Wild Dogs
collections.Counter
Counter
items
round
collections
First
The Ship Teams
items
sorted
append
for
First
Ground for the House
zip
pop
break
or
in
First
Compass, Map and Spyglass
type
dict-comp
min
abs
sum
Not On Map
Second
Aggregate and Count
OrderedDict
collections.OrderedDict
as
get
dict
10
Clear
Aggregate and Count
get
dict
list
for
1