Question Bank
Filter real, curated interview questions by topic, difficulty, and type. Open any question to practice and rate your confidence.
Filter by company and topic2 active
RecentMost viewed
4 questionsFree0Locked4
- Given exchange rates as a string like "USD:CAD:1.2,CAD:GBP:0.6,USD:AUD:1.4", write a function that converts an amount from a source to a target currency, including multi-step paths (USD to GBP via CAD). Then extend it to return the best achievable rate when several paths exist, and handle rates that form an arbitrage cycle.IntermediateAlgorithms· coding₹499 (Pro plan required)Reported frequent at Stripe
- Implement a retry helper that calls a flaky function (e.g. a payment or API call) and retries on failure using exponential backoff with jitter, a maximum number of attempts, and a maximum delay cap. Only retry on transient/retryable errors.IntermediateAlgorithms· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Stripe
- You are parsing monetary amounts for a payment API. Why should currency amounts generally be stored and computed as integer minor units (e.g., cents) rather than as IEEE-754 doubles?IntermediateAlgorithms· multiple choice₹99 (Interview Prep or Pro plan required)
- A currency-conversion feature needs exchange rates between currencies where only some direct pairs are known. Modeling currencies as nodes and known rates as weighted edges, which approach finds a conversion path and detects an arbitrage (profit) cycle?ExpertAlgorithms· multiple choice₹499 (Pro plan required)