15
pacurar.sebastian90
4 10 27
932/ 1195
Pacurar Sebastian
Last seen 3 years ago
Member for 4 years, 11 months, 17 days
Difficulty Normal
Python and JavaScript enthusiast

Missions (87) / Solutions (59)
Best solutions / Newest solutions
Initiation
overcomplicated solution using itertools.count()... just for fun
Is Even
itertools.count
itertools
zip
bool
count
basic solution
Split Pairs
and
append
range
len
for
one liner
Sum Numbers
isnumeric
sum
if-comprehension
list-comp
split
1
one liner using all() function
All the Same
all
inline-if
True
list-comp
comprehension
using str.replace() for no clear reason...
First Word (simplified)
replace
split
using a dict with 2 keys to track lower and higher values of the given number
Nearest Value
min
set
max
or
inline-if
1
remove symbols using re.compile
Between Markers (simplified)
re.compile
compile
re.sub
sub
r-string
Home
long one liner with explanation
Between Markers
find
inline-if
in
and
split
1
basic solution
Backward Each Word
isalpha
and
range
else
str
1
sort using lambda
Bigger Price
lambda
sorted
True
list-comp
range
casual solving
Popular Words
update
dict
lower
count
split
basic solution - add first, remove first, until initial list is empty
Split List
clear
copy.deepcopy
deepcopy
math.ceil
ceil
using re.findall()
First Word
findall
re.findall
r-string
re
basic solution using datetime module
Days Between
datetime.datetime
datetime
abs
using try except ValueError
Three Words
ValueError
bool
except
try
False
using reduce from functools module
Even the Last
functools.reduce
reduce
functools
lambda
len
Electronic Station
one liner using any() and all()
Acceptable Password V
all
any
isdigit
not
lower
one liner using any() and all()
Acceptable Password III
all
any
isdigit
bool
not
using collections.defaultdict
Surjection Strings
collections.defaultdict
defaultdict
keys
add
collections
one liner using any() and all() functions
Acceptable Password IV
all
any
isdigit
bool
not
1
i overcomplicated it too much
Unix Match. Part 1
ValueError
all
isalpha
index
break
one liner basic solution
Ascending List
typing.Iterable
Iterable
bool
set
typing
one liner using any() function
Acceptable Password II
any
isdigit
bool
inline-if
False
basic solution explained
Acceptable Password VI
all
any
isdigit
set
not
2
basic solution using nested if statements
Boolean Algebra
elif
and
else
if
Scientific Expedition
First
Goes Right After
find
bool
and
str
basic solution using str.split()
YAML. Simple Dict
isnumeric
split
int
len
for
basic solution using for loop
Conversion from CamelCase
f-string
isupper
index
lower
elif
basic solution using set comprehension
Pangram
set-comp
isalpha
bool
lower
if-comprehension
basic solution
The Most Wanted Letter
filter
values
items
isalpha
max
First
Sum by Type
Tuple
typing.Tuple
type
typing
list
basic solution using if elif else conditionals
Follow Instructions
tuple
elif
else
for
if
basic solution using while loop
Conversion into CamelCase
upper
while
elif
else
str
basic solution using string formatting
Time Converter (24h to 12h)
f-string
elif
and
split
else
basic solution
Letter Queue
List
typing.List
typing
join
append
basic solution using replace() and double checking conditional
Striped Words
isalnum
upper
isalpha
not
join
basic solution using for and while loop nested
Bird Language
all
join
while
in
and
First
Common Words
sorted
join
in
append
split
O'Reilly
using flatten() from pandas.core.common
Flatten a List
flatten
pandas.core.common.flatten
pandas
list
1
2
solution using numpy.median
Median
numpy.median
median
typing.Union
Union
numpy
12
1
basic solution
Chunk
math.ceil
ceil
math
typing.Iterable
Iterable
basic solution using recursion
Flatten a List
isinstance
not
list
else
if
basic solution using ternary operator
Majority
bool
count
inline-if
False
True
basic solution using ternary operator
Remove All After
index
typing.Iterable
Iterable
typing
inline-if
basic solution with 2 counter variables
How Deep
tuple
elif
int
str
for
basic solution - comparison between last item and current item
Compress List
append
list
else
for
if
basic solution
Median
typing.Union
Union
float
List
typing.List
First
Xs and Os Referee
List
typing.List
typing
print
elif
Incinerator
basic solution explained
Every Person is Unique
class
typing.Union
Union
math.ceil
ceil
using a BaseClass to avoid redundant code
3 Chefs
abc.abstractmethod
abstractmethod
abc
class
decorator
Mine
one liner - functools.reduce() and math.gcd()
The Greatest Common Divisor
math.gcd
gcd
functools.reduce
reduce
functools
map() is your best friend!
Caesar Cipher (decryptor)
isspace
chr
ord
map
isalpha
map() is your friend, again!
Caesar Cipher (encryptor)
isspace
chr
ord
map
isalpha
one liner using map()
Binary Count
bin
map
sum
list
int
Ice Base
basic solution
Find Quotes
List
typing.List
continue
not
typing
one liner
The Most Numbers
min
max
inline-if
len
Dropbox
basic solution
Worth of Words
max
append
list
for
HubSpot
using recursion and next() with StopIteration exception
Restricted Sum
StopIteration
iter
next
except
try
Blizzard
well documented solution
Stressful Subject
isspace
startswith
endswith
filter
any
1