16
kunkka71
6 18 32
1379/ 1445
Dean Agan
Last seen 9 months ago
Member for 10 years, 8 months, 15 days
Difficulty Normal
Missions (100) / Solutions (87)
Best solutions / Newest solutions
Initiation
Use numpy roll
Replace First
numpy.roll
roll
numpy
as
typing.Iterable
2
2
Sort Distances and Pick
Nearest Value
cmp_to_key
functools.cmp_to_key
functools
abs
set
4
Itertools approach
Beginning Zeros
itertools.takewhile
takewhile
itertools
lambda
sum
1
First
Remove All Before
dropwhile
itertools.dropwhile
itertools
typing.Iterable
Iterable
1
First
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
all empty or all upper
All Upper I
filter
all
isupper
isalpha
bool
First
Count Digits
isdigit
if-comprehension
list-comp
comprehension
int
First
Backward String
str
First
Number Length
int
str
len
First
End Zeros
itertools.takewhile
takewhile
as
itertools
lambda
1
First
Split Pairs
itertools.zip_longest
zip_longest
iter
itertools
join
1
First
Between Markers (simplified)
index
None
inline-if
in
str
First
Multiply (Intro)
int
First
All the Same
Any
typing.Any
all
List
typing.List
Home
First
Bigger Price
sort
lambda
True
list
int
8
2
First
Morse Decoder
capitalize
get
replace
join
split
C
Pawn Brotherhood
digits
string.digits
intersection
ascii_lowercase
string.ascii_lowercase
First
Popular Words
dict-comp
dict
lower
count
split
1
Use Library
Days Between
as
datetime.datetime
datetime
abs
Group them then get max consecutive
Three Words
groupby
itertools.groupby
itertools
isalpha
bool
Weirdish Solution
First Word
dropwhile
itertools.dropwhile
itertools.takewhile
takewhile
ascii_letters
First
Split List
itertools.zip_longest
zip_longest
iter
extend
itertools
Stable Sort With Frequency
Sort Array by Element Frequency
index
lambda
count
sorted
True
1
First
Date and Time Converter
datetime.strptime
strptime
as
f-string
datetime.datetime
1
First
Sun Angle
datetime.strptime
strptime
as
datetime.datetime
float
First
Between Markers
index
None
inline-if
in
str
First
Second Index
enumerate
None
count
inline-if
if-comprehension
First
Even the Last
enumerate
inline-if
sum
if-comprehension
list-comp
Electronic Station
First
Ascending List
typing.Iterable
Iterable
bool
typing
or
15
Func Reduce
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
Walrus use case
All Upper II
all
isupper
isalpha
bool
if-comprehension
Sorting Keys
Sort by Extension
rindex
endswith
List
typing.List
typing
Second
All Upper II
upper
bool
lower
inline-if
False
Operator use examples
Words Order
contains
operator.contains
eq
operator.eq
itertools.zip_longest
1
First
Brackets
any
replace
inline-if
join
while
Scientific Expedition
unicode data
Remove Accents
normalize
unicodedata.normalize
unicodedata
EAFP Approach
Goes Right After
ValueError
index
bool
except
try
First
Conversion from CamelCase
isupper
not
lower
inline-if
join
StripedWithREAndSets
Striped Words
islice
itertools.islice
issubset
reversed
findall
Second
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
filter
string
lower
Second
I Love Python!
inline-if
True
Sort with a Key
Absolute Sorting
tuple
abs
sorted
list
Second
Secret Message
filter
isupper
lambda
join
2
lambda crazy
Striped Words
islice
itertools.islice
issubset
reversed
findall
Secret Message eh?
Secret Message
ascii_uppercase
string.ascii_uppercase
string
join
if-comprehension
1
O'Reilly
BeginnerApproach
Replace Last
typing.Iterable
Iterable
typing
list
2
Deck and Pop
Sort Except Zero
collections.deque
deque
collections
typing.Iterable
Iterable
1
GroupBy
Compress List
groupby
itertools.groupby
itertools
typing.Iterable
Iterable
First
Frequency Sorting
lambda
count
sorted
True
4
Textbook Backtracking
Cipher Crossword
from_iterable
itertools.from_iterable
chain
itertools.chain
isinstance
Deeply Nested
Count Inversions
combinations
itertools.combinations
itertools
index
sum
First
Flatten a List
yield
isinstance
list
else
for
Heap
Reverse Every Ascending
heappush
heapq.heappush
heappop
heapq.heappop
heapq
Tree Recursive Update
Determine the Order
from_iterable
itertools.from_iterable
class
chain
itertools.chain
First
Majority
bool
count
False
True
list
KKTicTacToeReferee
Xs and Os Referee
filter
all
zip
lambda
join
DFS Approach
How Deep
collections.abc.Iterable
isinstance
extend
collections
pop
Zip and Filter
Chunk
itertools.zip_longest
zip_longest
iter
itertools
typing.Iterable
Dict as Switch
Time Converter (12h to 24h)
datetime.time
time
as
get
datetime
Median Basic Solution
Median
float
sorted
else
len
if
First
Index Power
pow
inline-if
len
slice if exists else return items
Remove All After
index
typing.Iterable
Iterable
typing
inline-if
Mine
Cut until r-found space
Cut Sentence
rfind
max
len
if
Using Data.Get Max
Best Stock
get
dict
max
str
1
backtracking
Disposable Teleports
setdefault
next
remove
pop
None
First
Binary Count
bin
count
Item Getter
Best Stock
itemgetter
operator.itemgetter
operator
dict
items
Fizz Buzz
Fizz Buzz
strip
not
inline-if
join
and
First
Moore Neighbourhood
itertools.product
product
itertools
or
sum
Ice Base
First
Roman Numerals
OrderedDict
collections.OrderedDict
items
collections
while
12
2
First
How to Find Friends
setdefault
collections.deque
deque
intersection
yield
2
Monkey Typing
Monkey Typing
lower
if-comprehension
in
list-comp
comprehension
First
Feed Pigeons
itertools.count
keys
get
itertools
max
First
Long Repeat
groupby
itertools.groupby
itertools
max
not
Alice In Wonderland
Single pass approach
Long Non Repeat
enumerate
max
inline-if
in
for
7
First
Long Non Repeat
combinations
itertools.combinations
as
dict-comp
itertools
15
GitHub
First
Open Labyrinth
clear
collections.deque
deque
reversed
values
Dropbox
First
The Longest Palindromic
islice
itertools.islice
itertools
List
typing.List
Kunkka Speech Module
Speech Module
update
dict-comp
zip
range
comprehension
PyCon TW
First
House Password
islower
isupper
isdigit
elif
False
HubSpot
First
Node Disconnected Users
class
iter
property
decorator
extend
Hamming It
The Hamming Distance
bin
count
Recursive Soln
Restricted Sum
inline-if
len
Blizzard
First
Stressful Subject
groupby
itertools.groupby
any
itertools
isupper
First
Min and Max
finally
TypeError
iter
next
pop
Rock
ParityOneLiner
Parity Bit Generator
filter
chr
bin
lambda
sum
7
Shelter
ConfusingMaths
Ghosts Age
math.sqrt
sqrt
any
math
lambda