34
rodka81
13 32 48 Leader of the month
6782/ 7195
Last seen 9 days ago
Member for 7 years, 6 months, 16 days
Difficulty Normal
Missions (358) / Solutions (332)
Best solutions / Newest solutions
Initiation
First
Is Even
lambda
3
Without using strings
End Zeros
math.log10
log10
math.floor
floor
math
3
1
And one
Is Even
lambda
4
First
Multiply (Intro)
11
1
Straightforward
Number Length
int
str
len
Straightforward
First Word (simplified)
split
str
First
Correct Sentence
upper
join
append
list
str
1
sum is digit
Count Digits
isdigit
sum
comprehension
int
str
len
Acceptable Password I
bool
str
len
Try first
Remove All Before
ValueError
index
except
try
1
max int str
Max Digit
max
comprehension
int
str
Trivial
Easy Unpack
tuple
Sorted with lambda
Nearest Value
abs
set
lambda
sorted
int
1
All
All the Same
Any
typing.Any
all
List
typing.List
1
Backwards
Backward String
str
Sum if is digit
Sum Numbers
isdigit
sum
if-comprehension
split
comprehension
Itertools recipe
Split Pairs
itertools.zip_longest
zip_longest
iter
itertools
join
Find
Between Markers (simplified)
find
str
1
Length of takewhile
Beginning Zeros
itertools.takewhile
takewhile
itertools
tuple
lambda
Counter
The Most Frequent
collections.Counter
Counter
collections
list
str
1
Try first
Replace First
IndexError
except
try
1
Home
WIth numpy arrays
Changing direction
numpy.sign
sign
diff
numpy.diff
numpy.sum
4
Only works for positive numbers but apparently it's enough :)
Missing Number
diff
numpy.diff
numpy
as
min
5
enumerate
Second Index
IndexError
enumerate
None
except
try
10
1
Counter
Popular Words
collections.Counter
Counter
dict-comp
dict
collections
1
First
Between Markers
find
else
str
len
if
1
First
Sun Angle
and
list-comp
split
comprehension
int
First
Date and Time Converter
datetime.strptime
strptime
f-string
datetime.datetime
datetime
1
One liner
Morse Decoder
capitalize
join
list-comp
split
comprehension
First
Bigger Price
itemgetter
operator.itemgetter
operator
sorted
True
1
re.split
Backward Each Word
re.split
r-string
re
join
split
1
str.split()
First Word
replace
split
str
2
First
Even the Last
sum
len
if
1
First
Right to Left
replace
join
First
Days Between
date
datetime.date
datetime
abs
First with regex
Three Words
re.search
search
r-string
re
None
First
Non-unique Elements
count
if-comprehension
list-comp
comprehension
Electronic Station
sympy.geometry one-liner
Similar Triangles
sympy.geometry.Triangle
Triangle
sympy
1
1
First
Can You Pass?
numpy.asarray
asarray
collections.deque
deque
numpy
2
1
First
Find Sequence
numpy.asarray
asarray
numpy.where
where
numpy
13
First
Unix Match. Part 1
match
re.match
r-string
re
None
15
2
Using sympy feels like cheating
Inside Block
sympy.Polygon
Polygon
sympy
intersection
or
len(set)
Acceptable Password VI
any
isdigit
bool
set
not
First
Acceptable Password V
any
isdigit
bool
not
lower
1
First
Acceptable Password III
any
isdigit
bool
not
and
First
Acceptable Password II
any
isdigit
bool
and
comprehension
First
Acceptable Password IV
any
isdigit
bool
not
or
Counting
Surjection Strings
collections.Counter
Counter
values
collections
bool
1
Split & index
Words Order
ValueError
all
zip
index
bool
from standard library
All Upper II
isupper
str
All items
Ascending List
all
range
comprehension
len
1
First
Words Order
ValueError
index
bool
except
try
First
Brackets
dict
zip
count
or
in
First
Boolean Algebra
elif
if
First
Verify Anagrams
collections.Counter
Counter
collections
replace
lower
Reduce
Digits Multiplication
mul
operator.mul
operator
functools.reduce
reduce
Scientific Expedition
First
Remove Accents
combining
unicodedata.combining
normalize
unicodedata.normalize
unicodedata
10
First
Combining Celebrity Names
enumerate
max
in
and
append
First
Convert To Title Case
title
str
First
Cipher Map
numpy.asarray
asarray
numpy.rot90
rot90
numpy
Recursive
Longest Substring of Unique Characters
add
break
set
max
in
First
Beat The Previous
print
append
list
int
str
Second
Cipher Map
numpy.asarray
asarray
numpy.rot90
rot90
numpy
zip
Fuzzy String Matching
zip
abs
bool
sum
comprehension
Counter
Follow Instructions
collections.Counter
Counter
collections
re
Count Substring Occurrences
IGNORECASE
re.IGNORECASE
findall
re.findall
f-string
zip_longest
Fuzzy String Matching
itertools.zip_longest
zip_longest
itertools
bool
sum
First
Replace All Occurrences
re.sub
sub
re
str
First
Time Converter (24h to 12h)
format
split
comprehension
int
if
re
Conversion from CamelCase
findall
re.findall
re
lower
join
First
Count Vowels
lower
sum
in
list
comprehension
datetime isoformat
Latest ISO datetime
datetime.fromisoformat
fromisoformat
datetime.datetime
datetime
max
First
Convert and Aggregate
collections.defaultdict
defaultdict
dict-comp
dict
items
First
Caps Lock
upper
continue
not
False
else
Join and Sum
Sum by Type
isinstance
sum
join
if-comprehension
comprehension
1
Straightforward
YAML. Simple Dict
splitlines
strip
ValueError
continue
except
First
Conversion into CamelCase
capitalize
join
split
comprehension
1
First
Goes Right After
ValueError
index
bool
except
try
First
The Hidden Word
itertools.zip_longest
zip_longest
itertools
replace
lower
First
Call to Home
math.ceil
ceil
collections.defaultdict
defaultdict
values
First
Morse Clock
rjust
format
enumerate
print
join
First
Pangram
set-comp
ord
isalpha
lower
sorted
deque
Letter Queue
collections.deque
deque
collections
continue
IndexError
First
Striped Words
findall
re.findall
r-string
upper
re
First
Bird Language
join
while
in
split
comprehension
First
Common Words
set
sorted
join
split
First
The Most Wanted Letter
collections.Counter
Counter
dict
items
collections
Key
Absolute Sorting
abs
sorted
O'Reilly
First
Cipher Crossword
numpy.asarray
asarray
raise
itertools.product
product
1
1
numpy matrix
String-2-Matrix
numpy.zeros
zeros
numpy
as
tuple
3
First
Chunk
yield
range
len
for
6
First
Time Converter (12h to 24h)
re.search
search
r-string
format
re
12
1
First
Determine the Order
collections.fromkeys
OrderedDict
collections.OrderedDict
fromkeys
itemgetter
12
1
Numpy matrix
Xs and Os Referee
numpy.asarray
asarray
diag
numpy.diag
fliplr
15
First
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
19
First
Matrix-2-String
dict-comp
items
upper
zip
inline-if
item if not item
Sort Except Zero
pop
not
inline-if
sorted
if-comprehension
count true and count false
Majority
bool
count
False
True
list
1
First
Integer Palindrome
while
append
int
Count the parentheses in repr (using itertools.accumulate)
How Deep
itertools.accumulate
accumulate
repr
itertools
max
1
First
The Final Stone
not
sorted
list
int
len
First
Median of Three
enumerate
inline-if
sorted
list-comp
comprehension
POP!
Replace Last
IndexError
pop
except
try
First
Sum of Digits
inline-if
sum
comprehension
int
str
total seconds
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
Compact total seconds
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
typing
First
Loading Cargo
continue
pop
min
abs
sum
First
Frequency Sorting
lambda
count
sorted
First
Compress List
None
append
for
if
First
Remove All After
append
for
if
Nested loops
Count Inversions
enumerate
sum
range
comprehension
len
First
Flatten a List
collections.Iterable
isinstance
as
collections
Iterable
First
Median
math.floor
floor
math
sorted
else
Incinerator
First
Every Person is Unique
class
capitalize
f-string
replace
int
3
Meta with dataclasses
Army Units
dataclass
dataclasses
dataclasses.dataclass
class
type
3
Append a deepcopy
Text Editor
class
copy.deepcopy
deepcopy
property
copy
5
1
First
Geometry Figures
class
math.pi
super
pi
math.sqrt
11
First
Straight Fight
classmethod
class
staticmethod
next
property
11
First
The Defenders
class
next
property
super
decorator
Modulo
Multicolored Lamp
class
len
1
With dataclasses
Army Units
dataclass
dataclasses
dataclasses.dataclass
class
staticmethod
First
Dialogues
class
property
super
decorator
f-string
Singleton
Capital City
class
is
None
if
First
Hacker Language
class
chr
format
ord
isalpha
First
The Vampires
class
next
property
super
decorator
1
First
3 Chefs
class
super
f-string
zip
sum
First
The Warriors
class
property
super
decorator
while
Getter and setter
Microwave Ovens
class
property
super
decorator
f-string
1
for friend in self
Party Invitations
class
f-string
remove
None
append
1
Set
Friends
class
union
remove
set
in
First
Army Battles
class
next
property
super
decorator
1
First
Building Base
class
type
format
Mine
BFS
Find Enemy
numpy.roll
roll
classmethod
class
collections.deque
1
1
First
Color Map
numpy.argwhere
argwhere
numpy.asarray
asarray
numpy.unique
2
1
Convolve
Moore Neighbourhood
scipy.signal.convolve2d
convolve2d
numpy.ones
ones
scipy
3
Trivial solution with numpy
Determinant
numpy.rint
rint
numpy.linalg
linalg
numpy
6
First
Bigger Together
cmp_to_key
functools.cmp_to_key
reversed
functools
map
11
1
numpy
Matrix "Hatching"
fliplr
numpy.fliplr
numpy
as
max
11
First
The Einstein Problem-Lite
KeyError
combinations
itertools.combinations
dict-comp
keys
16
1
First
Toothpicks
inline-if
while
int
17
First
Can Balance
enumerate
sum
range
comprehension
len
18
1
First
Disposable Teleports
copy
remove
pop
None
set
20
First
Count Morse
startswith
set
join
int
str
Graph
Domino Chain
collections.deque
deque
collections.defaultdict
defaultdict
strip
Second
Find Enemy
bisect.bisect
math.atan2
atan2
bisect
classmethod
1
First
Caesar Cipher (encryptor)
chr
islower
ord
inline-if
join
1
First
Chess Knight
itertools.permutations
permutations
f-string
chr
add
1
First
Replace with Biggest
IndexError
except
try
max
range
Recursive
Adjacent Letters
range
str
len
for
if
Default set
Switch Keys to Values
collections.defaultdict
defaultdict
add
dict
items
First
Escape
ZeroDivisionError
except
try
inline-if
while
First
Caesar Cipher (decryptor)
chr
islower
ord
not
join
First
Cut Sentence
itertools.accumulate
accumulate
itertools
IndexError
except
1
Simple solution
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
1
First
Currency Style
finditer
re.finditer
r-string
re
None
Second
Achilles and the Tortoise
First
Best Stock
items
lambda
sorted
1
First
Binary Count
bin
count
Ice Base
find_objects
Identify Block
find_objects
scipy.ndimage.find_objects
numpy.array_equal
array_equal
scipy
2
1
Intersection and Circle from sympy
Count Chains
sympy.geometry.intersection
sympy.geometry.Circle
Circle
sympy
combinations
2
First
Making Change
arange
numpy.arange
numpy
as
min
3
1
Simple regex
Find Quotes
findall
re.findall
r-string
re
4
2
First
Counting Tiles
math.hypot
hypot
math.ceil
ceil
all
First
Colorful Disks
Ellipsis
reversed
tuple
int
for
Second
Oil Pie
Fraction
fractions.Fraction
fractions
abs
sum
zip
Not in Order
zip
sum
sorted
list
comprehension
namedtuple
Interesting, intersecting
collections.namedtuple
namedtuple
tuple
collections
bool
Straightforward
When "k" is Enough!
collections.defaultdict
defaultdict
collections
append
int
itertools.groupby
Long Repeat
groupby
itertools.groupby
itertools
max
list
1
First
Reverse Roman Numerals
keys
IndexError
None
except
try
Line in
Correct Capital
capitalize
upper
bool
lower
in
First
Morse Encoder
lower
join
list-comp
comprehension
First
Clock Angle
round
min
list-comp
split
comprehension
First
Largest Rectangle in a Histogram
min
break
while
append
range
2
Breadth First Search
How to Find Friends
collections.deque
deque
collections.defaultdict
defaultdict
collections
First
Feed Pigeons
collections.defaultdict
defaultdict
collections
while
and
One-liner
Monkey Typing
lower
count
in
True
list-comp
First
Roman Numerals
class
OrderedDict
collections.OrderedDict
itemgetter
operator.itemgetter
First
The Most Numbers
min
max
len
if
Alice In Wonderland
Plain and simple
Swap Nodes
range
len
for
1
7
numpy
Dangerous Bishops
numpy.sum
numpy.zeros
zeros
numpy
as
2
numpy
Transposed Matrix
matrix
numpy.matrix
numpy
as
lambda
10
First
IP Network: Route Summarization
all
format
zip
break
not
14
First
When is Friday?
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
First
Middle Characters
len
if
BFS
The Shortest Knight's Path
collections.deque
deque
itertools.product
product
f-string
First
Zigzag Array
reversed
append
range
list
else
1
Max default
Long Non Repeat
set
max
if-comprehension
list-comp
range
1
BFS
Digits Doublets
collections.deque
deque
add
collections
zip
1
First
The Fastest Horse
enumerate
min
set
max
lambda
1
First
Multiplication Table
itertools.starmap
starmap
itertools.product
product
format
Second
Multiplication Table
and_
operator.and_
operator.xor
xor
operator.or_
GitHub
Reduce and gcd
Evenly Spaced Trees
math.gcd
gcd
functools.reduce
reduce
functools
2
1
sympy.geometry
Shooting Range
sympy.geometry.Line
sympy.geometry.intersection
sympy.geometry.Segment
Line
Segment
2
2
Breadth First Search
Open Labyrinth
numpy.asarray
asarray
collections.deque
deque
numpy
2
First
Area of a Convex Polygon
sympy.geometry.Polygon
Polygon
sympy
float
abs
6
OOP solution
Barcode Reader
from_iterable
itertools.from_iterable
class
KeyError
chain
Simple
Xs and Os Champion
zip
enumerate
index
None
count
First
The Cheapest Flight
collections.defaultdict
defaultdict
collections
List
typing.List
First
Merge Intervals
tuple
sort
max
not
lambda
chain from iterable
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
1
Transpose and count
The Highest Building
zip
index
max
count
list-comp
First
Power Supply
collections.deque
deque
collections.defaultdict
defaultdict
keys
First
Painting Wall
class
combinations
itertools.combinations
property
decorator
First
Broken Clock
datetime.strptime
strptime
datetime.timedelta
timedelta
match
1
First
Cookies
strip
map
split
str
for
1
First
Solution for Anything
class
pass
True
First
The Most Frequent Weekdays
datetime.timedelta
timedelta
collections.Counter
Counter
date
Second
The Most Frequent Weekdays
calendar.day_name
day_name
calendar
datetime.timedelta
timedelta
First
The End of Other
itertools.permutations
permutations
endswith
itertools
False
Dropbox
First
Place Queens
collections.deque
deque
itertools.product
product
combinations
7
Sympy
Three Points Circle
sympy.Line
sympy.Segment
Line
Segment
sympy.Point
Another solution with textwrap
Text Formatting
textwrap.wrap
wrap
textwrap
itertools.zip_longest
zip_longest
First
Friendly Number
reversed
format
round
enumerate
abs
First
Text Formatting
itertools.zip_longest
zip_longest
rstrip
f-string
format
1
First
Common Tail
itertools.zip_longest
zip_longest
reversed
itertools
None
First
The Longest Palindromic
lambda
and
list-comp
range
comprehension
eval
Simple Hashlib
eval
f-string
Straightforward
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
One-liner (kind of)
Worth of Words
max
lambda
sum
list-comp
comprehension
First
Numbers Factory
reversed
break
not
or
sorted
First
Speech Module
math.floor
floor
math
join
else
PyCon TW
Numpy slices and namedtuple
Building Visibility
numpy.all
numpy.zeros
zeros
collections.namedtuple
namedtuple
2
1
DP
Golden Pyramid
numpy.zeros
zeros
numpy
as
range
3
A* algorithm
Express Delivery
matrix
numpy.matrix
numpy.where
where
collections.namedtuple
4
First
Robot Sort
f-string
join
while
False
append
5
First
Calculate Islands
numpy.asarray
asarray
numpy.where
where
collections.deque
6
First
Network Attack
numpy.asarray
asarray
class
update
numpy
7
Linalg inv
How Much Gold
numpy.linalg.inv
inv
numpy.zeros
zeros
Fraction
10
First
Ryerson Letter Grade
min
or
elif
int
str
14
itertools.groupby
Sum Consecutives
groupby
itertools.groupby
itertools
sum
list-comp
First
Double Substring
in
and
range
len
for
1
First
Digit Stack
ValueError
pass
IndexError
pop
except
1
First
Simple Areas
math.pow
mul
operator.mul
pow
operator
Bisect
House Password
bisect.bisect
bisect
ord
set
False
Storage
First
Square Spiral
int16
numpy.int16
numpy.where
where
numpy.zeros
1
1
First
Playfair Cipher
numpy.reshape
reshape
numpy.where
where
isalnum
2
First
English to Braille Translator
numpy.int
matrix
numpy.matrix
numpy.zeros
zeros
2
Dijkstra
Digging a Canal
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2
First
The Rows of Cakes
is_collinear
sympy.geometry.Line
sympy.is_collinear
Line
sympy.geometry.Point
4
itertools groupby
Group Equal consecutive
groupby
itertools.groupby
itertools
list-comp
list
12
First
Battle Dice
functools.lru_cache
lru_cache
mul
operator.mul
itertools.product
13
Object-oriented solution
Earth Distances
math.radians
radians
classmethod
math.cos
cos
17
datetime
Working Hours Calculator
combine
datetime.combine
datetime.today
today
datetime.fromisoformat
17
First
Weak Point
zip
index
min
sum
list-comp
19
1
First
List Beautify
rjust
tuple
zip
max
join
Restricted Erathostenes
Restricted Prime
while
False
True
int
if
1
numpy
Skew-symmetric Matrix
numpy.array_equal
array_equal
matrix
numpy.matrix
numpy
First
Word Pattern
format
isalpha
inline-if
join
comprehension
First
Saw the Stick
yield
extend
sort
sum
while
First
Moria Doors
mul
operator.mul
combinations
itertools.combinations
collections.defaultdict
HubSpot
First
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
4
1
OOP solution (verbose)
Supply Line
hash
classmethod
repr
from_iterable
itertools.from_iterable
20
First
Non Empty Lines
splitlines
strip
sum
comprehension
int
First
Auto Painting
add
continue
IndexError
pop
except
First
The Hamming Distance
zfill
format
zip
map
max
First
Restricted Sum
pop
else
len
if
Try - except
Number Base
ValueError
except
try
int
Blizzard
scipy.ndimage
Radiation Search
asscalar
numpy.asscalar
scipy.ndimage.label
label
numpy.unique
1
2
numpy
Rectangles Union
asscalar
numpy.asscalar
numpy.sum
numpy.zeros
zeros
5
First
Sudoku Solver
copy.deepcopy
deepcopy
collections.deque
deque
set-comp
10
1
First
The First Working Day
datetime.strftime
strftime
datetime.strptime
strptime
datetime.timedelta
13
1
Kruskal
Connect Stars
math.hypot
hypot
heappop
heapq.heappop
heapq
17
First
Stressful Subject
groupby
itertools.groupby
filter
any
itertools
1
Straightforward
The First Working Day
datetime.strftime
strftime
datetime.strptime
strptime
datetime.timedelta
1
First
String Conversion
zip
set
count
while
True
2
Straightforward
Unlucky Days
date
datetime.date
datetime
if-comprehension
list-comp
First
Weekend Counter
datetime.timedelta
timedelta
yield
datetime
range
First
Min and Max
is
get
None
lambda
inline-if
First
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Rock
numpy
Life Counter
lib
numpy.lib
scipy.signal.convolve2d
convolve2d
numpy.ones
2
1
lambertw
Super Root
numpy.exp
numpy.log
numpy.real
real
lambertw
5
OOP with dataclasses
Web Log Sessions
dataclass
dataclasses
dataclasses.dataclass
class
splitlines
10
1
Second
CheckSum
isalnum
reversed
ord
enumerate
sum
15
First
CheckSum
isalnum
reversed
ord
enumerate
except
1
First
Most Efficient Cutting
itemgetter
operator.itemgetter
combinations
itertools.combinations
operator
DFS
Water Jars
collections.deque
deque
keys
add
collections
First
Berserk Rook
itemgetter
operator.itemgetter
collections.deque
deque
operator
1
First
Sort by Removing
pop
except
try
append
list
1
Reduce
Parity Bit Generator
functools.reduce
reduce
functools
f-string
chr
Shelter
First
AMSCO Cipher
numpy.int
numpy.all
numpy.sum
numpy.zeros
zeros
2
First
ADFGVX Cipher
numpy.asarray
asarray
collections.fromkeys
numpy.where
where
2
Clear solution with numpy
Pattern Recognition
numpy.asarray
asarray
numpy.array_equal
array_equal
numpy
5
1
First
Completely Empty
TypeError
except
try
not
False
8
Brute force with counters
Halloween Monsters
KeyError
collections.deque
deque
collections.Counter
Counter
First
The Nearest Square Number
math.sqrt
sqrt
round
math
1
Euler trail
One line Drawing
collections.deque
deque
collections.defaultdict
defaultdict
copy
First
Seven Segment
hex
itertools.product
product
chr
itertools
First
Ghosts Age
next
yield
while
True
else
Codeship
Polynomial coefficients
Probably Dice
numpy.polynomial.polynomial.polypow
polypow
numpy
IndexError
except
1
7
First
Bats Bunker
distance
scipy.euclidean
scipy.spatial.distance
euclidean
sympy.geometry.intersection
2
1
label and binary_dilation from scipy.ndimage
Eaten Go Stones
scipy.ndimage.binary_dilation
binary_dilation
scipy.ndimage.label
label
numpy.all
4
Compact solution with scipy.ndimage
Eaten Go Stones
scipy.ndimage.binary_dilation
binary_dilation
scipy.ndimage.label
label
numpy.all
5
Second
Unfair Dice
combinations_with_replacement
itertools.combinations_with_replacement
itertools
max
sum
15
1
First
The 88th Puzzle
functools.lru_cache
lru_cache
collections.namedtuple
namedtuple
heappush
19
1
OOP with enums and __lt__
Texas Referee
Enum
enum.Enum
enum
hash
classmethod
Brute force
Unfair Dice
combinations_with_replacement
itertools.combinations_with_replacement
itertools
sum
sorted
2
First
The Square Chest
set
count
while
in
False
Second
The Square Chest
set
count
while
in
False
First
Pearls in the Box
collections.deque
deque
collections.defaultdict
defaultdict
yield
Hermit
Cyclic quadrilateral angle
Strawberry Fields
math.acos
acos
math.pi
pi
round
13
First
Fractions Addition
Fraction
fractions.Fraction
fractions
f-string
sum
1
Regex
Keywords Finder
escape
re.escape
finditer
re.finditer
IGNORECASE
Second
The Good Radix
ValueError
continue
except
try
max
Watchtower
Commented solution with label and generic_filter from scipy.ndimage
Boundary Blocks
scipy.ndimage.generic_filter
generic_filter
scipy.ndimage.label
label
numpy.where
2
1
With numpy and scipy.ndimage (again)
Bacteria Colonies
scipy.ndimage.binary_dilation
binary_dilation
find_objects
scipy.ndimage.find_objects
scipy.ndimage.label
3
2
OOP brute
Magic Square
numpy.copy
ndarray
numpy.ndarray
numpy.max
numpy.asarray
3
numpy.roll
Rotate Hole
numpy.roll
roll
numpy.asarray
asarray
numpy.all
4
First
Vigenere Cipher
chr
ord
enumerate
join
in
9
First
DNA Common Sequence
set
max
sorted
join
elif
Simple but inefficient
Bulls and Cows
itertools.permutations
permutations
add
itertools
zip
Jarvis march
Convex Hull
itemgetter
operator.itemgetter
operator
enumerate
sorted
First
Compare Functions
is
None
except
try
not
1
First
Numbered Triangles
itertools.permutations
permutations
collections.deque
deque
itertools
First
Funny Addition
sum
Escher
Compact solution with numpy and scipy.ndimage
The Buttons
asscalar
numpy.asscalar
scipy.ndimage.label
label
numpy.asarray
1
6
BFS
Hypercube
char
numpy.char
numpy.argwhere
argwhere
collections.deque
1
numpy
Compass, Map and Spyglass
asmatrix
numpy.asmatrix
asscalar
numpy.asscalar
numpy.where
3
2
numpy matrix
Ground for the House
asmatrix
numpy.asmatrix
asscalar
numpy.asscalar
numpy.where
5
2
numpy
Ground for the House
asmatrix
numpy.asmatrix
asscalar
numpy.asscalar
numpy.where
8
1
Rotate with numpy
Keys and Locks
allclose
numpy.allclose
numpy.asarray
asarray
numpy.all
9
First
Graphical Key
chain
itertools.chain
collections.deque
deque
itertools.product
18
First
The Secret Room
KeyError
format
index
except
try
Opposite sides
The Tower
frozenset
collections.Counter
Counter
collections
max
First
Treasures
itemgetter
operator.itemgetter
math.floor
floor
operator
Find index of maximum zeros in transposed matrix
The Stone Wall
splitlines
zip
map
index
max
First
Safe Code
eval
set-comp
ValueError
continue
replace
2
First
Wild Dogs
math.tan
tan
math.atan2
atan2
math.sqrt
First
The Ship Teams
items
or
sorted
if-comprehension
list-comp
1
Not On Map
defaultdict
Aggregate and Count
collections.defaultdict
defaultdict
dict
collections
list