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
相關文章
相關標籤/搜索