36
nickie
14 32 45
7469/ 8195
Last seen 10 months ago
Member for 10 years, 6 months, 28 days
Difficulty Normal
Missions (143) / Solutions (171)
Best solutions / Newest solutions
Initiation
Difference in lengths
End Zeros
inline-if
int
str
len
13
Elementary
Number Length
int
str
len
Elementary
Acceptable Password I
bool
str
len
Elementary
First Word (simplified)
split
str
Elementary
Easy Unpack
tuple
Elementary
Multiply (Intro)
Home
Two sums
Even the Last
lambda
sum
3
9
After Tubis
Three Words
isalpha
lambda
join
in
split
3
5
Datetime 1-liner
Days Between
abs
lambda
8
All strings
Three Words
find
isalpha
lambda
join
split
First
Non-unique Elements
collections.Counter
Counter
collections
if-comprehension
list-comp
15
Straightforward
Right to Left
replace
join
comprehension
3
Just count
Pawn Brotherhood
any
ord
abs
sum
if-comprehension
1
Electronic Station
One-liner
Verify Anagrams
replace
lower
lambda
sorted
1
9
Simple DP
Mathematically Lucky Tickets
set
inline-if
range
comprehension
int
1
4
Straightforward
Digits Multiplication
mul
operator.mul
operator
functools.reduce
reduce
2
10
Using groupby
Find Sequence
groupby
itertools.groupby
any
itertools
lambda
3
3
Second
Verify Anagrams
continue
lower
inline-if
for
if
7
3
Operators
Boolean Algebra
eval
lambda
int
Flood-fill
Can You Pass?
collections.deque
deque
add
collections
continue
5
Stack
Brackets
find
pop
or
in
False
Test and scan
Words Order
bool
set
False
and
split
Elementary
Acceptable Password II
any
isdigit
bool
and
comprehension
Scientific Expedition
1-liner join
Secret Message
isupper
lambda
join
if-comprehension
comprehension
1
4
Refactored
The Hidden Word
itertools.zip_longest
zip_longest
splitlines
itertools
find
3
7
qria's shorter
Striped Words
findall
re.findall
r-string
upper
enumerate
6
Regex short
Bird Language
r-string
lambda
9
2
Obvious
Absolute Sorting
abs
lambda
sorted
9
Transpose
The Hidden Word
splitlines
find
zip
enumerate
max
9
2
Straightforward
Call to Home
values
get
min
sum
split
11
1-liner re
Secret Message
lambda
12
One-liner
Pangram
upper
isalpha
set
lambda
if-comprehension
Obvious
Common Words
set
lambda
sorted
join
split
First
Striped Words
translate
upper
isalpha
sum
if-comprehension
Pros and cons
I Love Python!
1
Fixed 1l, 1t
The Most Wanted Letter
collections.Counter
Counter
items
collections
ord
1
First
Morse Clock
translate
bin
map
join
append
Using index
Goes Right After
ValueError
index
bool
except
try
First
The Most Wanted Letter
collections.defaultdict
defaultdict
collections
isalpha
lower
O(n) but finish early
Pangram
add
upper
isalpha
set
False
2
O'Reilly
Ignalion's twist
Flatten a List
type
is
inline-if
append
int
1
16
O(n) select
Median
sorted
while
list-comp
range
comprehension
1
17
O(NlogN)
Count Inversions
type
extend
count
while
and
2
5
Modified subset sum
Loading Cargo
add
set
max
sum
list
6
Using exception
Xs and Os Referee
Exception
raise
all
except
try
8
5
Functional
Flatten a List
from_iterable
itertools.from_iterable
chain
itertools.chain
isinstance
8
2
Fixed topo sort
Determine the Order
add
items
remove
min
set
15
Boolean ops
Index Power
lambda
len
1
All size and geometry
Cipher Crossword
class
groupby
itertools.groupby
itertools.permutations
permutations
Functional generator
Flatten a List
from_iterable
itertools.from_iterable
chain
itertools.chain
type
1
Using sort
Median
sort
else
len
if
4
Incinerator
Set of edges
Friends
class
chain
itertools.chain
add
itertools
3
Repr using dict
Building Base
class
format
Mine
String arithmetic
Fizz Buzz
lambda
str
1
23
Straightforward
Moore Neighbourhood
sum
and
comprehension
len
3
11
Spanning trail cycle
Disposable Teleports
difference
heappush
heapq.heappush
heappop
heapq.heappop
15
Straigthforward
The Greatest Common Divisor
fractions.gcd
gcd
fractions
functools.reduce
reduce
Obvious
Binary Count
bin
lambda
count
First
Determinant
while
append
list-comp
comprehension
else
Straightforward
Achilles and the Tortoise
Ice Base
Do the math, O(1)
Feed Pigeons
max
lambda
int
1
11
Union-find
How to Find Friends
union
get
find
elif
False
1
First
Counting Tiles
math.hypot
hypot
math.ceil
ceil
math
2
4
Straightforward
The Most Numbers
min
max
lambda
inline-if
2
1
First
Roman Numerals
join
append
if
Sum find
Monkey Typing
find
lower
lambda
sum
comprehension
Straightforward
Clock Angle
round
map
abs
split
int
Alice In Wonderland
One liner
Multiplication Table
bin
lambda
sum
comprehension
len
5
2
Shortest path
Digits Doublets
heappush
heapq.heappush
heappop
heapq.heappop
heapq
BFS
The Shortest Knight's Path
itertools.starmap
starmap
collections.deque
deque
filter
First
Transposed Matrix
collections.defaultdict
defaultdict
values
collections
enumerate
GitHub
Fixed sort and search
Painting Wall
continue
sort
enumerate
not
while
2
2
Using a trie
The End of Other
class
reversed
any
add
False
2
1
1-liner
Area of a Convex Polygon
zip
abs
lambda
sum
comprehension
2
1
Straightforward
Shooting Range
math.hypot
hypot
round
math
abs
5
Set permutations
The End of Other
itertools.permutations
permutations
endswith
any
itertools
6
5
Hijack ops
Solution for Anything
class
True
Sort and search
Painting Wall
continue
enumerate
not
lambda
sum
5
Triangle split
Area of a Convex Polygon
math.atan2
atan2
tuple
math
zip
1
Labyrinth optimal
Open Labyrinth
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2
Dropbox
Gauss & mod
Hubspot Amulet
itertools.product
product
itertools
zip
map
3
2-liner
Numbers Factory
lambda
inline-if
int
3
1
Compressed
Friendly Number
reversed
format
enumerate
abs
lambda
11
First
Numbers Factory
divmod
break
inline-if
while
int
16
1
Obvious
The Best Number Ever
Look it up!
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
5
State search
Place Queens
class
copy
keys
chr
add
First
Speech Module
or
join
elif
append
if
3
Do the math
Three Points Circle
math.hypot
hypot
eval
rstrip
format
Straightforward
Simple Hashlib
eval
update
Reversed enumerate
Friendly Number
reversed
format
enumerate
abs
or
PyCon TW
Flood fill
Calculate Islands
collections.deque
deque
collections
remove
sort
1
4
Functional DP
Golden Pyramid
enumerate
max
lambda
list-comp
list
1
7
Dijkstra
Network Attack
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2
FP compressed
Network Attack
frozenset
enumerate
min
lambda
if-comprehension
3
1
Dijkstra variation
Express Delivery
heappush
heapq.heappush
heappop
heapq.heappop
heapq
4
Compressed
Digit Stack
clear
pop
lambda
or
inline-if
6
Simple DP
Golden Pyramid
enumerate
max
elif
list-comp
comprehension
7
9
Straightforward
Simple Areas
math.pi
pi
math.sqrt
sqrt
math
10
3
Bunny fixed
How Much Gold
add
items
min
set
split
1
Gauss
How Much Gold
Fraction
fractions.Fraction
fractions
items
abs
2
O(N^2)
Building Visibility
from_iterable
itertools.from_iterable
chain
itertools.chain
add
1
Using re
House Password
re.search
search
r-string
re
None
Straightforward
Digit Stack
pass
IndexError
pop
except
try
2
Without re
House Password
islower
any
isupper
isdigit
comprehension
1
Storage
Bunny's simplified
The Rows of Cakes
frozenset
combinations
itertools.combinations
add
itertools
1
7
Fast enough for now
Saw the Stick
continue
break
in
append
range
1
4
Veky style
The Rows of Cakes
frozenset
set
lambda
sum
if-comprehension
2
2
Some cheating, O(sqrt(n))
Restricted Prime
lambda
while
False
True
int
3
Alpha beta pruning
Haunted House
math.hypot
hypot
divmod
add
dict
3
3
Simple Dijkstra
Digging a Canal
heapify
heapq.heapify
heappush
heapq.heappush
heappop
7
1-liner
Skew-symmetric Matrix
all
enumerate
lambda
comprehension
10
zip_longest
Word Pattern
reversed
all
bin
isdigit
lambda
10
1
Straightforward 1-liner
Weak Point
zip
enumerate
min
lambda
sum
18
Just count!
The Rows of Cakes
combinations
itertools.combinations
any
itertools
not
2
First
Restricted Prime
while
False
True
if
Don't think
Moria Doors
punctuation
string.punctuation
string
enumerate
set
HubSpot
Deja vu
Number Base
max
lambda
int
1
10
Straightforward
The Hamming Distance
bin
lambda
count
1
Max flow
Supply Stations
class
object
raise
keys
ValueError
2
Least ready first
Auto Painting
min
join
list-comp
range
comprehension
9
1
Recursive
Restricted Sum
add
inline-if
len
Blizzard
Simple math
Weekend Counter
datetime.timedelta
timedelta
datetime
max
1
Simple dynamic
Stair Steps
max
for
1
Flood fill
Radiation Search
collections.deque
deque
collections
remove
pop
4
Fast enough
Sudoku Solver
class
discard
copy.deepcopy
deepcopy
raise
5
Simple O(N^2*M^2)
Spaceship Landing Strip
collections.defaultdict
defaultdict
collections
max
in
18
Doc string 1-liner
Palindromic Palindrome
lambda
19
1
Flood-fill
Safe Coasts
all
map
enumerate
pop
replace
Straightforward
Min and Max
is
None
lambda
or
inline-if
8
Simple math
The Angles of a Triangle
math.acos
acos
math.pi
pi
any
1
Rock
2-liner
CheckSum
reversed
ord
map
enumerate
lambda
3
2
Straightforward
CheckSum
reversed
ord
isupper
enumerate
isdigit
5
GCD and BFS
Water Jars
reverse
collections.deque
deque
add
tuple
5
First
Web Log Sessions
splitlines
datetime.strptime
strptime
datetime.timedelta
timedelta
11
Simple binary search
Super Root
abs
while
True
else
if
1
Shelter
Straightforward
Pattern Recognition
itertools.product
product
all
itertools
range
1
7
Simulation with generators
Ghosts Age
next
yield
while
True
for
1
Codeship
Do the math
Pearls in the Box
round
sum
if-comprehension
comprehension
len
1
6
Two rules
Minesweeper
continue
not
sum
if-comprehension
elif
1
5
Straightforward
Behind 2048
reverse
eval
reversed
zip
map
1
Compressed
Behind 2048
eval
reversed
zip
map
enumerate
3
2
Simple A*
Snake Lite
heappush
heapq.heappush
heappop
heapq.heappop
heapq
3
Straightforward
The Square Chest
frozenset
itertools.product
product
divmod
all
5
1
Simple BFS
The 88th Puzzle
collections.deque
deque
add
tuple
collections
6
Recursive
Pearls in the Box
round
min
max
sum
if-comprehension
8
Dijkstra
Bats Bunker
math.hypot
hypot
heappush
heapq.heappush
heappop
9
1
A*, misplaced as heuristic
8 Puzzle
hash
class
heappush
heapq.heappush
heappop
First
The Square Chest
frozenset
divmod
all
sorted
in
Hermit
First
The Good Radix
max
range
int
for
if
1
6
One liner
The Good Radix
dict-comp
get
max
lambda
range
1
Splitter
Mono Captcha
next
yield
zip
enumerate
sum
2
Brute force
Reverse Engineer
random.randrange
randrange
ZeroDivisionError
random
Fraction
2
4
General & pessimistic
Ore In The Desert
math.sqrt
sqrt
filter
collections.Counter
Counter
2
3
Full parser
Simplification
class
reverse
raise
add
sort
3
1
ReFuncPuzzle
Keywords Finder
map
max
lower
lambda
inline-if
3
1
Fixed wannabe optimal
Colder-Warmer
math.hypot
hypot
collections.Counter
Counter
collections
5
1
Brute force
Break Rings
isdisjoint
from_iterable
itertools.from_iterable
chain
itertools.chain
6
2
Straightforward
Keywords Finder
find
None
break
max
lower
7
4
Simple BFS
Anagrams By Stacks
collections.deque
deque
add
format
tuple
8
4
Wannabe optimal
Colder-Warmer
math.hypot
hypot
collections.Counter
Counter
collections
18
2
Watchtower
Simple recursion
Numbered Triangles
remove
pop
index
min
None
1
10
7 or fewer
Bulls and Cows
random.seed
seed
random.shuffle
shuffle
frozenset
1
4
Church at work
Funny Addition
functools.reduce
reduce
functools
as
map
3
1
Graham's tweaked
Convex Hull
math.atan2
atan2
itertools.count
math.hypot
hypot
9
Play it safe
Number Guess
filter
collections.Counter
Counter
collections
remove
Backtracking with exceptions
Magic Square
raise
pass
add
remove
enumerate
First
Funny Addition
lambda
2
Escher
List partition
The Ship Teams
items
sorted
append
list-comp
comprehension
1