Open in app

Sign in

Write

Sign in

L’(n) = P’(n-1) + P’(n-2) = A(n-1) + A(n-2). Finally A(n) = L’(n-1) + P’(n-1) = A(n-1) + A(n-2) + A(n-3).

Leetcode 552: Student Attendance Record II
6
1

dume0011

Abhishek Singh
Abhishek Singh
Jul 3, 2021

--

How did you came up with this equation?

--

--

Abhishek Singh
Abhishek Singh

Written by Abhishek Singh

1 follower
·9 following

Responses (1)

Help

Status

About

Careers

Press

Blog

Privacy

Rules

Terms

Text to speech