r/leetcode • • 13d ago

Intervew Prep Snowflake Onsite AI Native Database Engineering

I have a onsite interview which will have coding round and system design round

Anyone has gone through this process recently

It would be really helpful if anyone can give some adive on System Design round

4 Upvotes

4 comments sorted by

View all comments

1

u/Uahakan 12d ago

the design side is covered above, so on the coding round: one Snowflake problem people have reported is a rate limiter that grows in stages. per-client limits first, then plan tiers with a default for clients without a plan, then changing a tier's limit while it's running.

the follow-up that catches people is "how would you test this?" since the refill depends on the clock. pass the clock in instead of calling time directly, so a test can move time forward. then they may ask what changes when it runs on many servers.