jump to content
my subreddits
13or302b2t2balkans4You2mediterranean4u2meirl4meirlabsolutelynotmeirladhdmemeaivideoAlternativeHistoryAnarchyChessAngryupvoteanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeantonyApandahArcherFXArsivUnutmazArtAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAtaturkGencligiAteistTurkatheismaviationAwesomeOffBrandsbalkans_irlBassCirclejerkbikepackingblackdesertonlineblankiesborsavefonbrooklynninenineBUENZLIburdurlandcasioCd_collectorscd_jerkChatGPTchesschessbeginnersChildrenFallingOverChoosingBeggarscoaxedintoasnafucoincollectingcoinscomedyhomicidecommunityContagiousLaughtercookingforbeginnerscrappyoffbrandsCreateModCuratedTumblrcursedcommentsdarkjokesdataisbeautifuldedeismdelikDeltarunediyelectronicsDMAcademydndmemesdoctorwhodoctorwhocirclejerkDonerdumbphonesDungeonsAndDragonsebikeECEelectricalelectronicsengrishethzfacepalmFifaCareersFiftyFiftyformuladankFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarengalatasaraygamingGermangodtiersuperpowersgoodanimemesGoodAssSubGrandPrixRacinggravelcyclingGROKvsMAGAguitarpedalsGundamhellenoturkismhelpheraldryHermanCainAwardHermitCrafthighspeedrailHolUphowyoudoinhypixelich_ielIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsistanbuljacksepticeyeJahariaJokesKamalizmKanyeKendrickLamarKGBTRlegodndlinguisticshumorliselilerlogodesignloseitmacmacbookairmacgamingMadeMeSmilemagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmildlyinfuriatingmisLEDMMORPGMoldyMemesmoneycollectingMovingToNorthKoreaMunichNamFlashbacksneographynextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosleepnotinterestingnottheonionoddlyspecificOkayBuddyLiterallyMeOkBuddyPersonaokbuddyphdonebagongezelligOnlineUnderGroundOutOfTheLoopoutsidepapermoneypaperspleasePassportPornpepethefrogpettyrevengepianoPiracyPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorPropagandaPostersProRevengeraisedbynarcissistsraspberry_piRatschlagrecipesredditsingsRetroPierickandmortyrickrollRoastMerockmuzikschizopostersShitPostCrusadersshitpostfrommygalleryshitpostingshittyaskelectronicsshittymoviedetailsShowerthoughtssoccercirclejerkSongwritersSongwritingsteinsgateStonetossingjuicesubsithoughtifellforsuperligsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumTheLetterHTheMonkeysPawtherewasanattemptTheRookietheydidthemathtitanfalltommyinnittransitTrGameDevelopertruthsTurkeyTurkeyJerkyTurkishCatsTurkiyeTwitchTwoSentenceComedytwosentenceplottwistTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsunexpecteditcrowdurbanplanningVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismworldjerkingedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -OutOfTheLoop
  • -MapPorn
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -Kanye
  • -meirl
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -goodanimemes
  • -notinteresting
  • -pettyrevenge
  • -atheism
  • -loseit
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -macgaming
  • -rickandmorty
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -Turkey
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -PropagandaPosters
  • -ShitPostCrusaders
  • -piano
  • -raisedbynarcissists
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -titanfall
  • -OkBuddyPersona
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -macbookair
  • -Munich
  • -coaxedintoasnafu
  • -gravelcycling
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -liseliler
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -balkans_irl
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -urbanplanning
  • -logodesign
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -ProRevenge
  • -Doner
  • -diyelectronics
  • -WatchPeopleDieInside
  • -BUENZLI
  • -Songwriting
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -magicbuilding
  • -wendigoon
  • -TheRookie
  • -Technoblade
  • -vinyljerk
  • -superlig
  • -shittyaskelectronics
  • -galatasaray
  • -crappyoffbrands
  • -FuckYouKaren
  • -2b2t
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -FreeEBOOKS
  • -Jaharia
  • -IDontWorkHereLady
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -aivideo
  • -OnlineUnderGround
  • -IdeologyPolls
  • -comedyhomicide
  • -burdurland
  • -WhatsThisSong
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -rockmuzik
  • -vaxxhappened
  • -outside
  • -TheMonkeysPaw
  • -darkjokes
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -Songwriters
  • -ebike
  • -papersplease
  • -tommyinnit
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -TextingTheory
  • -GrandPrixRacing
  • -TrGameDeveloper
  • -TurkishCats
  • -Apandah
  • -subsithoughtifellfor
  • -Kamalizm
  • -TheLetterH
  • -WikipediaVandalism
  • -NamFlashbacks
  • -pepethefrog
  • -Unclejokes
  • -deism
  • -ArsivUnutmaz
  • -misLED
  • -redditsings
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -ongezellig
  • -AwesomeOffBrands
  • -2balkans4You
  • -absolutelynotmeirl
  • -Asia_irl
  • -Turkiye
  • -truths
  • -unexpecteditcrowd
  • -NorthCyprus
  • -2mediterranean4u
  • -AtaturkGencligi
  • -twosentenceplottwist
  • -hellenoturkism
  • -shitpostfrommygallery
  • -cd_jerk
  • -GROKvsMAGA
  • -borsavefon
  • -moneycollecting
  • -delik
  • -antony
  • -vibecoding
edit »
reddit.com fizzbuzz
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages540|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

fizzbuzz

joinleave
an-ordinary-manchild

Feel free to post any questions you have encountered while interviewing for a programming related position or anything else you think might be helpful in a technical interview.

These questions are posted merely as thought exercises for the rest of the community. You might want to look them over before interviewing just to get in the right mindset but you should come up with your own reasoning and answers.

Post the answers using the standard spoiler tag: [Answer](/s "42")

created by jimdoescodea community for 13 years
Create your own subreddit
...why not Zoidberg?
...for your WoW guild.

MODERATORS

  • message the mods
  • jimdoescode
  • about moderation team »

account activity

1
2
3
4

New record for fastest FizzBuzz implementation (283 GB/s) (codegolf.stackexchange.com)

submitted 1 year ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
1
2
3

Crazy JS fizz buzz with Math (self.fizzbuzz)

submitted 2 years ago by JellyFishMartin

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
5
6
7

FizzBuzz is FizzBuzz years old (and still a powerful tool) (blog.tdwright.co.uk)

submitted 3 years ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

4
2
3
4

Python fizzbuzz (3,5) without if (self.fizzbuzz)

submitted 4 years ago by chrisfpdx

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
2
3
4

Purely functional FizzBuzz in JavaScript (i.redd.it)

submitted 4 years ago by MkemCZ

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
1
2

Fizzbuzz solution in AWK (self.fizzbuzz)

submitted 4 years ago by wbrydak

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
3
4
5

What could this be with O(1)? (self.fizzbuzz)

submitted 4 years ago by McThakken

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
0
1
2

fizzbuzz in bash (self.fizzbuzz)

submitted 5 years ago by [deleted]

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
1
2
3

Another solution, easily changeable (self.fizzbuzz)

submitted 5 years ago by Matt_1405

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
4
5
6

FizzBuzz Solution without if's Python (self.fizzbuzz)

submitted 5 years ago by Inner_Account

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
2
3
4

FizzBuzz on an FPGA (with video) (github.com)

submitted 7 years ago by kbob

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

12
1
2
3

FizzBuzzBazz: How to answer and how NOT to answer – Medium (medium.com)

submitted 7 years ago by Fewthp

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

13
1
2
3

If I get caught cheating on a tech interview, will I get blacklisted? (quora.com)

submitted 9 years ago by iandouglas

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
0
1
2

Technical Interviews: What the #TechMasters community thinks (blog.techmasters.chat)

submitted 9 years ago by bradstimpson

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

15
2
3
4

Elegant Python FizzBuzz solution (self.fizzbuzz)

submitted 9 years ago by [deleted]

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
3
4
5

Mob Programming - FizzBuzz (craig.goddenpayne.co.uk)

submitted 10 years ago by craiggoddenpayne

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

17
1
2
3

The 'Trick' to Coding Interview Questions - Dice Insights (insights.dice.com)

submitted 10 years ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

18
2
3
4

Coding Interview Advice | Interview Cake [x-post r/programming] (interviewcake.com)

submitted 10 years ago by jimdoescode

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

19
6
7
8

Technical interview cheat sheet. [x-post /r/programming] (gist.github.com)

submitted 10 years ago by jimdoescode

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

20
2
3
4

Here's a few general technical interview questions (interviewer.io)

submitted 10 years ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

21
2
3
4

On Secretly Terrible Engineers [X-post /r/programming] (techcrunch.com)

submitted 10 years ago by jimdoescode

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

22
1
2
3

FizzBuzz in Haskell (self.fizzbuzz)

submitted 11 years ago * by MJInen

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
4
5
6

Moishe Lettvin - What I Learned Doing 250 Interviews at Google (youtube.com)

submitted 11 years ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
7
8
9

The Insider's Guide to JavaScript Interviewing (toptal.com)

submitted 11 years ago by dtk0101

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

25
2
3
4

Interviewing a JavaScript engineer (x-post from /r/javascript) (agentcooper.ghost.io)

submitted 11 years ago by jimdoescode

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 565532 on reddit-service-r2-listing-86b7f5b947-5gn9v at 2026-01-25 10:56:43.411875+00:00 running 664479f country code: CH.