40
David Jones
Last seen 3 years ago
Member for 5 years, 19 days
Difficulty Normal
Initiation
str.find(sub, start)
Between Markers (simplified)
1
26
1
str.split()
First Word (simplified)
4
63
5
generators
Easy Unpack
6
37
2
all(iterable)
All the Same
11
5
0
lambda
Nearest Value
15
14
2
yield
Replace First
23
1
1
str.isdigit()
Sum Numbers
117
5
0
len(s)
Acceptable Password I
123
4
0
operator.mul(a, b)
Multiply (Intro)
133
6
2
string slicing
Backward String
172
6
0
str.join(iterable)
Correct Sentence
239
4
1
bool([x])
Is Even
286
2
2
str.lstrip([chars])
Beginning Zeros
289
2
2
straightforward
End Zeros
297
2
0
textwrap.wrap(text, width=2)
Split Pairs
362
1
0
all(iterable)
All Upper I
402
1
0
len(s)
Number Length
408
1
0
str(object)
Max Digit
475
1
0
str.isdigit()
Count Digits
591
0
0
try ... except
Remove All Before
688
0
0
Home
str.split(sep=' ')
Backward Each Word
1
294
24
dict
Popular Words
1
18
3
Slices
Split List
2
36
0
str.find(sub, start)
Second Index
5
11
1
sorting by multiple criteria
Sort Array by Element Frequency
7
7
0
First
Morse Decoder
7
5
0
First
Sun Angle
8
7
0
str.replace(old, new)
First Word
10
25
1
boolean operations
Even the Last
10
9
1
str.find(sub)
Between Markers
38
10
0
lambda expression
Bigger Price
42
10
0
First
Three Words
55
6
0
datetime.datetime
Days Between
74
21
1
generator function
Pawn Brotherhood
91
23
2
str.replace(old, new)
Right to Left
165
11
1
collections.Counter
Non-unique Elements
644
6
1
Electronic Station
try ... except
Unix Match. Part 2
1
48
9
all(iterable)
Ascending List
1
17
0
recursion
Mathematically Lucky Tickets
4
21
0
set(iterable)
Acceptable Password VI
9
10
1
counting intersections
Inside Block
9
7
0
re.match(pattern, string)
Unix Match. Part 1
11
11
1
itertools.combinations
Remove Brackets
15
5
3
functools.reduce
Digits Multiplication
17
7
1
str.isdigit()
Acceptable Password II
38
6
0
str.lower()
Acceptable Password V
59
4
1
dict
Surjection Strings
61
5
0
stack
Brackets
66
21
0
str.isdigit()
Acceptable Password IV
97
2
0
str.split(sep='.')
Sort by Extension
122
2
0
str.isdigit()
Acceptable Password III
129
2
0
collections.Counter
Verify Anagrams
147
8
1
str.isupper()
All Upper II
275
0
1
Scientific Expedition
type(object)
Sum by Type
3
43
5
sorted(iterable, key)
Absolute Sorting
3
11
0
crystal-clear
Conversion from CamelCase
4
31
2
slicing
Caps Lock
4
11
3
jumping
Bird Language
7
10
1
f-strings
Time Converter (24h to 12h)
14
21
1
First
Pangram
22
9
0
collections.Counter
Follow Instructions
27
11
0
First
I Love Python!
35
6
1
str.title()
Conversion into CamelCase
36
8
1
itertools.zip_longest
The Hidden Word
43
5
1
sets
Common Words
64
12
0
collections.defaultdict
Call to Home
74
3
0
collections.defaultdict
The Most Wanted Letter
114
8
2
zfill
Morse Clock
138
3
1
str.join(iterable)
Secret Message
196
8
1
collections.deque
Letter Queue
204
1
0
str.split(sep)
Goes Right After
305
0
0
O'Reilly
yield
Replace Last
1
36
5
First
Median of Three
2
8
0
itertools.groupby(iterable)
Compress List
3
44
9
yield
Remove All After
3
6
1
recursion
The Flat Dictionary
4
22
1
max(iterable, default=0)
How Deep
7
13
0
yield from iterable
Reverse Every Ascending
19
9
0
set().union(*others)
Determine the Order
19
8
0
recursion
Flatten a List
27
13
0
collections.Counter
Frequency Sorting
55
6
1
list slices
Chunk
124
0
0
list.count(x)
Majority
204
2
0
str.join(iterable)
Xs and Os Referee
226
5
4
ternary operators
Index Power
232
7
1
statistics.median
Median
256
8
1
modified selection sort
Sort Except Zero
319
0
0
Incinerator
First
Geometry Figures
1
13
0
First
Army Battles
1
9
0
First
The Defenders
1
8
0
First
The Vampires
1
5
0
f-strings
Party Invitations
3
13
0
keyword arguments
The Weapons
3
10
1
First
Capital City
3
5
0
class VoiceCommand(list)
Voice TV Control
4
10
3
class Army(list)
The Lancers
4
9
0
class Army(list)
The Healers
6
9
0
class Army(list)
Straight Fight
6
5
2
keyword arguments
The Warriors
8
23
1
multiline f-strings
3 Chefs
8
12
0
copy.copy
Text Editor
11
8
0
bin
Hacker Language
11
5
0
f-strings
Microwave Ovens
12
5
1
f-strings
Dialogues
13
5
0
keyword arguments
The Warlords
14
4
1
f-strings
Every Person is Unique
19
6
1
multiline f-strings
Building Base
21
6
0
Mine
breadth-first search
Fast Train
1
9
0
O(n) (using partial sums)
Can Balance
1
7
1
First
What Is Wrong With This Family?
1
5
0
formula
Achilles and the Tortoise
2
5
0
breadth-first search
Chess Knight
3
16
2
First
Cut Sentence
5
5
0
dict
Caesar Cipher (encryptor)
10
15
1
dict.get(key)
Best Stock
17
14
1
globals()
The Einstein Problem-Lite
23
1
2
math.gcd
The Greatest Common Divisor
24
9
1
bin
Binary Count
125
12
1
str.join(iterable)
Fizz Buzz
281
5
1
Ice Base
First
Monkey Typing
2
15
1
O(N)
Largest Rectangle in a Histogram
2
10
0
str.split
Find Quotes
3
32
0
str.join(iterable)
Morse Encoder
3
31
1
replacing
Roman Numerals
5
17
2
First
Long Repeat
18
7
0
depth-first search
How to Find Friends
103
5
1
max(iterable, default=0)
The Most Numbers
169
9
0
Alice In Wonderland
itertools.accumulate
Flood Area
1
28
2
list.reverse()
Zigzag Array
3
22
0
calendar.weekday
When is Friday?
5
5
0
First
Multiplication Table
6
5
0
breadth-first search
Digits Doublets
7
7
1
First
Middle Characters
7
5
0
tuple assignment
Swap Nodes
11
11
1
breadth-first search
The Shortest Knight's Path
16
3
2
GitHub
urgent cells first
Xs and Os Champion
1
10
0
str.split
Cookies
2
30
0
Dijkstra's algorithm
The Cheapest Flight
3
28
2
generators
Expand Intervals
4
19
1
depth-first search
Power Supply
4
10
0
zip
Create Intervals
6
25
4
calendar module
The Most Frequent Weekdays
8
18
0
math.gcd
Evenly Spaced Trees
10
8
0
math.hypot
Shooting Range
12
5
0
str.startswith(prefix)
The End of Other
14
5
0
Dropbox
textwrap.wrap
Text Formatting
1
44
3
tuple assignment
Hubspot Amulet
1
13
0
recursion
Nonogram Row
3
6
0
generator function
URL Normalization
5
5
1
First
Humpty Dumpty Form
7
5
0
First
Worth of Words
7
5
0
getattr
Simple Hashlib
15
9
1
formatting with nested curly braces
Friendly Number
27
12
1
First
Speech Module
28
6
0
collections.deque
Numbers Factory
151
3
0
PyCon TW
from the nearest to the farthest
Building Visibility
1
15
2
max with default
Double Substring
3
29
1
zip(*iterables)
Ryerson Letter Grade
8
11
0
extended iterable unpacking
Digit Stack
24
5
1
dynamic programming
Golden Pyramid
26
9
1
math.pi
Simple Areas
42
6
1
any(iterable)
House Password
57
2
1
itertools.groupby(iterable)
Sum Consecutives
58
1
1
Storage
all(iterable)
Skew-symmetric Matrix
1
12
0
crystal-clear
Earth Distances
2
16
0
One-liner
Word Pattern
3
10
1
First
Square Spiral
3
10
0
dict.fromkeys
Playfair Cipher
3
9
0
First
Saw the Stick
4
5
0
itertools.combinations
The Rows of Cakes
5
9
0
pow(x, y, modulo)
Restricted Prime
6
11
0
re.findall(pattern, string)
Moria Doors
11
5
0
zip
Weak Point
40
6
0
Maya
connecting the shortest bridges first
Signpost
2
10
0
collecting the nearest gem, using BFS and avoiding the dead ends
Inertia
8
1
0
HubSpot
First
Node Disconnected Users
1
5
0
depth-first search
City's Happiness
2
11
0
breadth-first search
Supply Line
3
10
0
precounting
Square Board
5
13
1
depth-first search
New Cities
9
6
0
divmod(a, b)
Repeating Decimals
9
5
0
str.join
Auto Painting
16
4
0
str.splitlines([keepends])
Non Empty Lines
17
6
0
recursion
Restricted Sum
46
23
0
try ... except
Number Base
153
9
1
Blizzard
sets
Rectangles Union
1
26
0
datetime.datetime
The First Working Day
2
18
0
recursion
Permutation Index
3
0
0
Dijkstra's algorithm
Useless Flights
4
6
0
depth-first search
Radiation Search
5
10
0
First
Stressful Subject
8
5
0
First
Min and Max
17
6
0
date.toordinal()
Weekend Counter
24
5
1
Rock
First
Most Efficient Cutting
1
5
0
First
Super Root
3
6
0
crystal-clear
Parity Bit Generator
5
13
2
recursion
Berserk Rook
6
6
1
datetime
Web Log Sessions
6
6
1
First
CheckSum
6
5
0
Shelter
First
The Nearest Square Number
1
6
0
itertools.product(*iterables)
Pattern Recognition
1
5
1
First
Completely Empty
1
5
0
itertools
ADFGVX Cipher
4
4
0
collections.defaultdict
One line Drawing
13
3
3
frozensets
Seven Segment
27
5
0
First
Ghosts Age
1253
0
0
Codeship
depth-first search
Eaten Go Stones
1
10
0
depth-first search
The Territory of Go
1
6
0
itertools.combinations_with_replacement(iterable, r)
Unfair Dice
2
15
2
@functools.lru_cache
Probably Dice
5
21
1
itertools.product(*iterables)
Minesweeper
5
6
1
formula
Pearls in the Box
7
15
1
breadth-first search
The 88th Puzzle
7
5
0
itertools.chain
The Square Chest
59
0
0
Hermit
O(sqrt(N))
Count Consecutive Summers
2
11
0
depth-first search
Network Loops
3
10
0
int(str, radix)
The Good Radix
5
11
0
fractions.Fraction
Fractions Addition
5
5
0
itertools.product(*iterables)
Break Rings
24
9
1
Watchtower
counting connected components
Boundary Blocks
1
6
0
First
Rotate Hole
8
5
0
probing
Magic Square
10
3
0
First
Funny Addition
18
8
0
Escher
First
Wild Dogs
1
8
0
First
Compass, Map and Spyglass
1
5
0
First
Treasures
1
5
0
First
The Secret Room
1
5
0
O(N), where N is number of cubes
The Tower
1
5
0
depth-first search
Graphical Key
3
12
0
First
The Ship Teams
4
7
0
enumerate
Ground for the House
5
16
1
depth-first search
The Buttons
6
5
0
depth-first search
Hypercube
7
7
0
dynamic programming
The Stones
12
8
1
greedy algorithm
Card Game
14
5
1
normalizing
Keys and Locks
14
5
0
try ... except
Safe Code
17
5
0
zip
The Stone Wall
28
5
0
Not On Map
divmod(a, b)
Base change - Position System
13
0
0