题目 You are given a string representing an attendance record for a student. The record only contains the following three characters: ‘A’ : Absent. ‘L’ : Late. ‘P’ : Present. A student could be rew
Problem You are given a string s representing an attendance record for a student where each character signifies whether the student was absent, late, or present on that day. The record only contains
算法的重要性,我就不多说了吧,想去大厂,就必须要经过基础知识和业务逻辑面试+算法面试。所以,为了提高大家的算法能力,这个公众号后续每天带大家做一道算法题,题目就从LeetCode上面选 ! 今天和大家聊的问题叫做 学生出勤记录 I,我们先来看题面: https://leetcode-cn.com/problems/student-attendance-record-i/ You are give