Leetcode 551. Student Attendance Record I--判断是否奖励: A出现次数大于1返回false;L连续出现次数大于2返回false,中间隔断时从0开始计数

You are given a string representing an attendance record for a student. The record only contains the following three characters:java 'A' : Absent. 'L' : Late. 'P' : Present. A student could be rewarde
相关文章
相关标签/搜索