32
martin_b
10 27 43 Leader of the month
5744/ 6195
Last seen 11 months ago
Member for 11 years, 6 months, 16 days
Difficulty Normal
Missions (210) / Solutions (209)
Best solutions / Newest solutions
Initiation
First
Multiply (Intro)
20
1
First
All the Same
Any
typing.Any
all
List
typing.List
Gets it done
The Most Frequent
set
max
lambda
count
Gets it done
Easy Unpack
lambda
First
Acceptable Password I
bool
str
len
1
First
First Word (simplified)
split
str
First
Correct Sentence
upper
lambda
inline-if
First
Between Markers (simplified)
index
str
Home
Gets it done (by re.findall)
Morse Decoder
capitalize
findall
re.findall
re
join
3
4
Gets it done
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
format
datetime
One liner
Second Index
enumerate
None
lambda
if-comprehension
list-comp
2
Gets it done
Sun Angle
map
split
int
if
First
Sort Array by Element Frequency
dict-comp
index
set
lambda
count
First
Days Between
date
datetime.date
datetime
abs
Regex
Three Words
re.search
search
r-string
re
None
First
Right to Left
replace
join
1
First
Even the Last
inline-if
sum
Gets it done
Bigger Price
lambda
sorted
Straightforward
Between Markers
find
inline-if
str
len
1
Gets it done
Popular Words
findall
re.findall
dict-comp
upper
re
Regex
First Word
findall
re.findall
re
lambda
3
First
Pawn Brotherhood
chr
ord
or
in
for
First
Non-unique Elements
count
append
for
if
Electronic Station
First
Acceptable Password IV
all
any
isdigit
bool
not
8
Short
Similar Triangles
set-comp
zip
lambda
sorted
list-comp
9
2
First
Acceptable Password VI
all
any
isdigit
bool
set
14
1
Gets it done
Unix Match. Part 2
match
re.match
r-string
re
None
16
2
First
Inside Block
min
max
or
inline-if
if-comprehension
17
First
Acceptable Password III
all
any
isdigit
bool
not
First
Acceptable Password II
any
isdigit
bool
and
comprehension
All maps reduce
Surjection Strings
collections.defaultdict
defaultdict
functools.reduce
reduce
functools
1
With buffer zone
Can You Pass?
pop
sum
while
False
append
Gets it done
Unix Match. Part 1
match
re.match
r-string
re
None
2
First
Acceptable Password V
all
any
isdigit
bool
not
1
First
Brackets
pop
index
not
or
in
Using eval
Boolean Algebra
eval
First
All Upper II
any
upper
isalpha
bool
and
1
Regex
Find Sequence
re.search
search
r-string
format
re
First
Verify Anagrams
collections.Counter
Counter
upper
collections
replace
First
Digits Multiplication
max
while
Scientific Expedition
First
Time Converter (24h to 12h)
f-string
map
split
int
1
33
First
Morse Clock
format
replace
sum
list-comp
split
6
2
Not one liner
Call to Home
collections.defaultdict
defaultdict
values
collections
inline-if
14
First
Remove Accents
combining
unicodedata.combining
normalize
unicodedata.normalize
unicodedata
Gets it done
Follow Instructions
lambda
count
1
First
The Hidden Word
splitlines
any
upper
find
break
First
Cipher Map
reversed
zip
isupper
enumerate
sum
I do not love Python
I Love Python!
Gets it done
Conversion into CamelCase
title
replace
lambda
1
Yet another regex
Conversion from CamelCase
re.sub
sub
r-string
re
lower
First
Bird Language
re.sub
sub
r-string
re
lambda
Regex
Secret Message
findall
re.findall
re
join
First
Letter Queue
else
for
if
First
Pangram
ascii_lowercase
string.ascii_lowercase
string
set
lower
First
Striped Words
findall
re.findall
r-string
upper
re
First
Absolute Sorting
abs
sorted
First
Common Words
collections.defaultdict
defaultdict
collections
sorted
join
First
The Most Wanted Letter
chr
ord
enumerate
isalpha
lower
O'Reilly
First
Time Converter (12h to 24h)
time.strftime
time.strptime
strftime
time
strptime
9
First
Xs and Os Referee
re.search
search
r-string
re
None
19
3
First
Cipher Crossword
itertools.permutations
permutations
dict-comp
any
itertools
1
Topological sorting, Kahn's algorithm
Determine the Order
class
collections.defaultdict
defaultdict
keys
add
1
First
Flatten a List
map
lambda
inline-if
sum
First
Median
sorted
else
len
if
A bit longer one liner but does not count the numbers over and over again
Frequency Sorting
collections.Counter
Counter
collections
lambda
sum
First
Index Power
list
int
len
if
1
Merge sort
Count Inversions
while
and
list
else
len
Incinerator
First
The Warriors
class
super
not
while
False
Gets it done
Dialogues
class
pass
None
set
inline-if
Defaultdict
Friends
class
collections.defaultdict
defaultdict
reversed
keys
First
Building Base
class
format
Mine
Simple recursion
Chess Knight
chr
ord
map
set
sorted
1
1
1-liner
Cut Sentence
rfind
max
lambda
inline-if
len
2
1
Cubic coordinates
Find Enemy
ord
map
pop
abs
set
5
Regex/translate
Currency Style
translate
re.sub
sub
re
lambda
6
3
First
Domino Chain
tuple
map
enumerate
not
or
8
First
Color Map
discard
collections.defaultdict
defaultdict
type
is
10
1
Dijkstra
Fast Train
continue
break
or
while
append
1
Gets it done
Caesar Cipher (decryptor)
chr
ord
or
inline-if
join
Boring
Achilles and the Tortoise
First
Disposable Teleports
collections.defaultdict
defaultdict
copy
add
collections
First
Determinant
inline-if
sum
if-comprehension
list-comp
range
Gets it done
Best Stock
items
max
lambda
comprehension
Gets it done
Caesar Cipher (encryptor)
chr
ord
or
inline-if
join
First
Binary Count
while
Ice Base
Straightforward
Identify Block
items
tuple
zip
min
inline-if
1
1
O(1) solution
Feed Pigeons
math.sqrt
sqrt
math
int
if
3
First
Clock Angle
map
min
abs
split
int
3
1
First
Reverse Roman Numerals
zip
inline-if
sum
comprehension
8
O(radius)
Counting Tiles
range
int
for
16
Regex
Long Repeat
finditer
re.finditer
r-string
re
max
20
1
DP
Making Change
min
None
break
inline-if
range
2
First
Largest Rectangle in a Histogram
set
max
else
for
if
Gets it done
Morse Encoder
strip
upper
lambda
join
comprehension
First
The Most Numbers
min
max
inline-if
1
First
How to Find Friends
collections.defaultdict
defaultdict
copy
add
collections
First
Monkey Typing
lower
sum
in
comprehension
First
Roman Numerals
reversed
ord
range
list
str
Alice In Wonderland
Gets it done
When is Friday?
time.strptime
time
strptime
4
1
Gets it done
Middle Characters
len
12
Simple recursion
Digits Doublets
not
or
sum
in
and
12
2
First
Multiplication Table
inline-if
while
17
First
IP Network: Route Summarization
functools.reduce
reduce
functools
lambda
count
Gets it done
The Fastest Horse
index
min
max
list
int
It's complex
The Shortest Knight's Path
complex
tuple
ord
map
lambda
Zip
Transposed Matrix
zip
list-comp
list
comprehension
GitHub
First
Cookies
split
5
First
Broken Clock
datetime.timedelta
timedelta
datetime.datetime
datetime
split
6
Bisect
Painting Wall
bisect.bisect_right
bisect_right
bisect.bisect_left
bisect_left
bisect
9
First
Area of a Convex Polygon
enumerate
min
abs
for
14
The best of the worst
Xs and Os Champion
copy
re.search
search
r-string
re
First
The End of Other
endswith
any
lambda
if-comprehension
and
1
Recusion
Power Supply
discard
collections.defaultdict
defaultdict
keys
add
Counting is not necessary
The Most Frequent Weekdays
calendar.day_name
day_name
calendar.weekday
weekday
calendar
1
Gets it done
The Highest Building
next
any
enumerate
index
lambda
First
Solution for Anything
class
object
True
Dijkstra
Open Labyrinth
add
tuple
zip
set
join
Dropbox
Modular Cramer's rule
Hubspot Amulet
while
2
2
Weird DFS
On the same path
typing.Set
Set
typing.Union
Union
Tuple
6
1
First
Friendly Number
format
abs
inline-if
while
and
1
Gets it done
Worth of Words
max
lambda
sum
comprehension
Clear
The Longest Palindromic
range
len
for
if
First
URL Normalization
rsplit
ascii_letters
string.ascii_letters
digits
string.digits
And I programmed and programmed and programmed
Place Queens
copy
chr
ord
set
not
Gets it done
Text Formatting
center
rjust
rstrip
divmod
lstrip
1
First
Numbers Factory
while
range
int
str
for
First
Humpty Dumpty Form
math.cos
cos
math.sin
sin
math.log
First
Three Points Circle
eval
format
round
if
PyCon TW
First
How Much Gold
items
lambda
inline-if
sum
in
3
First
Digit Stack
pop
inline-if
append
split
else
8
2
Dijkstra
Express Delivery
divmod
add
tuple
zip
index
20
First
Ryerson Letter Grade
zip
split
int
str
for
First
Network Attack
add
enumerate
set
not
while
Using set
Calculate Islands
add
pop
min
max
sorted
First
Simple Areas
math.pi
pi
math.sqrt
sqrt
round
First
Golden Pyramid
reversed
max
list-comp
range
list
First
House Password
re.search
search
re
not
False
Storage
First
Battle Dice
itertools.product
product
get
dict
itertools
6
1
Dijkstra
Digging a Canal
add
set
while
and
list-comp
8
y=a*x+b
The Rows of Cakes
complex
combinations
itertools.combinations
float
add
9
First
Earth Distances
math.radians
radians
math.cos
cos
math.sin
9
1
Dynamic programming
Haunted House
complex
divmod
add
items
continue
19
First
Weak Point
zip
map
index
min
sum
First
Playfair Cipher
isalnum
digits
string.digits
divmod
ascii_lowercase
Lazy
Saw the Stick
while
list-comp
range
comprehension
len
First
Skew-symmetric Matrix
False
True
range
len
for
HubSpot
First
Auto Painting
min
join
append
list-comp
range
4
1
Straightforward, not very pythonic
New Cities
add
enumerate
None
break
set
12
First
Repeating Decimals
index
break
while
in
append
Eval
Restricted Sum
eval
First
The Hamming Distance
while
First
Number Base
ValueError
ord
except
try
list
Blizzard
First
Stressful Subject
re.I
I
endswith
re.search
search
1
4
Clear
Min and Max
gt
operator.gt
lt
operator.lt
iter
5
7
Simple backtracking
Sudoku Solver
enumerate
None
set
not
list-comp
15
1
Flood fill
Safe Coasts
heappush
heapq.heappush
heappop
heapq.heappop
heapq
20
1
Recursive Levenshtein with memoization
String Conversion
class
decorator
dict
min
not
2
First
Sudoku Solver
random.shuffle
shuffle
random
copy
isinstance
First
Unlucky Days
FRIDAY
calendar.FRIDAY
calendar.weekday
weekday
calendar
2
Flood fill
Radiation Search
continue
pop
or
sum
while
Recursive
Stair Steps
max
if
First
The Angles of a Triangle
math.sin
sin
math.asin
asin
math.acos
Rock
Quantum algorithm with entanglement between hobbits :-)
Chicken Hunt
heappush
heapq.heappush
heappop
heapq.heappop
heapq
1
1
Straightforward recursion
Most Efficient Cutting
enumerate
not
or
sorted
while
7
First
Black Holes
complex
math.asin
asin
itemgetter
operator.itemgetter
8
1
Straightforward recursion, reasonably fast
Crossword Solver
finditer
re.finditer
copy
filter
all
9
1
Kind of brute force with randomization
Family Gifts
random.shuffle
shuffle
random
copy
add
9
Traverse AST as everybody
Count Comprehensions
AST
ast.AST
ast.parse
parse
ast
12
Totally unpythonic (did not use conversion to binary string) :-)
Parity Bit Generator
chr
join
while
if-comprehension
list-comp
15
4
Second
Crossword Solver
finditer
re.finditer
copy
filter
dict-comp
Bisection
Super Root
math.log
log
math
abs
inline-if
Totally unpythonic v2 :-)
Parity Bit Generator
chr
not
join
while
if-comprehension
3
Shelter
Geometric solution
Four To The Floor
combinations
itertools.combinations
itertools
continue
sort
1
6
Gets it done
The Nearest Square Number
int
8
First
ADFGVX Cipher
fromkeys
itertools.zip_longest
zip_longest
isalnum
iter
9
First
Completely Empty
iter
except
try
not
False
16
Forking BFS
Climbing Route
add
tuple
continue
enumerate
abs
Straightforward
Seven Segment
set-comp
islower
upper
isupper
set
1
First
Pattern Recognition
find
map
break
join
while
First
Ghosts Age
while
else
if
Codeship
First
Unfair Dice
min
max
inline-if
sum
elif
18
DP
Pearls in the Box
round
count
sum
append
list-comp
19
Dij
Bats Bunker
id
complex
finditer
re.finditer
heappush
19
1
Quite succinct
Eaten Go Stones
not
or
sum
elif
False
Di
8 Puzzle
add
tuple
continue
index
or
1
Using sets
The Square Chest
set-comp
add
min
set
max
Polynomial
Probably Dice
or
range
len
for
if
Hermit
Easy with Bretschneider
Strawberry Fields
math.degrees
degrees
math.acos
acos
round
1
1
Fraction with divmod
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
f-string
3
1
Heatmap
Colder-Warmer
math.hypot
hypot
divmod
add
math
6
3
Blunt BFS
Anagrams By Stacks
collections.deque
deque
add
collections
set
6
First
The Good Radix
max
range
int
for
if
First
Ore In The Desert
set-comp
round
pop
None
not
First
Mono Captcha
operator.xor
xor
operator
map
min
Only additions and one mod
Count Consecutive Summers
while
if
1
First
Break Rings
union
combinations
itertools.combinations
all
itertools
Watchtower
Without if/else
Compare Functions
None
except
try
False
True
1
3
Regex (why do I torture myself? :-))
Bacteria Colonies
divmod
re.search
search
format
re
9
1
Light Chasing
Wall Keeper
break
in
append
list-comp
range
17
First
Ethernet Ring Dimensioning
index
min
max
or
inline-if
17
First
Compare Functions
pass
None
except
try
inline-if
18
Graham scan
Convex Hull
itemgetter
operator.itemgetter
operator
enumerate
pop
I am starting to get a grasp on python :-)
Rotate Hole
all
lambda
if-comprehension
list-comp
range
Not very pythonic brute force
Numbered Triangles
itertools.permutations
permutations
add
itertools
tuple
First
Funny Addition
sum
Escher
Straightforward
The Ship Teams
items
not
sorted
if-comprehension
list-comp
Straightforward
Ground for the House
rfind
find
lstrip
index
min
1