Given an array of integers representing vehicle battery charge states over time, find the longest contiguous period of stable charging within a specific tolerance.
Problem
Given an array of integers representing vehicle battery charge states over time, find the longest contiguous period of stable charging within a specific tolerance.
Your answer
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.