26
Bertrand BENOIT
https://bertrand-benoit.gitlab.io/
Last seen 10 days ago
Member for 4 years, 9 months, 21 days
Difficulty Advanced
Software Architect - Artificial Intelligence R&D Engineer
Initiation
Quick and easy
All the Same
4
7
0
3-chars solution :)
Multiply (Intro)
8
12
3
Flatten generator
Flatten a List
9
7
1
zip_longest trick
Split Pairs
21
14
2
Complete clear and documented solution with numpy
Pawn Brotherhood
25
1
1
Clean solution with dictionary, groupby, sorted with key
Sort Array by Element Frequency
50
1
0
Clean and easy solution with regex
Time Converter (12h to 24h)
102
3
0
A safe-guard is often nice
Between Markers
116
0
0
Solution with List comprehension
Non-unique Elements
2273
1
2
Home
Quick solution (map and f-string)
Time Converter (24h to 12h)
1
26
2
Nice numpy solution checking properly rows, columns, diagonal and anti-diagonal
Xs and Os Referee
1
11
2
Clean and clear
Sun Angle
32
1
2
Clear and documented solution with regular expressions with group replacing
Bird Language
96
10
0
Walrus and Negative floor division tricks
Split List
342
2
0
Simplified stack solution
Brackets
1786
0
8
Electronic Station
Nice and documented solution with numpy
Can You Pass?
3
1
2
Clear solution with itertools product and generator
Mathematically Lucky Tickets
55
0
0
Proper solution with numpy, generator and slicing
Find Sequence
97
0
0
Regular expression, translate, translation map
Unix Match. Part 1
241
0
0
2-lines solution with reduce
Digits Multiplication
4052
0
0
Scientific Expedition
One-line solution with lambda and regex
Secret Message
9
8
0
2-lines solution, with walrus and lambda tricks
YAML. More Types
105
0
0
Clear solution with numpy
Cipher Map
176
0
0
One-line solution, with walrus trick
YAML. Simple Dict
233
0
0
Clear solution with defaultdict, sum and floor div trick
Call to Home
435
0
1
One-line solution (sorted with key)
Absolute Sorting
454
0
1
O'Reilly
One line solution
Index Power
128
17
1
Just using several ways to re-order list
Reverse Every Ascending
323
0
0
Simple EAFP solution
Sort Except Zero
326
0
0
Incinerator
Clean OOP Solution with full inheritance
The Warlords
1
14
21
Final optimized OOP Solution (iteratively improved among all challenges of the saga)
The Warlords
3
8
1
Clear OOP Solution (ready for next challenges of the saga)
The Vampires
4
10
5
Overkill solution with some builtin functions (starmap, zip ...)
Microwave Ovens
7
0
1
Easy and clearly documented solution
Building Base
20
0
0
Full clean OOP Solution, and f-string with thousand separator, and datetime
Every Person is Unique
24
5
0
Clear OOP Solution (ready for next challenges of the saga)
The Defenders
52
3
1
Complete solution without obfuscation and some overkill safe-guards :)
Microwave Ovens
52
1
0
Clear OOP Solution (ready for next challenges of the saga)
The Weapons
54
0
1
Clear OOP Solution (ready for next challenges of the saga)
Straight Fight
65
0
1
Clear OOP Solution (ready for next challenges of the saga)
Army Battles
75
3
1
Full OOP with Friends AND Connection classes, with __hash__, __eq__, and __str__ methods.
Friends
77
3
1
Clear OOP Solution (ready for next challenges of the saga)
The Healers
82
0
1
Clear OOP Solution (ready for next challenges of the saga)
The Lancers
86
0
1
Simple test on new checkio validation tests
The Warlords
99
0
1
Clear OOP Solution (ready for next challenges of the saga)
The Warriors
678
0
9
Simple test on new checkio validation tests
The Warriors
862
0
1
Mine
One line solution
Caesar Cipher (encryptor)
62
6
0
Clear one-line solution
Achilles and the Tortoise
71
4
2
One-line solution (sorted with key)
Best Stock
153
0
0
Ice Base
Clear and quick
Long Repeat
5
8
2
Quick one-line solution
Morse Encoder
7
3
1
Elegant OOP Solution (ready for the 3 Sendgrid Challenges)
City's Happiness
9
6
4
Elegant OOP Solution (ready for the 3 Sendgrid Challenges)
Node Disconnected Users
26
4
1
Elegant OOP Solution (ready for the 3 Sendgrid Challenges)
New Cities
26
3
0
Full OOP Solution
How to Find Friends
829
0
0
Alice In Wonderland
Why do it simple when we can do it more complex?
Easy Unpack
8
7
2
2-lines solution with map and f-string
Date and Time Converter
25
10
2
Very Clear (but not the more efficient)
Long Non Repeat
32
5
1
Clear solution with defaultdict
The Fastest Horse
81
2
0
Simple and quick with regexp
Correct Sentence
169
5
1
4 lines solution using Dictionary Comprehension, and multiple sorted
The Most Wanted Letter
483
3
3
One-line solution (sorted with key)
Bigger Price
586
2
1
One-line solution with datetime (no format)
Days Between
2150
0
1
GitHub
Use 'create interval' solution on all numbers.
Merge Intervals
3
4
1
Clean solution using datetime and timedelta with *args, **kwargs and map tricks
Broken Clock
4
2
7
Solution playing with sets
Power Supply
7
0
0
Simple 2-lines solution with numpy
Area of a Convex Polygon
15
0
0
Nice clear solution
Long Repeat Inside
76
1
1
One line solution with itertools
Expand Intervals
219
0
0
Dropbox
Mostly built-in functions
Text Formatting
8
0
0
Clear one-line solution
Popular Words
30
10
1
One-line solution with regular expression
Popular Words
30
1
0
Clear and documented solution with operator and f-string
Friendly Number
48
7
0
Clear and documented solution.
Numbers Factory
54
8
1
One-line solution with lambda and regex
Three Words
61
2
0
Nice clear solution
The Longest Palindromic
77
5
1
Exponential
The Best Number Ever
112
2
1
Nice solution with walrus and try/except
Simple Hashlib
307
0
0
PyCon TW
Clean and documented solution with numpy
Calculate Islands
22
0
0
Brute-force Solution with combinations
Double Substring
135
0
0
Storage
Quick one-line solution
Skew-symmetric Matrix
27
3
3
HubSpot
Simple solution
Stressful Subject
16
15
4
Regexp is your friend
Between Markers (simplified)
56
0
0
Quick and easy
Even the Last
162
12
2
Simple with regexp
First Word (simplified)
881
0
1
Blizzard
Clean and educational solution
The Angles of a Triangle
1396
0
0
Shelter
Solution with Generator
Completely Empty
27
5
0
Watchtower
Nice and documented solution with numpy
Wall Keeper
2
1
3
3-characters quick and easy solution
Funny Addition
43
4
1
Escher
Quick solution
The Ship Teams
6
3
0
Funny solution with matrix and rotate
The Stone Wall
18
0
0
Clean solution with numpy and linalg.norm
Compass, Map and Spyglass
19
0
0
Amusing way to solve this one
Ground for the House
35
0
0