Skip to main content

Practice

Coding interview problems organized by topic. Every problem ships with a problem statement, constraints, worked examples, progressive hints, a solution-approach outline, and complexity analysis — written for candidates who want to pattern-match, not memorize.

By Alex Chen, Founder of InterviewChamp.AI

501 problems · 15 topics · 119 companies · last updated

Today's problem ·

326. Power of Three

easy

Decide whether an integer is a power of three, ideally without a loop. The trick: 3^19 = 1162261467 is the largest power of three that fits in 32 bits — so n is a power of three iff 1162261467 % n == 0.

Solve now
Showing 501 of 501

Curated paths

Opinionated starting points — pick one and don't think about it.

See all paths →

Browse by topic

All 15 topics · sorted by problem count.

Browse by company

Drill what each company actually asks. Sourced from public Glassdoor + Blind + Levels.fyi posts.

See all 119 companies →

Browse by pattern

The mental templates that crack most coding interviews.

See all patterns →

Recently added

Fresh problems verified this week.

Ready to drill these live?

Get the AI copilot in your ear during real interviews. Real-time transcription. Streaming answers. Post-call scorecard.

Download the desktop app →
Practice — Coding Interview Problems by Topic — InterviewChamp.AI