DEV Community

Hayden Mankin profile picture

Hayden Mankin

Computer Science | Education | Generative Art

Location Columbus, OH Joined Joined on  github website

Work

Student

All 21 comments

Daily Challenge #271 - Simulate Population Growth

Javascript Using a generator function to calculate the succ...

Assigning [ ] performs better than Array(n) - Reports attached.

I think there may have been a misunderstanding, I don't see w...

Assigning [ ] performs better than Array(n) - Reports attached.

Yes! this was really interesting to explore. I hadn't even co...

Assigning [ ] performs better than Array(n) - Reports attached.

You are correct, I just tested it in firefox and got the same...

Assigning [ ] performs better than Array(n) - Reports attached.

jsperf.com/test-assign-vs-push/23 looks to be the same as wha...

Assigning [ ] performs better than Array(n) - Reports attached.

I'm guessing you ran this test: jsperf.com/test-assign-vs-pus...

Assigning [ ] performs better than Array(n) - Reports attached.

I noticed you updated your example for accuracy. While the st...

Daily Challenge #269 - Decompose n!

Javascript function decomp(n) { let primes = new Array(n ...

Daily Challenge #268 - Swapping Characters in Strings

Javascript 1 liners Recursive const obtain=(s,t,count=0)=&...

Style parent element if child a specific class

As far as I know there is no way to do this with SCSS, as the...

Daily Challenge #267 - Braking Speed

Is there something about this problem I'm missing? This seems...

Coins on a Chessboard

Sorry about the confusion, I was trying to be very thorough i...

Daily Challenge #266 - Who Likes It?

let likes = ([a, b, ...c]) => c.length > 1 ? `${a}, ${b...

Daily Challenge #265 - Equal Sides

Javascript const equalSides = (arr) => { let right = a...

Easy peasy First Odd Int

Correct me if I misunderstood, but the question is to find th...

Daily Challenge #264 - Digital Root

It's important to remember that the % operator happens before...

Daily Challenge #264 - Digital Root

I've always liked this problem because of the n%9 trick, it's...

Daily Challenge #263 - Reverse Words

Javascript let reverseWords = (str) => str.re...

Website feedback

Hello Kenny, this is a really great looking website! Everythi...

Daily Challenge #262 - No One Likes Spare Change

I have to admit I fell for the naive solution until I read da...

Welcome Thread - v76

Hello all! My name is Hayden, I’m an undergraduate student in...

loading...