20
Last seen 1 year ago
Member for 6 years, 10 months, 14 days
Difficulty Normal
Initiation
numpy product
Multiply (Intro)
1
31
6
list of indices
Easy Unpack
5
15
4
next + enumerate
Beginning Zeros
10
5
0
What about an empty string?
Correct Sentence
12
3
0
sum isdigit
Count Digits
12
3
0
zip(a[::2], a[1::2] + '_')
Split Pairs
31
1
0
math.prod (python 3.8)
Multiply (Intro)
71
8
1
min with key
Nearest Value
77
6
1
next
End Zeros
113
0
0
try_parse
Sum Numbers
295
3
0
not any islower
All Upper I
474
1
1
one place split
First Word (simplified)
938
0
1
Home
simple but not time efficient
Sort Array by Element Frequency
13
21
1
Find calculated defenders
Pawn Brotherhood
52
2
0
+ n%2
Split List
109
5
0
all + [i:i + 3]
Three Words
131
15
0
any, all, zip
Three Words
186
9
3
sum Counter
Sort Array by Element Frequency
197
0
0
Counter 1
Sort Array by Element Frequency
240
4
0
More than just letters
Popular Words
787
0
0
From start to stop
First Word
974
0
0
Brute-force defenders
Pawn Brotherhood
1063
1
0
without count
Non-unique Elements
6167
0
0
Electronic Station
reduce by replace
Surjection Strings
12
1
1
operator + dict
Boolean Algebra
18
6
0
Counter
Verify Anagrams
23
3
0
reduce + filter + map
Digits Multiplication
29
4
0
numpy with :=
Digits Multiplication
49
0
0
rfind
Sort by Extension
54
0
0
recursion
Words Order
166
2
0
classic
Brackets
334
3
0
index & zip
Words Order
419
0
0
stack + dict
Brackets
530
1
2
Scientific Expedition
np.unique
The Most Wanted Letter
1
7
1
PEP 20
I Love Python!
8
13
0
groupby
Sum by Type
12
3
0
walrus :=
YAML. Simple Dict
19
0
0
reduce
Follow Instructions
21
1
0
0 <= i == j -1
Goes Right After
25
9
0
Map split & reduce by intersection
Common Words
48
1
0
Reduce with replace (one-liner)
Bird Language
71
0
1
Counter
The Most Wanted Letter
73
4
1
Straight
Cipher Map
112
3
0
Straight
Time Converter (24h to 12h)
130
5
0
re
Striped Words
138
0
0
groupby + min + max
Call to Home
349
0
0
Straight ("state machine")
Striped Words
899
0
0
len of the set
Pangram
1169
0
0
map + min
The Most Wanted Letter
1893
0
0
O'Reilly
'p' in time
Time Converter (12h to 24h)
2
12
1
sum(items) * 2 > len(items)
Majority
6
10
0
numpy.partition
Median
27
1
0
Recursion with prefix
The Flat Dictionary
38
4
0
Counter + sum
Frequency Sorting
41
0
0
yield + groupby
Compress List
84
4
0
None in a slice
Remove All After
138
3
0
yield
Chunk
216
0
0
Rotation for columns and boring diagonals
Xs and Os Referee
241
0
0
iter, next, yield
Sort Except Zero
644
0
0
any + all
Xs and Os Referee
1511
0
0
Mine
With max
Cut Sentence
3
5
0
number &= number - 1
Binary Count
6
8
0
'42' -> '424242...'
Bigger Together
6
0
2
'42' -> '424242...' ( * 2)
Bigger Together
7
0
0
Translate
Caesar Cipher (encryptor)
67
5
0
has n − 1 edges and is connected
What Is Wrong With This Family?
135
0
0
max, key=get
Best Stock
179
4
0
chr-ord
Caesar Cipher (decryptor)
210
0
0
Counter (most_common)
Best Stock
244
3
0
Ice Base
dynamics
Largest Rectangle in a Histogram
7
1
0
5**((i + 1)//2) * 2**(i//2)
Reverse Roman Numerals
12
2
0
Straight O(N)
Long Repeat
83
6
2
dfs
How to Find Friends
129
4
0
yield
Find Quotes
154
2
0
yield from
Find Quotes
155
2
1
threes by twos
Roman Numerals
197
0
0
sum + in
Monkey Typing
334
2
0
Alice In Wonderland
First
Long Non Repeat
134
0
0
GitHub
Lefts and rights separately
Create Intervals
1
221
11
Reduce: append new or update the last
Merge Intervals
1
14
2
to gather together
Create Intervals
2
19
0
Recursion
Merge Intervals
2
8
0
zip, sorted, [-1, 1] One-liner
Create Intervals
3
14
2
next
The Highest Building
10
0
0
Straight
Merge Intervals
33
3
1
The power of excluded
Create Intervals
57
3
2
Dijkstra adjacency list
The Cheapest Flight
90
0
0
Dropbox
Nearest base power + format
Friendly Number
117
3
0
getitem
Worth of Words
402
0
0
PyCon TW
binary search
Ryerson Letter Grade
4
0
2
dfs_count
Calculate Islands
232
0
0
Any
House Password
2636
0
0
Storage
Reduce for flattening
Skew-symmetric Matrix
34
0
0
HubSpot
XOR + another counting
The Hamming Distance
22
2
0
dfs (adjacency list)
New Cities
77
0
0
dfs (adjacency list)
Node Disconnected Users
182
0
0
len
Restricted Sum
271
0
1
manually
Number Base
497
2
0
Blizzard
Reduce
Min and Max
19
4
0
(groupby + itemgetter) and any
Stressful Subject
102
0
0
Cosine theorem + α, β
The Angles of a Triangle
124
5
0
Area (Geron's formula + sinuses)
The Angles of a Triangle
201
3
0
datetime
Unlucky Days
289
0
0
Straight
Min and Max
1157
0
0
Codeship
Scalable
The Square Chest
7
2
0
defaultdict (modeling)
Pearls in the Box
390
0
0
modeling with list of ints
Pearls in the Box
391
0
0
Watchtower
min-max
Funny Addition
123
5
1
eval
Funny Addition
214
2
3
Not On Map
Counters sum
Aggregate and Count
58
0
0