@@ -0,0 +1,765 @@
+/**%0A * You are given a string representing an attendance record for a student. The record only contains the following three characters:%0A *%0A *'A' : Absent.%0A *'L' : Late.%0A *'P' : Present.%0A *A student could be rewarded if his attendance record doesn't contain more than one 'A' (absent) or more than two continuous 'L' (late).%0A *%0A *You need to return whether the student could be rewarded according to his attendance record.%0A *%0A *Example 1:%0A *Input: %22PPALLP%22%0A *Output: True%0A *Example 2:%0A *Input: %22PPALLL%22%0A *Output: False%0A */%0Aclass Solution %7B%0A    public boolean checkRecord(String s) %7B%0A        int aCount = 0;%0A        for (char key : s.toCharArray()) %7B%0A            if ('A' == key) aCount++;%0A        %7D%0A        %0A        return !(aCount %3E 1 %7C%7C s.contains(%22LLL%22));%0A    %7D%0A%7D%0A

Create StudentAttendanceRecordI.java