• ###### papalyacommented on "Array.diff" python solution

The complexity in worth case (not any of b_values are in a_array) could be more efficient, but it's an elegant way of writing a solution

• ###### batyankocommented on "Does my number look big in this?" python solution

Python noob here, I gotta say Python one-liners like list comprehension are starting to look pretty understandable (at this level of complexity, at least...)
But cramming logic that repeats on each 'x' doesn't look good for Big O, for sure.

我靠

• ###### cyber-wf13commented on "Array.diff" python solution

This comment is hidden because it contains spoiler information about the solution

• ###### olegleoncommented on "Array.diff" python solution

It's beautiful... I'm always in a hurry and don't think much.

• ###### NaNameUz3rcommented on "Does my number look big in this?" python solution

But seriously, what scares me is the number of cheerful comments.
We are in deep trouble.

• ###### NaNameUz3rcommented on "Does my number look big in this?" python solution

Python goes brrrrrrr codestyle <3

• ###### riser1commented on "Array.diff" python solution

then the if function won't be necessary anyways. solution still works.

• ###### Gbruno27commented on "Convert number to reversed array of digits" python solution

Very good job, we learn a lot in this solutions sections.

• ###### ptd3vcommented on "Array.diff" python solution

Smarty pants :)

• ###### Idiot_with_a_shovelcommented on "Vowel Count" python solution

The sum function adds all of the elements in the list.
The input list is a list of 1's for every letter in the sentece if that letter is a vowel.
Therefore we sum all of those 1's together to get the number of vowels.

For example is inputStr is "abcdeabcde", then the list input into the sum function would be
[1, 1,1, 1]

So by summing it up we get sum([1,1,1,1]) = 1+1+1+1 = 4 vowels.

• ###### ptd3vcommented on "Vowel Count" python solution

def idontunderstand:
return shame

• ###### romankrv85commented on "Does my number look big in this?" python solution

Yep, no need in str(value) and len(str(value)) every iteration. Unnecessary operations.

• ###### BigBoyWeazlecommented on "Array.diff" python solution

So much cleaner code

• ###### Bouhdydcommented on "Classy Extentions" python solution

This comment is hidden because it contains spoiler information about the solution