EASYasked at 13 companies

Fizz Buzz

A easy-tier problem at 74% community acceptance, tagged with Math, String, Simulation. Reported in interviews at IBM and 12 others.

Founder's read

Fizz Buzz looks trivial until you're live in an assessment and your brain locks. You know the rules: multiples of 3 get 'Fizz', multiples of 5 get 'Buzz', multiples of both get 'FizzBuzz', else the number. It's asked at Amazon, IBM, Mastercard, Cisco, J.P. Morgan, and others. The acceptance rate sits at 74%, which means 26% of candidates either overthink it, miss edge cases, or fold under live pressure. If this problem hits your assessment and you blank on the boundary logic, StealthCoder surfaces a working solution in seconds, invisible to the proctor.

Companies asking
13
Difficulty
EASY
Acceptance
74%

Companies that ask "Fizz Buzz"

If this hits your live OA

Fizz Buzz is the kind of problem that decides whether you pass. StealthCoder reads the problem on screen and surfaces a working solution in under 2 seconds. Invisible to screen share. The proctor sees nothing. Built by an Amazon engineer who used it to pass JPMorgan's OA and system design loop.

Get StealthCoder
What this means

The trap is thinking you need math elegance when the answer is pure conditional sequencing. Most people get the structure right but miss the order of checks: test divisibility by 15 first (both 3 and 5), then 3, then 5, then return the string of the number. The other mistake is iterating wrong or building the result array incorrectly. Simulation problems like this reward mechanical accuracy over insight. The 74% acceptance rate reflects that most candidates who see it can execute it, but live assessment pressure and string concatenation bugs kill a real minority. StealthCoder is your safety net: if you lock on the modulo order or string building, it delivers a tested implementation in real time.

Pattern tags

The honest play

You know the problem. Make sure you actually pass it.

Fizz Buzz recycles across companies for a reason. It's easy-tier, and most candidates blank under the timer. StealthCoder is the hedge: an AI overlay invisible during screen share. It reads the problem and surfaces a working solution in under 2 seconds. Built by an Amazon engineer who used it to pass JPMorgan's OA and system design loop. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Fizz Buzz interview FAQ

Why is Fizz Buzz asked at big companies if it's so easy?+

It's a live coding baseline. Companies like Amazon, J.P. Morgan, and Cisco use it to see if you can write clean, bug-free code under pressure, handle off-by-one errors, and communicate your logic. The 74% pass rate means a quarter of candidates stumble on execution or panic.

What's the one trick people miss on Fizz Buzz?+

Checking divisibility by 15 before 3 and 5 separately. If you check 3 first on a multiple of 15, you output 'Fizz' and skip the 'Buzz'. The order matters. String building errors and index confusion on the output array are the second killer.

Is Fizz Buzz still asked in 2024 at FAANG?+

Yes. It's confirmed at Amazon, Cisco, Cloudflare, Citadel, and J.P. Morgan in recent reports. It's typically a warm-up or a test of baseline coding hygiene, not a filter. If you see it, you're expected to nail it fast.

How does Fizz Buzz relate to the Math and String topics?+

Math covers the modulo operator and divisibility logic. String covers concatenation and the output format. Simulation is the execution flow: you iterate 1 to n, apply rules conditionally, and build the result list. It's a one-liner conceptually, a three-liner to code cleanly.

Should I over-engineer Fizz Buzz with a lookup table or strategy pattern?+

No. Write the straightforward conditional chain. Over-engineering signals you don't know when to stop and wastes time. The assessor wants clean, readable code that works in under two minutes, not a design-pattern portfolio piece.

Want the actual problem statement? View "Fizz Buzz" on LeetCode →

Frequency and company-tag data sourced from public community-maintained interview-report repos. Problem, description, and trademark © LeetCode. StealthCoder is not affiliated with LeetCode.