Apr. 15th, 2020

ironymaiden: (banana)
why do people fail at FizzBuzz?*

do they just not remember what modulo does?

or do they get tripped up trying to make it as elegant as they can on the first pass?

something else?



*a coding exercise developed for interviews: print numbers from 1 - 100. if number is divisible by 3, print fizz instead of the number. if number is divisible by 5, print buzz instead of the number. if number is divisible by 15, print fizzbuzz instead of the number.

Profile

ironymaiden: (Default)
ironymaiden

November 2024

S M T W T F S
     12
3456789
10 111213141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 21st, 2025 10:33 am
Powered by Dreamwidth Studios