Springworks | On-Campus | Coding Round | 05 Dec, 2025 | Charging Station Levels
Question · Posted Apr 2026
Question: Charging Station Levels Problem Statement: You are setting up a series of charging stations for electric scooters. Each station level i requires exactly i battery packs to be fully operational. If you do not have enough battery packs to complete a station level, that level is considered incomplete. Given an integer n representing the number of battery packs you have, return the number of fully complete charging station levels. Example 1:Input: n = 6 Output: 3 Explanation: Levels 1, ...
The full answer & interview discussion are available to premium members.
Log in Create a free account