Cross the Threshold
Asked at Snowflake · Coding & Leetcode-style Questions · Difficulty: Medium
There are n particles present in a space and an array, `initialEnergy[n]`. The `finalEnergy[i]` of the ith particle is `max(initialEnergy[i] - barrier, 0)`.
Loading the problem…
More Snowflake interview questions
- Design a Distributed Job Scheduler with Cron, Pause, Resume
- SET Card Game: Validate a Triple and List All Sets on the Table
- Design an ACL Authorization Service
- Design an S3-Style Blob Store with Deduplication
- Boundary of Binary Tree
- SQL: Project Duration & Budget per Employee